:root {
  --bg: #f4f6f4;
  --ink: #19332f;
  --muted: #78847c;
  --green: #143b39;
  --lime: #d7ef8b;
  --line: #e4e9e4;
  --white: #fff;
  --amber: #9f6c25;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -1.6px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
}
p {
  color: var(--muted);
  line-height: 1.6;
}
label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  margin: 16px 0;
}
input,
select,
textarea {
  border: 1px solid #dbe3dd;
  border-radius: 8px;
  background: white;
  padding: 12px;
  color: var(--ink);
  min-width: 0;
  width: 100%;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #5c8d6e;
  box-shadow: 0 0 0 3px #d7ef8b4d;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
.primary,
.secondary {
  padding: 12px 17px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.primary {
  background: var(--green);
  color: #fff;
}
.primary:hover {
  background: #24625b;
}
.secondary {
  background: #edf1ec;
  color: var(--green);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.3px;
  font-weight: 400;
  color: #a5beb3;
  margin-top: 5px;
}
.brand-icon {
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--lime);
  color: #153c34;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.login-art {
  background: var(--green);
  color: white;
  min-height: 100vh;
  padding: 50px 10%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.login-art h1 {
  font-size: 53px;
  line-height: 1.12;
  margin-top: 15vh;
  position: relative;
  z-index: 1;
}
.login-art em {
  font-style: normal;
  color: var(--lime);
}
.login-art p {
  color: #a9c1b6;
  max-width: 290px;
  margin: 24px 0;
  position: relative;
  z-index: 1;
}
.login-art small {
  margin-top: auto;
  font-size: 9px;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}
.art-orbit {
  height: 320px;
  width: 320px;
  border: 1px solid #79a08438;
  border-radius: 50%;
  position: absolute;
  right: -120px;
  bottom: 10%;
  box-shadow:
    0 0 0 60px #79a0840b,
    0 0 0 120px #79a0840a;
  display: grid;
  place-items: center;
}
.art-orbit span {
  font-size: 60px;
  color: #628a7244;
  font-weight: 800;
}
.login-form {
  align-self: center;
  max-width: 380px;
  width: 80%;
  justify-self: center;
}
.login-form h2 {
  font-size: 30px;
  margin-bottom: 12px;
}
.login-form p {
  margin-bottom: 28px;
}
.login-form .primary {
  margin-top: 15px;
  width: 100%;
  justify-content: space-between;
}
.error {
  color: #b84435;
  font-size: 12px;
  margin-top: 12px;
  white-space: pre-line;
}
#workspace {
  min-height: 100vh;
}
#workspace:not([hidden]) {
  display: flex;
}
aside {
  width: 236px;
  background: var(--green);
  color: #b2c7bc;
  position: fixed;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 30px 22px;
  z-index: 5;
}
aside .brand {
  color: white;
  margin-bottom: 50px;
}
.nav-caption {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.9px;
  color: #77998c;
  margin: 0 12px 18px;
}
nav {
  display: grid;
  gap: 8px;
}
nav button {
  display: flex;
  align-items: center;
  text-align: left;
  padding: 13px 14px;
  gap: 14px;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 17px;
}
nav button span {
  font-size: 12px;
}
nav button.selected {
  background: #2c5145;
  color: var(--lime);
}
nav button:hover {
  background: #ffffff0a;
}
nav b {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 4px 0;
}
.sidebar-bottom button {
  background: transparent;
  color: #b2c7bc;
  font-size: 10px;
  margin-left: auto;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
main {
  margin-left: 236px;
  flex: 1;
  min-width: 0;
}
header {
  height: 79px;
  background: #ffffffa8;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.breadcrumb {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: var(--muted);
}
.breadcrumb span {
  margin: 0 14px;
  color: #c6cec5;
}
.breadcrumb b {
  font-weight: 500;
  color: #425449;
  letter-spacing: 0;
}
.header-right {
  display: flex;
  gap: 24px;
  align-items: center;
}
.connection {
  font-size: 10px;
  color: #6d8575;
}
.avatar {
  border-radius: 50%;
  width: 33px;
  height: 33px;
  background: #e5eddb;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.page {
  padding: 36px 40px 50px;
  max-width: 1500px;
  margin: auto;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}
.page-title h1 {
  font-size: 32px;
  margin-bottom: 8px;
}
.page-title select {
  max-width: 220px;
  font-size: 11px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.stat {
  padding: 24px 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat-label {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-value {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 17px 0 8px;
  font-weight: 600;
}
.stat-value small {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: #92a18f;
  margin-left: 4px;
}
.stat-note {
  font-size: 9px;
  color: var(--muted);
}
.stat.featured {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.stat.featured .stat-label,
.stat.featured .stat-note {
  color: #b0c4b3;
}
.stat.featured .stat-value small {
  color: var(--lime);
}
.section-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 22px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 22px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  gap: 12px;
}
.panel-head h2 {
  font-size: 16px;
}
.panel-head p {
  font-size: 10px;
  margin-top: 5px;
}
.panel-head button {
  font-size: 10px;
  background: #edf1ec;
  color: var(--green);
  padding: 9px 13px;
  border-radius: 7px;
}
.empty {
  padding: 45px 25px;
  text-align: center;
}
.empty .empty-symbol {
  width: 48px;
  height: 48px;
  background: #f0f4e9;
  color: #7d9e78;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin: 0 auto 14px;
}
.empty h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}
.empty p {
  font-size: 11px;
  max-width: 300px;
  margin: auto;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  text-align: left;
}
th {
  font-size: 9px;
  letter-spacing: 0.5px;
  color: #93a08f;
  background: #fafbf9;
  font-weight: 500;
  padding: 12px 20px;
  border-top: 1px solid #f0f3ed;
  border-bottom: 1px solid #f0f3ed;
  white-space: nowrap;
}
td {
  padding: 16px 20px;
  border-bottom: 1px solid #eef2ed;
  vertical-align: middle;
}
td strong {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
td small {
  font-size: 9px;
  color: var(--muted);
}
tr:last-child td {
  border: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 30px;
  padding: 5px 9px;
  font-size: 9px;
  white-space: nowrap;
  background: #eef2ed;
  color: #657867;
}
.badge.PAYMENT_REVIEW,
.badge.REVIEW,
.badge.UNKNOWN {
  background: #fff2d8;
  color: #a17b2a;
}
.badge.DELIVERED,
.badge.SUCCESS,
.badge.CONNECTED {
  background: #e9f4de;
  color: #568244;
}
.badge.PAID,
.badge.PARTIAL,
.badge.STARTED {
  background: #e7f0ec;
  color: #3b7864;
}
.small-button {
  padding: 7px 10px;
  background: #f0f3ec;
  color: var(--green);
  font-size: 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sim-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.sim-card .card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.chip {
  width: 28px;
  height: 33px;
  border-radius: 6px;
  border: 1px solid #cbbd8d;
  background: linear-gradient(135deg, #eee3bb, #cfbf82);
  position: relative;
}
.chip:after {
  content: "";
  position: absolute;
  inset: 10px -1px;
  border-top: 1px solid #b5a673;
  border-bottom: 1px solid #b5a673;
}
.sim-card h3 {
  font-size: 15px;
}
.sim-card .phone {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.meter {
  height: 5px;
  border-radius: 3px;
  overflow: hidden;
  background: #edf1e9;
  margin: 15px 0 10px;
}
.meter progress {
  width: 100%;
  height: 8px;
  accent-color: #9abe6f;
  border: 0;
}
.meter progress::-webkit-progress-bar {
  background: #edf1e9;
}
.meter progress::-webkit-progress-value {
  background: #9abe6f;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.card-balance {
  font-size: 25px;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 19px 0 5px;
}
.card-balance small {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.card-actions {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.notice {
  padding: 16px 22px;
  border-top: 1px solid #f0f3ed;
  font-size: 11px;
  line-height: 1.6;
}
.notice small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 5px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 15px;
}
.toolbar p {
  font-size: 12px;
}
.toolbar .primary {
  font-size: 11px;
}
.hint {
  padding: 15px;
  background: #f3f6ed;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.7;
  color: #60735a;
  margin: 15px 0;
}
.pairing {
  font-size: 26px;
  letter-spacing: 5px;
  color: var(--green);
  display: block;
  margin: 15px 0;
}
.inline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.raw {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 11px;
  line-height: 1.7;
  background: #f7f9f5;
  padding: 15px;
  border-radius: 8px;
}
.secret {
  word-break: break-all;
  font-family: ui-monospace, monospace;
  line-height: 1.8;
  font-size: 12px;
  padding: 15px;
  background: #f4f7ed;
  border-radius: 8px;
}
.warning {
  color: #a17b2a;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.detail-row span {
  color: var(--muted);
}
footer {
  padding: 20px 40px;
  color: #82937d;
  font-size: 9px;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
footer span {
  letter-spacing: 0;
}
dialog {
  width: 520px;
  max-width: calc(100% - 28px);
  max-height: 90vh;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 100px #15382933;
  color: var(--ink);
}
dialog::backdrop {
  background: #16352e70;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.dialog-header button {
  font-size: 23px;
  background: transparent;
  color: var(--muted);
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
#toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #143b39;
  color: white;
  padding: 15px 22px;
  border-radius: 10px;
  font-size: 12px;
  z-index: 20;
  box-shadow: 0 6px 30px #143b3933;
}
.activity-list {
  padding: 0 22px;
}
.activity-item {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
}
.activity-item small {
  color: var(--muted);
  font-size: 9px;
}
.form-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .page {
    padding-top: 48px;
  }
}
@media (max-width: 1100px) {
  aside {
    width: 195px;
    padding: 24px 15px;
  }
  main {
    margin-left: 195px;
  }
  .page {
    padding: 28px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 18px 15px;
  }
  .stat-value {
    font-size: 24px;
  }
  .card-list {
    grid-template-columns: repeat(2, 1fr);
  }
  header {
    padding: 0 28px;
  }
  .section-grid {
    grid-template-columns: 1fr;
  }
  .login-art h1 {
    font-size: 43px;
  }
}
@media (max-width: 720px) {
  .header-right {
    gap: 10px;
  }
  .connection {
    display: none;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-art {
    min-height: 280px;
    padding: 28px;
  }
  .login-art h1 {
    font-size: 36px;
    margin-top: 30px;
  }
  .login-art p {
    display: none;
  }
  .login-art small {
    margin-top: 30px;
    font-size: 8px;
  }
  .art-orbit {
    width: 200px;
    height: 200px;
    right: -80px;
    bottom: 20px;
  }
  .login-form {
    padding: 36px 0;
    width: calc(100% - 48px);
  }
  aside {
    width: 100%;
    height: 60px;
    bottom: 0;
    padding: 0;
    flex-direction: row;
    border-top: 1px solid #345449;
    overflow-x: auto;
  }
  aside > .brand,
  .nav-caption,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    width: 100%;
    justify-content: space-around;
    gap: 0;
  }
  nav button {
    flex-direction: column;
    gap: 3px;
    padding: 7px 10px;
    min-width: 64px;
    border-radius: 0;
    font-size: 18px;
  }
  nav button span {
    font-size: 8px;
  }
  nav b {
    display: none;
  }
  main {
    margin: 0;
    padding-bottom: 60px;
  }
  header {
    height: 62px;
    padding: 0 20px;
  }
  .breadcrumb {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .header-right {
    gap: 10px;
  }
  .connection {
    font-size: 8px;
  }
  .page {
    padding: 25px 18px;
  }
  .page-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .page-title h1 {
    font-size: 29px;
  }
  .page-title p {
    font-size: 12px;
  }
  .page-title select {
    max-width: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .stat-value {
    font-size: 25px;
    margin-top: 15px;
  }
  .stat-label {
    font-size: 9px;
  }
  .stat-note {
    font-size: 8px;
  }
  .card-list {
    grid-template-columns: 1fr;
  }
  .panel-head {
    padding: 18px;
  }
  .panel-head h2 {
    font-size: 15px;
  }
  td {
    padding: 13px 15px;
  }
  th {
    padding: 11px 15px;
  }
  .toolbar {
    align-items: flex-start;
  }
  .toolbar p {
    font-size: 11px;
    max-width: 65%;
  }
  .toolbar .primary {
    font-size: 10px;
    padding: 10px;
  }
  footer {
    padding: 20px;
    font-size: 8px;
  }
  .inline-grid {
    grid-template-columns: 1fr;
  }
}
