/* src/styles.css */
:root {
  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  color: #162033;
  background: #f5f7fa;
  font-synthesis: none;
  --blue:#2563eb;
  --border:#e8ebf0;
  --muted:#7b8496;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
.app {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  width: 244px;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 25px 15px 18px;
  display: flex;
  flex-direction: column;
}
.side-head {
  padding: 0 10px 25px;
}
.logo {
  display: flex;
  align-items: center;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.6px;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background:
    linear-gradient(
      145deg,
      #2563eb,
      #1648b9);
  color: white;
  display: grid;
  place-items: center;
  margin-right: 10px;
  box-shadow: 0 6px 16px #2563eb30;
}
.logo b {
  font-size: 9px;
  letter-spacing: .8px;
  color: #2563eb;
  background: #eaf1ff;
  padding: 3px 5px;
  border-radius: 4px;
  margin-left: 6px;
}
.mobile-close {
  display: none;
}
.nav-group {
  margin-bottom: 20px;
}
.nav-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.25px;
  color: #a3aab7;
  font-weight: 700;
  padding: 0 13px 8px;
}
.nav-group button {
  border: 0;
  background: transparent;
  width: 100%;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5e6778;
  padding: 0 12px;
  margin: 2px 0;
  font-size: 13px;
  font-weight: 500;
}
.nav-group button:hover {
  background: #f7f8fa;
  color: #172033;
}
.nav-group button.active {
  background: #edf3ff;
  color: #1f5dd8;
  font-weight: 600;
}
.nav-group button em {
  font-style: normal;
  margin-left: auto;
  background: #fee9e9;
  color: #e5484d;
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 10px;
}
.storage {
  margin-top: auto;
  padding: 14px 12px;
  background: #f8fafc;
  border: 1px solid #eef0f4;
  border-radius: 10px;
}
.storage > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.storage b {
  color: #475569;
}
.storage-track {
  height: 5px;
  background: #e4e9f0;
  border-radius: 9px;
  margin: 10px 0 7px;
  overflow: hidden;
}
.storage-track i {
  display: block;
  width: 68%;
  height: 100%;
  background: #2563eb;
}
.storage small {
  font-size: 10px;
  color: #929aab;
}
.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  padding: 17px 4px 0;
}
.avatar,
.header-avatar {
  border-radius: 9px;
  background: #172033;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.avatar {
  width: 34px;
  height: 34px;
  font-size: 11px;
}
.profile > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.profile strong {
  font-size: 11px;
}
.profile span {
  font-size: 10px;
  color: #949bab;
  margin-top: 2px;
}
main {
  margin-left: 244px;
  min-height: 100vh;
}
header {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.menu-btn {
  display: none;
}
.company-switch {
  position: relative;
}
.company-switch > button {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
}
.company-switch span,
.company-menu span {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}
.company-switch div:not(.company-menu) {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 110px;
}
.company-switch small {
  font-size: 9px;
  color: #9aa2b1;
}
.company-switch strong {
  font-size: 12px;
  margin-top: 1px;
}
.company-menu {
  position: absolute;
  top: 48px;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 210px;
  padding: 6px;
  box-shadow: 0 14px 40px #18233b20;
}
.company-menu button {
  border: 0;
  background: transparent;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px;
}
.company-menu button:hover {
  background: #f6f8fb;
}
.company-menu strong {
  font-size: 11px;
  flex: 1;
  text-align: left;
}
.top-search {
  margin-left: 40px;
  width: min(390px, 35vw);
  height: 38px;
  border: 1px solid #e4e7ec;
  border-radius: 9px;
  background: #f8f9fb;
  display: flex;
  align-items: center;
  padding: 0 11px;
  color: #9aa1af;
}
.top-search input {
  border: 0;
  outline: 0;
  background: transparent;
  flex: 1;
  font-size: 11px;
  margin: 0 8px;
}
.top-search kbd {
  font-size: 9px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 4px;
  padding: 2px 5px;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-actions button {
  border: 0;
  background: transparent;
}
.calendar {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #687185;
  font-size: 11px;
}
.notify {
  position: relative;
  color: #566073;
}
.notify i {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ef4444;
  border: 2px solid #fff;
  border-radius: 50%;
  right: 4px;
  top: 2px;
}
.header-avatar {
  width: 34px;
  height: 34px;
  font-size: 10px;
}
.content {
  padding: 28px 30px 40px;
  max-width: 1700px;
  margin: auto;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}
.page-head p {
  margin: 0 0 4px;
  color: #6f7a8e;
  font-size: 12px;
}
.page-head h1 {
  font-size: 24px;
  letter-spacing: -.65px;
  margin: 0 0 6px;
}
.page-head > div > span {
  font-size: 11px;
  color: #8c95a5;
}
.head-actions {
  display: flex;
  gap: 9px;
}
.primary,
.secondary {
  height: 38px;
  border-radius: 8px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
}
.primary {
  border: 1px solid #2058cc;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 4px 10px #2563eb28;
}
.secondary {
  border: 1px solid #dfe3e9;
  background: #fff;
  color: #374151;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.metric-card,
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 2px #15233b05;
}
.metric-card {
  padding: 17px 18px;
  animation: appear .4s ease both;
}
.metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #727c8e;
  font-size: 11px;
}
.metric-top button,
.icon-btn {
  border: 0;
  background: transparent;
  color: #969ead;
}
.metric-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 12px 0 8px;
}
.metric-main > strong {
  font-size: 21px;
  letter-spacing: -.5px;
}
.spark {
  height: 34px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.spark i {
  width: 4px;
  background: #bcd1ff;
  border-radius: 3px;
}
.spark.green i {
  background: #a7e6cc;
}
.spark.purple i {
  background: #d3c4fa;
}
.spark.amber i {
  background: #f8d995;
}
.trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #14a06f;
  font-weight: 600;
}
.trend.down {
  color: #d97706;
}
.trend span {
  color: #9aa2b1;
  font-weight: 400;
  margin-left: 2px;
}
.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 14px;
}
.left-stack,
.right-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.visual-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 14px;
}
.card {
  padding: 18px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.card-head h2 {
  margin: 0;
  font-size: 13px;
}
.card-head p {
  margin: 4px 0 0;
  font-size: 10px;
  color: #939bab;
}
.text-btn {
  border: 0;
  background: transparent;
  color: #2563eb;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.select-btn {
  border: 1px solid #e4e7ec;
  background: white;
  border-radius: 7px;
  padding: 6px 9px;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 9px;
  color: #5e6778;
}
.pipeline-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 19px 0 14px;
  padding: 12px 13px;
  background: #f8fafc;
  border-radius: 9px;
}
.pipeline-total > div {
  display: flex;
  flex-direction: column;
}
.pipeline-total strong {
  font-size: 17px;
}
.pipeline-total span {
  font-size: 9px;
  color: #949cab;
  margin-top: 2px;
}
.win-rate {
  text-align: right;
}
.win-rate b {
  font-size: 13px;
  color: #10a36f;
}
.funnel-row {
  display: grid;
  grid-template-columns: 84px 1fr 67px;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}
