.header {
  width: min(84%, 1280px);
  margin-left: 15%;
  padding: 110px 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  background: transparent;
  position: relative;
  left: 5%;
}

.title h1 {
  margin-bottom: 8px;
}

.elm {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  position: relative;
  left: 5%;
}

.buttoni1 button,
.upload button,
.clock button,
.top-buttons .btn {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white-text);
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.buttoni1 button:hover,
.upload button:hover,
.clock button:hover,
.top-buttons .btn:hover {
  background: rgba(63, 160, 250, 0.14);
  border-color: rgba(63, 160, 250, 0.3);
}

.boxat {
  width: min(84%, 1280px);
  margin-left: 15%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 24px 24px;
  position: relative;
  left: 5%;
}

.boxi1,
.boxi2,
.boxi3,
.container {
  background: linear-gradient(180deg, rgba(11, 18, 28, 0.98), rgba(6, 9, 15, 0.98));
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
  width: 85%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
  left: 5%;
}

.boxi1,
.boxi2,
.boxi3 {
  padding: 22px;
  min-height: 170px;
}

.boxat .title h1 {
  font-size: 16px;
  color: var(--muted-text);
  margin-bottom: 20px;
}

.row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
}

.number h1 {
  font-size: 42px;
}

.text h5 {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-text);
  padding: 0;
}

.text span {
  color: inherit;
}

.container {
  width: min(84%, 1280px);
  margin-left: 15%;
  padding: 24px;
}

.headeri {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
}

.headeri p,
.footer {
  color: var(--muted-text);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  overflow: hidden;
}

th,
td {
  padding: 16px 14px;
  text-align: left;
}

th {
  color: var(--muted-text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.type,
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.system {
  background: rgba(63, 160, 250, 0.14);
  color: #8ccfff;
}

.custom {
  background: rgba(155, 99, 255, 0.14);
  color: #ccb9ff;
}

.active {
  background: rgba(34, 197, 94, 0.16);
  color: #98f0ba;
}

.inactive {
  background: rgba(244, 63, 94, 0.16);
  color: #ff9faf;
}

.actions {
  white-space: nowrap;
}

.actions button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  cursor: pointer;
  margin-right: 8px;
}

.actions button:hover {
  color: var(--white-text);
  border-color: rgba(63, 160, 250, 0.28);
  background: rgba(63, 160, 250, 0.12);
}

.footer {
  margin-top: 18px;
}

.hamburger {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .header,
  .boxat,
  .container {
    width: calc(100% - 32px);
    margin-left: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .boxat {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header {
    padding-top: 92px;
  }

  .hamburger {
    display: block;
  }

  .elm {
    position: absolute;
    top: 84px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    width: min(280px, calc(100vw - 32px));
    padding: 16px;
    border-radius: 20px;
    background: rgba(6, 9, 15, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    z-index: 1000;
  }

  .elm.active {
    display: flex;
  }

  .headeri {
    flex-direction: column;
    align-items: flex-start;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  tbody tr {
    padding: 18px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
  }

  td {
    padding: 10px 0;
  }

  td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--muted-text);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
}