.funnel-name {
  display: flex;
  align-items: center;
  font-size: 9px;
  color: #596274;
}
.funnel-name i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  margin-right: 6px;
}
.funnel-name em {
  font-style: normal;
  color: #a0a7b3;
  margin-left: auto;
}
.funnel-bar {
  height: 7px;
  background: #f0f2f5;
  border-radius: 10px;
  overflow: hidden;
}
.funnel-bar i {
  display: block;
  height: 100%;
  border-radius: 10px;
}
.funnel-row > b {
  text-align: right;
  font-size: 9px;
}
.chart-legend {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin: 18px 4px 0;
  font-size: 9px;
  color: #7f8898;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.chart-legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}
.chart-legend .actual {
  background: #2563eb;
}
.chart-legend .target {
  background: #e5e9f0;
}
.chart {
  height: 176px;
  margin: 4px -5px -7px -16px;
}
.table-card {
  padding: 0;
}
.table-card > .card-head {
  padding: 18px 18px 14px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
th {
  text-align: left;
  background: #fafbfc;
  color: #8e96a5;
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: .5px;
  padding: 10px 12px;
  border-top: 1px solid #eef0f3;
  border-bottom: 1px solid #eef0f3;
}
td {
  padding: 11px 12px;
  border-bottom: 1px solid #f0f1f4;
  font-size: 9px;
  color: #596274;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fbfcfe;
}
.company-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}
.company-logo {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
}
.company-cell > div:last-child {
  display: flex;
  flex-direction: column;
}
.company-cell strong {
  font-size: 10px;
  color: #273143;
}
.company-cell span {
  font-size: 8px;
  color: #949baa;
  margin-top: 3px;
}
.status {
  padding: 4px 7px;
  border-radius: 9px;
  background: #eef2ff;
  color: #5865ce;
  font-weight: 600;
  font-size: 8px;
  white-space: nowrap;
}
.status.negotiation {
  background: #f3eefe;
  color: #8255c6;
}
.status.qualified {
  background: #e9f7f1;
  color: #188760;
}
.status.proposal-sent {
  background: #fff3df;
  color: #bc7513;
}
.prob {
  display: flex;
  align-items: center;
  gap: 6px;
}
.prob > div {
  width: 43px;
  height: 4px;
  background: #edf0f3;
  border-radius: 8px;
}
.prob i {
  display: block;
  height: 100%;
  background: #2563eb;
  border-radius: 8px;
}
.prob span {
  font-size: 8px;
}
.empty {
  text-align: center;
  padding: 35px;
  color: #929aaa;
  font-size: 11px;
}
.tasks-card {
  padding-bottom: 0;
}
.task-list {
  margin: 12px -7px 0;
}
.task {
  width: 100%;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 17px 1fr auto;
  gap: 8px;
  text-align: left;
  padding: 10px 7px;
  border-radius: 8px;
}
.task:hover {
  background: #f8fafc;
}
.check {
  width: 15px;
  height: 15px;
  border: 1px solid #cfd5dd;
  border-radius: 5px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  color: white;
}
.task.done .check {
  background: #2563eb;
  border-color: #2563eb;
}
.task > div {
  display: flex;
  flex-direction: column;
}
.task strong {
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
}
.task small {
  font-size: 8px;
  color: #959dac;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.task em {
  font-size: 7px;
  font-style: normal;
  padding: 3px 5px;
  border-radius: 6px;
  background: #fff0f0;
  color: #e24b50;
}
.task em.medium {
  background: #fff6e5;
  color: #cb861b;
}
.task em.low {
  background: #edf8f3;
  color: #2b8d6b;
}
.task.done strong {
  text-decoration: line-through;
  color: #9da4b0;
}
.full-text {
  border: 0;
  border-top: 1px solid #edf0f3;
  background: transparent;
  color: #2563eb;
  width: 100%;
  font-size: 9px;
  padding: 12px;
}
.activity-card {
  flex: 1;
}
.activity-list {
  margin-top: 16px;
}
.activity-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  min-height: 67px;
}
.activity-line {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.activity-line i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #f1f4f8;
}
.activity-line span {
  width: 1px;
  flex: 1;
  background: #e5e8ed;
  margin: 5px 0;
}
.activity-item strong {
  display: block;
  font-size: 9px;
}
.activity-item p {
  font-size: 8px;
  color: #737d8f;
  margin: 4px 0;
}
.activity-item small {
  font-size: 8px;
  color: #a1a7b2;
  display: flex;
  align-items: center;
  gap: 3px;
}
.overlay {
  display: none;
}
.modal-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  background: #121b2d80;
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal {
  width: min(540px, 100%);
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 24px 70px #0b122540;
  animation: modal .2s ease;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.modal-head h2 {
  margin: 0;
  font-size: 17px;
}
.modal-head p {
  margin: 4px 0 0;
  color: #8a93a3;
  font-size: 10px;
}
.modal-head button {
  border: 0;
  background: transparent;
  color: #778092;
}
.form-grid {
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #4f596b;
  font-size: 10px;
  font-weight: 600;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.form-grid input,
.form-grid select {
  height: 39px;
  border: 1px solid #dfe3e9;
  border-radius: 8px;
  padding: 0 11px;
  outline: 0;
  color: #344054;
  background: #fff;
  font-size: 11px;
}
.form-grid input:focus,
.form-grid select:focus {
  border-color: #6d98ef;
  box-shadow: 0 0 0 3px #2563eb14;
}
.modal-actions {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.modal-actions .cancel {
  height: 38px;
  border: 1px solid #dfe3e9;
  background: white;
  border-radius: 8px;
  padding: 0 15px;
  font-size: 11px;
}
.modal-actions .primary {
  border: 0;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
@keyframes modal {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }
}
@media (max-width: 1180px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  .right-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 820px) {
  .sidebar {
    transform: translateX(-100%);
    transition: .2s;
  }
  .sidebar.open {
    transform: none;
    box-shadow: 10px 0 40px #16203325;
  }
  .mobile-close {
    display: block;
    position: absolute;
    right: 14px;
    top: 24px;
    border: 0;
    background: transparent;
  }
  .overlay {
    display: block;
    position: fixed;
    z-index: 15;
    inset: 0;
    background: #14203a66;
  }
  main {
    margin-left: 0;
  }
  .menu-btn {
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    margin-right: 7px;
  }
  .top-search {
    margin-left: 15px;
  }
  .calendar {
    display: none;
  }
  .visual-grid {
    grid-template-columns: 1fr;
  }
  .page-head {
    align-items: flex-start;
  }
  .page-head > div > span {
    display: none;
  }
}
@media (max-width: 600px) {
  header {
    padding: 0 14px;
  }
  .company-switch div:not(.company-menu),
  .top-search kbd {
    display: none;
  }
  .company-switch > button > span {
    width: 30px;
  }
  .top-search {
    flex: 1;
    width: auto;
  }
  .content {
    padding: 20px 14px;
  }
  .page-head {
    display: block;
  }
  .page-head h1 {
    font-size: 20px;
  }
  .head-actions {
    margin-top: 16px;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .main-grid {
    display: block;
  }
  .right-stack {
    display: block;
  }
  .right-stack .card {
    margin-top: 14px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
  .modal {
    max-height: 90vh;
    overflow: auto;
  }
}
.sidebar nav {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  margin-right: -6px;
  padding-right: 6px;
}
.nav-group {
  margin-bottom: 16px;
}
.nav-group button {
  height: 38px;
  margin: 1px 0;
  font-size: 12px;
}
.storage {
  margin-top: 10px;
  flex: none;
}
.module-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
}
.module-head p {
  margin: 0 0 5px;
  color: #2563eb;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .9px;
}
.module-head h1 {
  font-size: 24px;
  letter-spacing: -.6px;
  margin: 0 0 6px;
}
.module-head span {
  font-size: 11px;
  color: #8992a2;
}
.module-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.module-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 17px 18px;
  display: flex;
  flex-direction: column;
}
.module-stat > span {
  color: #737d8e;
  font-size: 10px;
}
.module-stat strong {
  font-size: 20px;
  letter-spacing: -.4px;
  margin: 9px 0 4px;
}
.module-stat small {
  font-size: 9px;
  color: #929aaa;
}
.module-card {
  padding: 0;
  overflow: hidden;
}
.module-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  min-height: 55px;
}
.tabs {
  display: flex;
  align-self: stretch;
  gap: 22px;
  overflow-x: auto;
}
.tabs button {
  border: 0;
  background: transparent;
  color: #737c8c;
  font-size: 10px;
  white-space: nowrap;
  padding: 2px 0 0;
  position: relative;
}
.tabs button.active {
  color: #2563eb;
  font-weight: 600;
}
.tabs button.active:after {
  content: "";
  position: absolute;
  height: 2px;
  background: #2563eb;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 2px;
}
.toolbar-actions {
  display: flex;
  gap: 7px;
}
.toolbar-actions button {
  border: 1px solid #e1e5ea;
  background: #fff;
  color: #687284;
  border-radius: 7px;
  height: 30px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
}
.module-table {
  min-width: 850px;
}
.module-table td {
  height: 58px;
  font-size: 10px;
}
.record-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.record-title > span {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: #edf3ff;
  color: #2563eb;
  display: grid;
  place-items: center;
  font-size: 8px;
  font-weight: 700;
}
.record-title strong {
  font-size: 10px;
  color: #253044;
  white-space: nowrap;
}
.record-status {
  display: inline-block;
  border-radius: 12px;
  padding: 4px 8px;
  background: #edf8f3;
  color: #19845f;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}
.record-status.pending,
.record-status.awaiting-approval,
.record-status.documents-pending,
.record-status.partially-paid,
.record-status.renewal-due {
  background: #fff5e3;
  color: #bb7516;
}
.record-status.escalated,
.record-status.critical,
.record-status.at-risk,
.record-status.blocked {
  background: #ffeded;
  color: #d94850;
}
.record-status.configure,
.record-status.ready-to-connect,
.record-status.planned,
.record-status.draft {
  background: #eef2f8;
  color: #657185;
}
.record-status.in-progress,
.record-status.technical-evaluation,
.record-status.sent,
.record-status.issued,
.record-status.available {
  background: #edf3ff;
  color: #3265c5;
}
.row-menu {
  border: 0;
  background: transparent;
  color: #8e96a3;
}
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-top: 1px solid var(--border);
  color: #8d95a3;
  font-size: 9px;
}
.table-footer > div {
  display: flex;
  gap: 4px;
}
.table-footer button {
  height: 27px;
  border: 1px solid #e1e4e9;
  background: #fff;
  border-radius: 6px;
  padding: 0 9px;
  color: #6c7584;
  font-size: 8px;
}
.table-footer button.current {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.table-footer button:disabled {
  opacity: .45;
}
.toast {
  position: fixed;
  z-index: 80;
  top: 84px;
  right: 22px;
  background: #163d31;
  color: #fff;
  box-shadow: 0 10px 30px #0f2e2530;
  border-radius: 9px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  animation: appear .2s ease;
}
@media (max-width: 1000px) {
  .module-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .module-head {
    align-items: flex-start;
  }
  .module-head > div {
    max-width: 65%;
  }
  .module-toolbar {
    display: block;
    padding: 0 14px;
  }
  .tabs {
    height: 50px;
  }
  .toolbar-actions {
    padding: 10px 0;
    border-top: 1px solid var(--border);
  }
  .module-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .module-stat {
    padding: 14px;
  }
  .module-stat strong {
    font-size: 17px;
  }
  .module-head h1 {
    font-size: 20px;
  }
  .module-head span {
    display: none;
  }
}
.db-status {
  height: 28px;
  border-radius: 14px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 9px;
  font-weight: 600;
}
.db-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
}
.db-status.online {
  background: #eaf8f1;
  color: #167854;
}
.db-status.online i {
  background: #18a874;
  box-shadow: 0 0 0 3px #18a87418;
}
.db-status.offline {
  background: #fff0f0;
  color: #c53f48;
}
.db-status.offline i {
  background: #e5484d;
}
@media (max-width: 900px) {
  .db-status span {
    display: none;
  }
  .db-status {
    padding: 0 10px;
  }
}
.form-error,
.data-warning {
  margin: 14px 24px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff0f0;
  color: #b4232b;
  font-size: 10px;
}
.data-warning {
  margin: 0 0 14px;
  background: #fff8e7;
  color: #986512;
  border: 1px solid #f6dfad;
}
.primary:disabled {
  opacity: .6;
  cursor: wait;
}
