@charset "UTF-8";

/* src/styles.scss */
:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --navy-light: #1a3259;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-pale: #f5e9c9;
  --teal: #1eb8a4;
  --teal-light: #4dd9c7;
  --red: #e63946;
  --green: #2ecc71;
  --orange: #f39c12;
  --purple: #8e44ad;
  --white: #f8f9fa;
  --gray-light: #e9ecef;
  --gray: #adb5bd;
  --text: #2c3e50;
  --sidebar-w: 260px;
  --topbar-h: 64px;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Cairo",
    "Tajawal",
    -apple-system,
    sans-serif;
  background: #f0f4f8;
  color: var(--text);
  direction: rtl;
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
}
input,
select,
textarea {
  font-family: inherit;
  direction: rtl;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.mobile-sidebar-backdrop {
  display: none;
}
.main {
  margin-right: var(--sidebar-w);
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background:
    linear-gradient(
      90deg,
      var(--gold),
      var(--teal),
      var(--gold));
  background-size: 200% 100%;
  z-index: 9999;
  animation: loading-slide 1.2s linear infinite;
}
@keyframes loading-slide {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.d-none {
  display: none !important;
}
.sidebar {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background:
    linear-gradient(
      180deg,
      var(--navy) 0%,
      var(--navy-mid) 100%);
  display: flex;
  flex-direction: column;
  z-index: 100;
  box-shadow: -2px 0 24px rgba(0, 0, 0, 0.35);
}
.sb-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sb-brand::after {
  content: "";
  position: absolute;
  bottom: -1px;
  inset-inline-start: 20px;
  inset-inline-end: 20px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent);
  opacity: 0.4;
}
.sb-brand-icon {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background:
    linear-gradient(
      135deg,
      var(--gold) 0%,
      var(--gold-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.sb-brand-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 8px;
}
.sb-brand-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sb-school-name {
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sb-system-label {
  font-size: 10.5px;
  color: var(--gold);
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0.3px;
}
.sb-nav {
  position: relative;
  flex: 1;
  overflow-y: auto;
  padding: 10px 0 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}
.sb-nav::-webkit-scrollbar {
  width: 3px;
}
.sb-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.sb-section {
  margin-bottom: 2px;
}
.sb-section + .sb-section {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.sb-section-label {
  padding: 10px 18px 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  -webkit-user-select: none;
  user-select: none;
}
.sb-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 2px 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease;
  cursor: pointer;
}
.sb-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
}
.sb-item:hover .sb-item-icon {
  transform: scale(1.08);
}
.sb-item.sb-item--active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
}
.sb-item.sb-item--active::before {
  content: "";
  position: absolute;
  inset-block: 8px;
  inset-inline-start: -10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--gold);
}
.sb-item.sb-item--active .sb-item-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
}
.sb-item-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  transition: background 0.18s ease, transform 0.15s ease;
}
.sb-item-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}
.sb-item-badge {
  margin-inline-start: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background:
    linear-gradient(
      135deg,
      var(--gold),
      var(--gold-light));
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.sb-footer {
  position: relative;
  padding: 10px 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.sb-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline-start: 20px;
  inset-inline-end: 20px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.08),
      transparent);
}
.sb-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.18s ease;
}
.sb-user:hover {
  background: rgba(255, 255, 255, 0.08);
}
.sb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--teal),
      var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.sb-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.sb-user-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.sb-user-name {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.sb-user-role {
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 500;
  margin-top: 2px;
}
.sb-user-gear {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.3);
  background: transparent;
  transition: color 0.18s ease, background 0.18s ease;
  text-decoration: none;
}
.sb-user-gear:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}
.topbar {
  background: white;
  padding: 0 28px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-start {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-light);
  background: white;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.page-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  min-width: 0;
}
.page-title span {
  color: var(--gray);
  font-size: 13px;
  font-weight: 400;
  margin-right: 8px;
}
.topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.content {
  padding: 28px;
  flex: 1;
}
.btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover:not(:disabled) {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.4);
}
.btn-teal {
  background: var(--teal);
  color: white;
}
.btn-teal:hover:not(:disabled) {
  background: var(--teal-light);
}
.btn-danger {
  background: var(--red);
  color: white;
}
.btn-danger:hover:not(:disabled) {
  filter: brightness(1.1);
}
.btn-warning {
  background: #f5b940;
  color: var(--navy);
}
.btn-warning:hover:not(:disabled) {
  background: #ffd27a;
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-light);
}
.btn-outline:hover:not(:disabled) {
  border-color: var(--navy);
  background: var(--gray-light);
}
.btn-sm {
  padding: 5px 12px;
  font-size: 12px;
}
.btn-lg {
  padding: 12px 28px;
  font-size: 15px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.kpi-card {
  background: white;
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition);
}
.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.kpi-card.blue {
  border-color: #3498db;
}
.kpi-card.blue .kpi-icon {
  background: #ebf5fb;
}
.kpi-card.green {
  border-color: var(--green);
}
.kpi-card.green .kpi-icon {
  background: #eafaf1;
}
.kpi-card.gold {
  border-color: var(--gold);
}
.kpi-card.gold .kpi-icon {
  background: #fef9ee;
}
.kpi-card.teal {
  border-color: var(--teal);
}
.kpi-card.teal .kpi-icon {
  background: #e8faf8;
}
.kpi-card.red {
  border-color: var(--red);
}
.kpi-card.red .kpi-icon {
  background: #fdedee;
}
.kpi-card.purple {
  border-color: var(--purple);
}
.kpi-card.purple .kpi-icon {
  background: #f5eef8;
}
.kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.kpi-trend {
  font-size: 11px;
  font-weight: 700;
}
.kpi-trend.up {
  color: var(--green);
}
.kpi-trend.down {
  color: var(--red);
}
.kpi-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.kpi-label {
  font-size: 13px;
  color: var(--gray);
  margin-top: 4px;
}
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.chart-card {
  background: white;
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.chart-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
}
.bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 4px;
}
.bar-fill {
  width: 100%;
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
  min-height: 4px;
}
.bar-label {
  font-size: 10px;
  color: var(--gray);
  white-space: nowrap;
}
.bar-val {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
}
.funnel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.funnel-step {
  display: flex;
  align-items: center;
  gap: 10px;
}
.funnel-bar-wrap {
  flex: 1;
  background: var(--gray-light);
  border-radius: 6px;
  height: 28px;
  overflow: hidden;
}
.funnel-bar {
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  transition: width 0.5s ease;
}
.funnel-bar span {
  font-size: 12px;
  font-weight: 700;
  color: white;
}
.funnel-label {
  width: 110px;
  font-size: 12px;
  color: var(--text);
}
.funnel-count {
  width: 40px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}
.section-card {
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 18px;
}
.section-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-light);
}
.section-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  text-align: right;
  padding: 12px 18px;
  border-bottom: 1px solid var(--gray-light);
  white-space: nowrap;
}
td {
  padding: 13px 18px;
  font-size: 13.5px;
  border-bottom: 1px solid #f1f3f6;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: none;
}
tr:hover td {
  background: #fafbfc;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cfd8e3 transparent;
}
.table-responsive::-webkit-scrollbar {
  height: 8px;
}
.table-responsive::-webkit-scrollbar-thumb {
  background: #cfd8e3;
  border-radius: 999px;
}
.table-responsive > table {
  min-width: 100%;
}
@media (max-width: 1200px) {
  .section-card,
  .tab-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .section-card table,
  .tab-content table {
    min-width: 960px;
  }
  .table-responsive > table {
    min-width: 960px;
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.badge-submitted {
  background: #ebf5fb;
  color: #2980b9;
}
.badge-submitted::before {
  background: #2980b9;
}
.badge-review {
  background: #fff3cd;
  color: #f39c12;
}
.badge-review::before {
  background: #f39c12;
}
.badge-accepted {
  background: #eafaf1;
  color: #27ae60;
}
.badge-accepted::before {
  background: #27ae60;
}
.badge-rejected {
  background: #fdedee;
  color: #e74c3c;
}
.badge-rejected::before {
  background: #e74c3c;
}
.badge-pending {
  background: #f5eef8;
  color: #8e44ad;
}
.badge-pending::before {
  background: #8e44ad;
}
.badge-waitlist {
  background: #fdebd0;
  color: #e67e22;
}
.badge-waitlist::before {
  background: #e67e22;
}
.badge-enrolled {
  background: #d5f5e3;
  color: #1e8449;
}
.badge-enrolled::before {
  background: #1e8449;
}
.badge-incomplete {
  background: #fce4ec;
  color: #c0392b;
}
.badge-incomplete::before {
  background: #c0392b;
}
.badge-teal {
  background: #e8faf8;
  color: #16a085;
}
.badge-teal::before {
  background: #16a085;
}
.badge-draft {
  background: #f2f3f4;
  color: #7f8c8d;
}
.badge-draft::before {
  background: #7f8c8d;
}
.badge-new {
  background: #0f5f8f;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.badge-new::before {
  display: none;
}
.status-transition-panel {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}
.stp-title {
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.stp-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.stp-hint {
  font-size: 12px;
  color: #b07000;
  background: #fff8ec;
  border: 1px solid #f0c060;
  border-radius: 6px;
  padding: 4px 10px;
  width: 100%;
}
.status-transition-panel--detail {
  background:
    linear-gradient(
      180deg,
      #f8fbff 0%,
      #f6faf8 100%);
  border-color: #d9e4ef;
  gap: 12px;
}
.status-transition-panel--detail .stp-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.status-transition-panel--detail .stp-title {
  width: auto;
  margin-bottom: 0;
}
.status-transition-panel--detail .stp-current {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-transition-panel--detail .stp-current-label,
.status-transition-panel--detail .stp-field-label {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.3px;
}
.status-transition-panel--detail .stp-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 2fr);
  gap: 10px 12px;
  align-items: start;
}
.status-transition-panel--detail .stp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.status-transition-panel--detail .stp-field-remarks,
.status-transition-panel--detail .stp-hint,
.status-transition-panel--detail .stp-quick {
  grid-column: 1/-1;
}
.status-transition-panel--detail .filter-select,
.status-transition-panel--detail .form-input {
  width: 100%;
  min-width: 0;
  padding: 5px 14px;
  border-radius: 10px;
}
.status-transition-panel--detail .stp-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-transition-panel--detail .stp-option {
  border: 1px solid #d6e0eb;
  background: #fff;
  color: #2f3f54;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}
.status-transition-panel--detail .stp-option:hover:not(:disabled) {
  border-color: #9fb4c8;
  background: #f8fbff;
}
.status-transition-panel--detail .stp-option:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.status-transition-panel--detail .stp-option.active {
  background: #e8faf8;
  border-color: rgba(30, 184, 164, 0.5);
  color: #0f766e;
  transform: translateY(-1px);
}
.status-transition-panel--detail .stp-actions {
  width: 100%;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px dashed #d9e4ef;
}
@media (max-width: 860px) {
  .status-transition-panel--detail .stp-grid {
    grid-template-columns: 1fr;
  }
}
.action-cell-wrap {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.row-transition-panel {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
}
.row-transition-panel .filter-select {
  min-width: 160px;
}
.rtp-remarks {
  flex: 1;
  min-width: 140px;
}
.rtp-hint {
  font-size: 11.5px;
  color: #b07000;
  background: #fff8ec;
  border: 1px solid #f0c060;
  border-radius: 6px;
  padding: 3px 8px;
  width: 100%;
}
.filters-bar {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.search-box {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-light);
  border-radius: 8px;
  padding: 8px 14px;
}
.search-box input {
  border: none;
  background: transparent;
  font-size: 13px;
  width: 100%;
  outline: none;
  direction: rtl;
}
.filter-select {
  padding: 8px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  outline: none;
  cursor: pointer;
  background: white;
  transition: border-color var(--transition);
}
.filter-select:focus {
  border-color: var(--gold);
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--gray-light);
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--gray);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.tab:hover {
  color: var(--navy);
}
.tab.active {
  color: var(--navy);
  border-color: var(--gold);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: fadeIn 0.25s ease;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.info-item label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}
.info-item p {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}
.timeline {
  position: relative;
  padding-right: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  right: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-light);
}
.timeline-item {
  position: relative;
  margin-bottom: 20px;
}
.timeline-dot {
  position: absolute;
  right: -24px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-date {
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 4px;
}
.timeline-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.timeline-desc {
  font-size: 12.5px;
  color: var(--gray);
  margin-top: 2px;
}
.doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-light);
  border-radius: 10px;
  transition: background var(--transition);
}
.doc-icon {
  font-size: 22px;
}
.doc-info {
  flex: 1;
}
.doc-info strong {
  font-size: 13.5px;
  display: block;
}
.doc-info span {
  font-size: 12px;
  color: var(--gray);
}
.detail-sidebar .card {
  background: white;
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.detail-sidebar .card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-light);
}
.action-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.progress-ring {
  text-align: center;
  margin-bottom: 12px;
}
.progress-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
}
.progress-label {
  font-size: 12px;
  color: var(--gray);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}
.step.done {
  color: var(--text);
}
.step.current {
  color: var(--navy);
  font-weight: 700;
}
.step.pending {
  color: var(--gray);
}
.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.step-dot.done {
  background: var(--green);
  color: white;
}
.step-dot.current {
  background: var(--gold);
  color: var(--navy);
}
.step-dot.pending {
  background: var(--gray-light);
  color: var(--gray);
}
.capacity-filter-bar,
.settings-filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.capacity-filter-bar .cap-year-filter,
.settings-filter-bar .cap-year-filter {
  min-width: 200px;
  margin: 0;
}
.capacity-filter-bar .cap-year-filter label,
.settings-filter-bar .cap-year-filter label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
  display: block;
}
.capacity-filter-bar .cap-year-filter select,
.settings-filter-bar .cap-year-filter select {
  height: 36px;
  padding: 0 10px;
  font-size: 14px;
}
.capacity-filter-bar > .btn {
  height: 36px;
}
.capacity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cap-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.cap-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.cap-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.cap-row span {
  font-size: 12.5px;
  color: var(--gray);
}
.cap-row strong {
  font-size: 14px;
  color: var(--navy);
}
.cap-bar {
  width: 100%;
  height: 8px;
  background: var(--gray-light);
  border-radius: 4px;
  margin-top: 10px;
  overflow: hidden;
}
.cap-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}
.cap-fill-teal {
  background: var(--teal);
}
.detail-score-section {
  margin-top: 14px;
}
.detail-section-title {
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 8px;
}
.detail-score-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.detail-breakdown-grid {
  display: grid;
  gap: 8px;
}
.detail-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text);
  margin-bottom: 4px;
}
.detail-score-override {
  margin-top: 10px;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.settings-card {
  background: white;
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.settings-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.settings-card .s-icon {
  font-size: 36px;
}
.settings-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.settings-card p {
  font-size: 12px;
  color: var(--gray);
}
.form-section {
  background: white;
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.form-section h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-light);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px 16px;
  align-items: start;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full {
  grid-column: 1/-1;
}
.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: #516173;
  letter-spacing: 0.2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 9px 12px;
  border: 1.5px solid #dbe3ed;
  border-radius: 9px;
  font-size: 13px;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
  background: #fcfdff;
  color: var(--text);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2d78c8;
  box-shadow: 0 0 0 3px rgba(45, 120, 200, 0.12);
  background: white;
}
.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
  background: #f2f5f9;
  color: #7d8da0;
  cursor: not-allowed;
}
.form-group textarea {
  resize: vertical;
  min-height: 78px;
  line-height: 1.55;
}
.notif {
  padding: 12px 18px;
  border-radius: 10px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}
.notif-info {
  background: #ebf5fb;
  color: #2980b9;
  border-right: 4px solid #2980b9;
}
.notif-success {
  background: #eafaf1;
  color: #27ae60;
  border-right: 4px solid #27ae60;
}
.notif-warning {
  background: #fff3cd;
  color: #f39c12;
  border-right: 4px solid #f39c12;
}
.notif-error {
  background: #fdedee;
  color: #e74c3c;
  border-right: 4px solid #e74c3c;
}
.portal-header {
  background:
    linear-gradient(
      135deg,
      var(--navy) 0%,
      var(--navy-light) 100%);
  border-radius: 16px;
  padding: 28px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.portal-header h2 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
}
.portal-header p {
  color: var(--gold);
  font-size: 14px;
}
.portal-icon {
  font-size: 60px;
  opacity: 0.3;
}
.portal-form-section {
  padding: 26px;
}
.portal-form-grid {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 16px;
}
.portal-otp-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.portal-otp-row .portal-otp-input {
  flex: 1;
}
.portal-step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}
.portal-step-actions.end {
  justify-content: flex-end;
}
.wizard-steps {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  scrollbar-width: none;
}
.wizard-steps::-webkit-scrollbar {
  display: none;
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  font-size: 12.5px;
  color: var(--gray);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.wizard-step.done {
  color: var(--text);
}
.wizard-step.done .wdot {
  background: var(--green);
  color: white;
}
.wizard-step.active {
  color: var(--navy);
}
.wizard-step.active .wdot {
  background: var(--gold);
  color: var(--navy);
}
.wdot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--gray-light);
  color: var(--gray);
  transition: all var(--transition);
}
.wizard-sep {
  flex: 0.3;
  height: 2px;
  background: var(--gray-light);
  align-self: center;
  margin: 0 4px;
}
.wizard-sep.done {
  background: var(--green);
}
.empty-state {
  text-align: center;
  padding: 60px;
  color: var(--gray);
}
.empty-state .e-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.empty-state p {
  font-size: 15px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.content > * {
  animation: fadeIn 0.3s ease;
}
@media (max-width: 1200px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .settings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .capacity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portal-form-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}
@media (max-width: 900px) {
  .app-shell {
    position: relative;
  }
  .sidebar {
    width: min(84vw, 320px);
    transform: translateX(105%);
    transition: transform 0.22s ease;
    z-index: 160;
    display: flex;
    pointer-events: none;
  }
  .app-shell-mobile-open .sidebar {
    transform: translateX(0);
    pointer-events: auto;
  }
  .mobile-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 140;
    background: rgba(10, 22, 40, 0.45);
    border: 0;
    padding: 0;
    margin: 0;
  }
  .main {
    margin-right: 0;
  }
  .charts-grid {
    grid-template-columns: 1fr;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .content {
    padding: 14px;
    min-width: 0;
  }
  .topbar {
    height: auto;
    min-height: var(--topbar-h);
    padding: 10px 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .topbar-start {
    width: 100%;
  }
  .mobile-menu-btn {
    display: inline-flex;
    flex: 0 0 auto;
  }
  .topbar-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }
  .topbar-actions .btn,
  .topbar-actions a.btn {
    min-height: 38px;
  }
  .page-title {
    width: 100%;
    font-size: 17px;
    line-height: 1.3;
  }
  .section-header {
    flex-wrap: wrap;
    gap: 10px;
  }
  .portal-form-section {
    padding: 18px;
  }
  .portal-form-grid {
    grid-template-columns: 1fr;
  }
  .portal-otp-row {
    grid-template-columns: 1fr;
  }
  .section-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .section-card table {
    min-width: 680px;
  }
  .section-card table th,
  .section-card table td {
    white-space: nowrap;
  }
  .filters-bar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }
  .search-box,
  .filter-select,
  .filters-bar .btn {
    width: 100%;
    min-width: 0;
  }
  .capacity-filter-bar,
  .settings-filter-bar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
  }
  .capacity-filter-bar .cap-year-filter,
  .settings-filter-bar .cap-year-filter,
  .capacity-filter-bar > .btn,
  .settings-filter-bar > .btn {
    width: 100%;
    min-width: 0;
  }
  .report-date-range {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .report-date-range .filter-select {
    width: 100%;
  }
  .settings-tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding: 10px;
  }
  .settings-tabs-nav .stab-btn {
    flex: 0 0 auto;
  }
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .modal-overlay {
    padding: 10px;
    align-items: flex-end;
  }
  .modal-box,
  .modal-box.modal-sm,
  .modal-box.modal-md,
  .modal-box.modal-lg,
  .modal-box.modal-xl {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
  }
  .modal-header,
  .modal-footer {
    padding-inline: 12px;
  }
  .modal-body {
    padding: 12px;
  }
  .modal-body .form-grid,
  .modal-body .form-grid-compact,
  .modal-body .form-grid-balanced,
  .modal-body .form-grid-spacious {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .portal-step-actions {
    flex-direction: column-reverse;
    gap: 8px;
    align-items: stretch;
  }
  .portal-step-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .finance-kpi-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .capacity-grid {
    grid-template-columns: 1fr;
  }
  .page-title span {
    display: none;
  }
  .user-name-topbar {
    display: none;
  }
  .kpi-value {
    font-size: 24px;
  }
  .content {
    padding: 12px;
  }
  .topbar-actions .btn,
  .topbar-actions a.btn {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
  }
  .wizard-steps {
    padding: 12px;
  }
  .wizard-step {
    font-size: 12px;
  }
  .quick-replies-layout {
    grid-template-columns: 1fr;
  }
  .section-card table {
    min-width: 560px;
  }
  .dash-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
.login-page {
  display: flex;
  min-height: 100vh;
  direction: rtl;
}
.login-brand {
  width: 420px;
  flex-shrink: 0;
  background:
    linear-gradient(
      160deg,
      var(--navy) 0%,
      var(--navy-light) 60%,
      #1a4a6e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.brand-content {
  color: white;
  text-align: center;
}
.brand-logo {
  font-size: 64px;
  margin-bottom: 16px;
}
.brand-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 4px;
}
.brand-subtitle {
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.brand-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 20px auto;
  border-radius: 2px;
}
.brand-system {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.brand-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 32px;
}
.brand-features {
  text-align: right;
}
.bf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}
.bf-item span {
  font-size: 16px;
}
.login-form-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f0f4f8;
  padding: 48px 32px;
}
.login-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}
.login-header {
  text-align: center;
  margin-bottom: 28px;
}
.login-header h2 {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}
.login-header p {
  font-size: 13.5px;
  color: var(--gray);
}
.login-error {
  background: #fdedee;
  color: var(--red);
  border-right: 4px solid var(--red);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  right: 12px;
  font-size: 16px;
  pointer-events: none;
}
.input-wrapper input {
  width: 100%;
  padding: 11px 40px 11px 40px;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}
.input-wrapper input:focus {
  border-color: var(--gold);
}
.pass-toggle {
  position: absolute;
  left: 10px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
}
.btn-login {
  width: 100%;
  padding: 13px;
  background:
    linear-gradient(
      135deg,
      var(--gold),
      var(--gold-light));
  color: var(--navy);
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 20px;
  transition: all var(--transition);
}
.btn-login:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}
.btn-login:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.demo-section {
  margin-top: 28px;
}
.demo-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 12px;
}
.demo-line {
  flex: 1;
  height: 1px;
  background: var(--gray-light);
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.demo-btn {
  padding: 7px 10px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  border: 1.5px solid;
  transition: all var(--transition);
}
.demo-btn:hover {
  opacity: 0.8;
}
.demo-hint {
  font-size: 11px;
  color: var(--gray);
  text-align: center;
}
.login-footer {
  margin-top: 24px;
  font-size: 12px;
  color: var(--gray);
}
.login-lang-toggle {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.login-lang-toggle .btn {
  font-size: 12px;
  padding: 4px 12px;
  min-width: 44px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.btn {
  margin-inline-start: 5px;
}
.lang-btn {
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  min-width: 44px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  color: inherit !important;
}
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}
.unauth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4f8;
}
.unauth-card {
  background: white;
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 400px;
}
.unauth-icon {
  font-size: 64px;
  margin-bottom: 16px;
}
.unauth-card h2 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 10px;
}
.unauth-card p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 6px;
}
.unauth-role {
  color: var(--text) !important;
  font-size: 13px !important;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
.modal-box {
  background: white;
  border-radius: 18px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border: 1px solid #e6ecf4;
  box-shadow: 0 24px 65px rgba(3, 16, 36, 0.35);
  animation: slideUp 0.25s ease;
  overflow: hidden;
}
.modal-box::before {
  content: "";
  display: block;
  height: 3px;
  background:
    linear-gradient(
      90deg,
      var(--gold),
      #5d97d1,
      var(--teal));
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.modal-subtitle {
  font-size: 12px;
  color: #77879a;
  font-weight: 600;
}
.modal-box.modal-lg {
  max-width: 760px;
}
.modal-box.modal-sm {
  max-width: 420px;
}
.modal-box.modal-md {
  max-width: 560px;
}
.modal-box.modal-xl {
  max-width: 980px;
}
.modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid #e7edf5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.modal-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: #122640;
  line-height: 1.3;
}
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #eef3f8;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.modal-close:hover {
  background: #dde7f2;
  transform: rotate(90deg);
}
.modal-body {
  padding: 16px 18px;
  overflow-y: auto;
  flex: 1;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfdff 100%);
}
.modal-body.compact {
  padding: 14px 16px;
}
.modal-body.spacious {
  padding: 20px 22px;
}
.modal-footer {
  padding: 12px 18px 14px;
  border-top: 1px solid #e7edf5;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #fbfcfe;
}
.form-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px 14px;
}
.form-grid-balanced {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 14px 16px;
}
.form-grid-spacious {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px 18px;
}
.modal-body .form-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px 16px;
  margin-inline: auto;
  max-width: 980px;
}
.modal-body .form-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  max-width: 760px;
}
.modal-body .form-grid-balanced {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  max-width: 100%;
}
.modal-body .form-grid-spacious {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  max-width: 1100px;
}
.modal-note {
  margin-top: 12px;
  padding: 10px 12px;
  background: #f4f8fc;
  border: 1px solid #dfebf8;
  border-radius: 10px;
  font-size: 12px;
  color: #61748a;
}
.smart-autocomplete-dropdown-host {
  display: block;
  position: relative;
  z-index: 20;
  margin-top: 4px;
}
.smart-autocomplete-dropdown {
  border: 1px solid #dbe3ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 35, 66, 0.16);
  overflow: hidden;
  text-align: right;
}
.smart-autocomplete-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #edf1f7;
  background: #fff;
  color: #1c304a;
  font-family: inherit;
  font-size: 13px;
  padding: 9px 12px;
  text-align: right;
  cursor: pointer;
  direction: rtl;
}
.smart-autocomplete-item:last-child {
  border-bottom: 0;
}
.smart-autocomplete-item:hover,
.smart-autocomplete-item.active {
  background: #f1f7ff;
}
.user-menu-wrapper {
  position: relative;
}
.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1.5px solid var(--gray-light);
  border-radius: 30px;
  background: white;
  cursor: pointer;
  transition: border-color var(--transition);
  font-family: inherit;
}
.user-menu-btn:hover {
  border-color: var(--gold);
}
.user-name-topbar {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 300;
  animation: slideUp 0.2s ease;
  overflow: hidden;
}
.ud-header {
  padding: 16px;
}
.ud-divider {
  height: 1px;
  background: var(--gray-light);
}
.ud-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  cursor: pointer;
  text-align: right;
  transition: background var(--transition);
}
.ud-item:hover {
  background: var(--gray-light);
}
.ud-logout {
  color: var(--red) !important;
}
.settings-tabs-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  background: white;
  padding: 12px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.stab-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--gray-light);
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: all var(--transition);
}
.stab-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.stab-btn.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.quick-replies-card {
  overflow: visible;
}
.quick-replies-head {
  align-items: flex-start;
}
.quick-replies-head p {
  margin-top: 4px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 600;
}
.quick-replies-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  padding: 16px 18px 18px;
}
.quick-replies-main {
  display: grid;
  gap: 12px;
}
.quick-replies-add {
  border: 1px solid #e5edf6;
  border-radius: 12px;
  padding: 12px;
  background: #fbfdff;
}
.quick-replies-add label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #516173;
  margin-bottom: 8px;
}
.quick-replies-add-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.quick-replies-add-row input,
.quick-reply-input-wrap input {
  height: 42px;
  border: 1.5px solid #d4deea;
  border-radius: 10px;
  background: #ffffff;
  padding: 0 12px;
  font-size: 13px;
  color: #22384f;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.quick-replies-add-row input::placeholder {
  color: #92a2b5;
}
.quick-replies-add-row input:focus,
.quick-reply-input-wrap input:focus {
  border-color: #2d78c8;
  box-shadow: 0 0 0 3px rgba(45, 120, 200, 0.14);
  outline: none;
}
.quick-replies-list {
  display: grid;
  gap: 10px;
}
.quick-reply-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #e6ecf4;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}
.quick-reply-index {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef4fb;
  color: #2d4f73;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
}
.quick-reply-input-wrap label {
  display: block;
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 6px;
  font-weight: 700;
}
.quick-replies-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}
.quick-replies-side {
  border: 1px solid #e5edf6;
  border-radius: 12px;
  background:
    linear-gradient(
      180deg,
      #f8fbff 0%,
      #ffffff 100%);
  padding: 14px;
  height: fit-content;
}
.quick-replies-side h4 {
  color: var(--navy);
  font-size: 13px;
  margin-bottom: 8px;
}
.quick-replies-side p {
  color: #607387;
  font-size: 12px;
  margin-bottom: 8px;
  line-height: 1.7;
}
.quick-replies-side ul {
  margin: 0;
  padding: 0 18px 0 0;
  color: #4e6175;
  font-size: 12px;
  display: grid;
  gap: 5px;
}
.quick-replies-empty {
  padding: 24px 12px;
  margin: 0;
  border: 1px dashed #dce6f1;
  border-radius: 12px;
  background: #fbfdff;
}
.finance-kpi-grid {
  grid-template-columns: repeat(3, 1fr);
}
.report-date-range {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.notif-error {
  background: #fdedee;
  color: var(--red);
  border-right: 4px solid var(--red);
}
@media (max-width: 768px) {
  .login-brand {
    display: none;
  }
  .login-page {
    justify-content: center;
  }
  .login-card {
    padding: 28px 20px;
  }
}
.dash-hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.dash-hero-main {
  background:
    linear-gradient(
      120deg,
      var(--navy) 0%,
      var(--navy-light) 55%,
      #254a72 100%);
  border-radius: 16px;
  color: white;
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.dash-hero-main h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.dash-hero-main p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
  font-size: 13.5px;
}
.dash-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.dash-hero-side {
  display: grid;
  gap: 12px;
}
.dash-mini-stat {
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  border: 1px solid #edf1f5;
}
.dash-mini-stat span {
  display: block;
  color: var(--gray);
  font-size: 12px;
  margin-bottom: 4px;
}
.dash-mini-stat strong {
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}
.dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.dash-stat-card {
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  border-top: 4px solid transparent;
  border: 1px solid #edf1f5;
}
.dash-stat-card.blue {
  border-top-color: #2f87d8;
}
.dash-stat-card.green {
  border-top-color: #2ecc71;
}
.dash-stat-card.teal {
  border-top-color: #1eb8a4;
}
.dash-stat-card.gold {
  border-top-color: #c9a84c;
}
.dash-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gray);
  font-size: 12.5px;
}
.dash-stat-value {
  font-size: 30px;
  color: var(--navy);
  font-weight: 900;
  line-height: 1;
  margin: 8px 0 6px;
}
.dash-stat-foot {
  font-size: 12px;
  font-weight: 700;
}
.dash-stat-foot.up {
  color: var(--green);
}
.dash-stat-foot.down {
  color: var(--red);
}
.dash-stat-foot.neutral {
  color: var(--gray);
}
.dash-analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.dash-chart-wrap {
  padding: 12px 18px 18px;
}
.dash-status-list {
  padding: 14px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dash-status-row {
  display: grid;
  grid-template-columns: 100px 1fr 44px;
  gap: 10px;
  align-items: center;
}
.dash-status-label {
  font-size: 12.5px;
  color: var(--text);
}
.dash-status-bar {
  height: 10px;
  border-radius: 999px;
  background: #edf1f5;
  overflow: hidden;
}
.dash-status-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
}
.dash-status-count {
  font-size: 12px;
  color: var(--navy);
  font-weight: 700;
  text-align: left;
}
.dash-quality-list {
  padding: 14px 20px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dash-quality-item {
  background: #f7fafc;
  border: 1px solid #edf1f5;
  border-radius: 10px;
  padding: 12px;
}
.dash-quality-item span {
  display: block;
  color: var(--gray);
  font-size: 12px;
  margin-bottom: 6px;
}
.dash-quality-item strong {
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
}
.mx-2 {
  margin-left: 8px;
  margin-right: 8px;
}
@media (max-width: 1200px) {
  .dash-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-hero {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .dash-analytics-grid {
    grid-template-columns: 1fr;
  }
  .dash-quality-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .dash-stat-grid {
    grid-template-columns: 1fr;
  }
}
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
}
.profile-card {
  height: fit-content;
}
.profile-avatar-wrap {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 3px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-avatar.initials {
  font-size: 34px;
  font-weight: 900;
  color: var(--navy);
  background:
    linear-gradient(
      120deg,
      #d9e7f5,
      #eef4fa);
}
.profile-avatar img,
.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.profile-security-note {
  padding: 12px 14px;
  border-radius: 10px;
  background: #eef6ff;
  border-right: 4px solid #2f87d8;
  font-size: 13px;
  color: #245a8a;
}
.profile-avatar-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.profile-upload-btn {
  cursor: pointer;
}
.profile-blocked-section {
  margin-top: 16px;
}
.blocked-slots-inner {
  box-shadow: none;
  border: 1px solid var(--gray-light);
  margin: 0;
}
.blocked-slot-action {
  justify-content: flex-end;
}
.blocked-slot-label-spacer {
  opacity: 0;
  pointer-events: none;
}
.empty-state-sm {
  padding: 24px;
  text-align: center;
  color: var(--gray);
  font-size: 13px;
}
@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
}
.assessment-view-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #eaf0f6;
  border-radius: 12px;
  background:
    linear-gradient(
      120deg,
      #f8fbff 0%,
      #fdfcf8 100%);
}
.assessment-view-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}
.assessment-view-sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: #5d7189;
}
.assessment-score-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.assessment-score-card {
  border: 1px solid #e9edf2;
  border-radius: 12px;
  padding: 12px;
  background: #fcfdff;
}
.assessment-score-card label {
  display: block;
  font-size: 11px;
  color: #6f8197;
  margin-bottom: 5px;
  font-weight: 700;
}
.assessment-score-card strong {
  font-size: 20px;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.2;
}
.assessment-score-card.highlight {
  background:
    linear-gradient(
      135deg,
      rgba(201, 168, 76, 0.12) 0%,
      rgba(30, 184, 164, 0.12) 100%);
  border-color: rgba(201, 168, 76, 0.35);
}
.assessment-notes-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #ebeff4;
  background: #fafcff;
}
.assessment-notes-box label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #6d7f94;
  margin-bottom: 6px;
}
.assessment-notes-box p {
  margin: 0;
  color: var(--text);
  line-height: 1.8;
  white-space: pre-line;
}
@media (max-width: 700px) {
  .assessment-score-grid {
    grid-template-columns: 1fr;
  }
}
.sla-hero {
  background:
    linear-gradient(
      135deg,
      var(--navy) 0%,
      var(--navy-light) 100%);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  box-shadow: var(--shadow-md);
  gap: 20px;
}
.sla-hero-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}
.sla-hero-icon {
  font-size: 44px;
  opacity: 0.85;
  flex-shrink: 0;
}
.sla-hero-text h2 {
  font-size: 22px;
  font-weight: 900;
  color: white;
  margin-bottom: 6px;
}
.sla-hero-text p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}
.sla-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 6px;
  margin-right: 6px;
  vertical-align: middle;
  letter-spacing: 0.5px;
}
.sla-reset-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: white !important;
  flex-shrink: 0;
}
.sla-reset-btn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
}
.sla-filters-panel {
  background: white;
  border-radius: 12px;
  padding: 16px 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sla-filter-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.sla-filter-icon {
  font-size: 14px;
}
.sla-filters-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.sla-filter-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sla-filter-field label {
  font-size: 11.5px;
  font-weight: 700;
  color: #516173;
}
.sla-filter-sep {
  width: 1px;
  height: 38px;
  background: var(--gray-light);
  align-self: flex-end;
}
.sla-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}
.sla-kpi-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition);
}
.sla-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.sla-kpi-warning {
  border-color: var(--gold);
}
.sla-kpi-danger {
  border-color: var(--red);
}
.sla-kpi-compliance {
  border-color: var(--teal);
}
.sla-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sla-kpi-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.sla-kpi-icon-wrap.warning {
  background: #fef9ee;
}
.sla-kpi-icon-wrap.danger {
  background: #fdedee;
}
.sla-kpi-icon-wrap.teal {
  background: #e8faf8;
}
.sla-kpi-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.sla-kpi-chip.warning {
  background: #fef9ee;
  color: var(--gold);
}
.sla-kpi-chip.danger {
  background: #fdedee;
  color: var(--red);
}
.sla-kpi-chip.teal {
  background: #e8faf8;
  color: var(--teal);
}
.sla-kpi-val {
  font-size: 40px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.sla-kpi-lbl {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 14px;
}
.sla-kpi-bar-track {
  height: 5px;
  background: var(--gray-light);
  border-radius: 3px;
  overflow: hidden;
}
.sla-kpi-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}
.sla-kpi-bar-fill.warning {
  background: var(--gold);
}
.sla-kpi-bar-fill.danger {
  background: var(--red);
}
.sla-compliance-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sla-gauge-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}
.sla-gauge {
  width: 72px;
  height: 72px;
  transform: rotate(-90deg);
}
.sla-gauge-bg {
  stroke: var(--gray-light);
}
.sla-gauge-fill {
  stroke-linecap: round;
  stroke-dashoffset: 0;
  transition: stroke-dasharray 0.8s ease;
}
.sla-gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sla-gauge-val {
  font-size: 14px;
  font-weight: 900;
  color: var(--navy);
}
.sla-compliance-meta {
  flex: 1;
}
.sla-compliance-status {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
}
.sla-compliance-status.status-good {
  background: #eafaf1;
  color: #27ae60;
}
.sla-compliance-status.status-avg {
  background: #fef9ee;
  color: var(--gold);
}
.sla-compliance-status.status-poor {
  background: #fdedee;
  color: var(--red);
}
.sla-section-header {
  align-items: flex-start !important;
}
.sla-section-sub {
  display: block;
  font-size: 12px;
  color: var(--gray);
  font-weight: 400;
  margin-top: 3px;
}
.sla-table {
  width: 100%;
  border-collapse: collapse;
}
.sla-table th {
  background: #f4f7fb;
  font-size: 11.5px;
  font-weight: 800;
  color: #607080;
  padding: 13px 18px;
  text-align: right;
  border-bottom: 2px solid #eaeef4;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.sla-table td {
  padding: 13px 18px;
  border-bottom: 1px solid #f0f3f7;
  vertical-align: middle;
  font-size: 13.5px;
}
.sla-table tr:last-child td {
  border-bottom: none;
}
.sla-table tr:hover td {
  background: #fafbff;
}
.sla-stage-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
}
.stage-hue-0 {
  background: #eef4fb;
  color: #2d78c8;
}
.stage-hue-1 {
  background: #fef9ee;
  color: #b8860b;
}
.stage-hue-2 {
  background: #e8faf8;
  color: #16a085;
}
.stage-hue-3 {
  background: #f5eef8;
  color: #8e44ad;
}
.stage-hue-4 {
  background: #eafaf1;
  color: #27ae60;
}
.sla-idx {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  text-align: center;
  width: 36px;
}
.sla-days-cell {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.sla-days-num {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.sla-days-num.days-teal {
  color: var(--teal);
}
.sla-days-num.days-gold {
  color: var(--gold);
}
.sla-days-num.days-red {
  color: var(--red);
}
.sla-days-unit {
  font-size: 12px;
  color: var(--gray);
}
.sla-perf-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}
.sla-perf-track {
  flex: 1;
  height: 8px;
  background: var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
}
.sla-perf-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}
.sla-perf-fill.pf-teal {
  background: var(--teal);
}
.sla-perf-fill.pf-gold {
  background: var(--gold);
}
.sla-perf-fill.pf-red {
  background: var(--red);
}
.sla-perf-pct {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gray);
  width: 34px;
  text-align: left;
}
.sla-count-chip {
  display: inline-block;
  background: #f0f4f9;
  color: var(--navy);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.sla-row-high td {
  background: #fff8f8 !important;
}
.sla-row-mid td {
  background: #fffdf5 !important;
}
.sla-row-high:hover td {
  background: #fef0f0 !important;
}
.sla-row-mid:hover td {
  background: #fffae8 !important;
}
.sla-app-id {
  font-family: "Courier New", monospace;
  font-size: 12px;
  background: #f0f4f9;
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--navy);
}
.sla-applicant {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sla-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--teal),
      var(--teal-light));
  color: white;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sla-elapsed {
  font-size: 14px;
  font-weight: 800;
}
.sla-elapsed.elapsed-high {
  color: var(--red);
}
.sla-elapsed.elapsed-mid {
  color: var(--gold);
}
.sla-elapsed.elapsed-low {
  color: var(--teal);
}
.sla-risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.sla-risk-badge .risk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.sla-risk-badge.risk-high {
  background: #fdedee;
  color: var(--red);
}
.sla-risk-badge.risk-high .risk-dot {
  background: var(--red);
}
.sla-risk-badge.risk-mid {
  background: #fef9ee;
  color: var(--gold);
}
.sla-risk-badge.risk-mid .risk-dot {
  background: var(--gold);
}
.sla-risk-badge.risk-low {
  background: #e8faf8;
  color: var(--teal);
}
.sla-risk-badge.risk-low .risk-dot {
  background: var(--teal);
}
.sla-empty-cell {
  padding: 40px 18px !important;
}
.sla-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gray);
}
.sla-empty span {
  font-size: 36px;
}
.sla-empty p {
  font-size: 13.5px;
}
.sla-empty.success {
  color: var(--teal);
}
.settings-content {
  padding-top: 22px;
}
.settings-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  align-items: start;
}
.settings-sidebar {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: sticky;
  top: calc(var(--topbar-h) + 22px);
}
.settings-sidebar-header {
  background:
    linear-gradient(
      135deg,
      var(--navy),
      var(--navy-light));
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 15px;
  font-weight: 700;
}
.settings-sidebar-icon {
  font-size: 18px;
}
.settings-nav-group {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
}
.settings-nav-group:last-child {
  border-bottom: none;
}
.settings-nav-group-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--gray);
  text-transform: uppercase;
  padding: 8px 18px 4px;
}
.settings-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #516173;
  cursor: pointer;
  text-align: right;
  transition: all var(--transition);
  border-right: 3px solid transparent;
  text-align: unset;
}
.settings-nav-btn:hover {
  background: #f4f7fb;
  color: var(--navy);
}
.settings-nav-btn.active {
  background: #eef4fb;
  color: var(--navy);
  border-right-color: var(--gold);
  font-weight: 700;
}
.snb-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.snb-label {
  flex: 1;
}
.snb-arrow {
  font-size: 18px;
  color: var(--gold);
  font-weight: 900;
}
.settings-main {
  min-width: 0;
}
.settings-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}
.settings-page-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.settings-page-tab-icon {
  font-size: 28px;
}
.settings-page-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}
.settings-page-breadcrumb {
  font-size: 12px;
  color: var(--gray);
}
.settings-add-btn {
  gap: 4px;
}
.ref-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ref-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.ref-icon-circle.gold {
  background: #fef9ee;
}
.ref-icon-circle.teal {
  background: #e8faf8;
}
.ref-icon-circle.navy {
  background: #eef4fb;
}
.ref-sub {
  font-size: 11px;
  color: var(--gray);
  margin-top: 2px;
}
.ref-date {
  font-size: 12.5px;
  color: var(--gray);
  white-space: nowrap;
}
.ref-mono {
  font-size: 12.5px;
  font-family: "Courier New", monospace;
  direction: ltr;
  text-align: right;
}
.ref-small {
  font-size: 12px;
}
.ref-desc {
  font-size: 12.5px;
  color: var(--gray);
  max-width: 240px;
}
.ref-age {
  font-size: 12.5px;
  white-space: nowrap;
}
.ref-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.ref-count {
  display: inline-block;
  background: #f0f4f9;
  color: var(--navy);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.ref-formats {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.fmt-chip {
  background: #eef4fb;
  color: #2d78c8;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}
.stage-tag {
  display: inline-block;
  background: #fef9ee;
  color: #b8860b;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.fee-amount {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}
.fee-total {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
}
.fee-cur {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
}
.cap-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}
.qr-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 18px;
  padding: 18px 20px;
}
.qr-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.qr-add-box {
  background: #f8fbff;
  border: 1px solid #e0eaf5;
  border-radius: 12px;
  padding: 14px;
}
.qr-add-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #516173;
  margin-bottom: 8px;
}
.qr-add-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.qr-add-row input {
  height: 40px;
  border: 1.5px solid #d4deea;
  border-radius: 9px;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
}
.qr-add-row input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}
.qr-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qr-item {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 10px 12px;
  background: white;
}
.qr-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef4fb;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.qr-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qr-input-wrap label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray);
}
.qr-input-wrap input {
  border: 1.5px solid #d4deea;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  outline: none;
}
.qr-input-wrap input:focus {
  border-color: var(--gold);
}
.qr-save-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}
.qr-aside {
  background: #f4f8fc;
  border: 1px solid #dce8f2;
  border-radius: 12px;
  padding: 16px;
  align-self: start;
}
.qr-aside .qr-aside-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.qr-aside p {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 10px;
}
.qr-aside ul {
  padding-right: 18px;
}
.qr-aside ul li {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 6px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .settings-sidebar {
    position: static;
  }
  .sla-kpi-grid {
    grid-template-columns: 1fr;
  }
  .sla-hero {
    flex-direction: column;
    align-items: flex-start;
  }
}
.page-hero {
  background:
    linear-gradient(
      135deg,
      var(--navy) 0%,
      var(--navy-light) 55%,
      #163461 100%);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.05);
  pointer-events: none;
}
.ph-main {
  flex: 1;
}
.ph-icon {
  font-size: 32px;
  width: 58px;
  height: 58px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(201, 168, 76, 0.25);
}
.ph-title {
  font-size: 21px;
  font-weight: 900;
  color: white;
  margin-bottom: 6px;
  line-height: 1.3;
}
.ph-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.55;
}
.ph-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.ph-kpis {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-self: flex-start;
}
.ph-kpi {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  min-width: 108px;
}
.ph-kpi span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  margin-bottom: 4px;
}
.ph-kpi strong {
  display: block;
  color: var(--gold-light);
  font-size: 20px;
  font-weight: 900;
}
.tab-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  background: white;
  padding: 5px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  width: fit-content;
  flex-wrap: wrap;
}
.tn-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #7a8fa8;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.tn-btn:hover {
  color: var(--navy);
  background: #f0f4f8;
}
.tn-btn.active {
  background: var(--navy);
  color: white;
}
.cell-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 13.5px;
}
.cell-sub {
  font-size: 11.5px;
  color: var(--gray);
  margin-top: 2px;
}
.user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.actions-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.cell-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  font-size: 13px;
  color: var(--text);
}
.ms-auto {
  margin-inline-start: auto;
}
.mt-16 {
  margin-top: 16px;
}
.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      #dce9f7,
      #edf4fb);
  color: var(--navy);
  border: 1px solid #d7e4f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  flex-shrink: 0;
}
.user-avatar-lg {
  width: 64px;
  height: 64px;
  font-size: 22px;
}
.user-view-head {
  text-align: center;
  margin-bottom: 20px;
}
.user-view-head .user-avatar {
  margin: 0 auto 10px;
}
.user-view-head .user-view-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.user-reset-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-light);
}
.pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--gray-light);
}
.pagination-bar .pagination-info {
  font-size: 12.5px;
  color: var(--gray);
}
.pagination-bar .pagination-btns {
  display: flex;
  gap: 6px;
}
.page-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.rpt-nav-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.rpt-nav-card {
  background: white;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.rpt-nav-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.rpt-nav-card .rnc-icon {
  font-size: 26px;
  width: 50px;
  height: 50px;
  background:
    linear-gradient(
      135deg,
      var(--navy),
      var(--navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rpt-nav-card .rnc-body strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.rpt-nav-card .rnc-body span {
  font-size: 12px;
  color: var(--gray);
}
.cap-card {
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition), transform var(--transition);
}
.cap-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cap-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 4px;
}
.cap-meta {
  font-size: 11.5px;
  color: var(--gray);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-light);
}
.cap-pct-label {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
  color: var(--gray);
}
.cap-reserved {
  color: var(--gold);
}
.cap-classrooms {
  margin-top: 12px;
  border-top: 1px dashed var(--gray-light);
  padding-top: 10px;
}
.cap-classrooms-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 8px;
}
.cap-classroom-item {
  background: #f8fafc;
  border: 1px solid #edf1f5;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 8px;
}
.cap-classroom-head,
.cap-classroom-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.cap-classroom-head {
  margin-bottom: 4px;
}
.cap-classroom-head strong {
  font-size: 12.5px;
  color: var(--navy);
}
.cap-classroom-head span {
  font-size: 12px;
  color: var(--gray);
}
.cap-classroom-sub {
  margin-bottom: 6px;
}
.cap-classroom-sub span {
  font-size: 11.5px;
  color: var(--gray);
}
.cap-classroom-sub strong {
  font-size: 12.5px;
}
.cap-classroom-bar {
  margin-top: 0;
  height: 6px;
}
.applicant-name-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.completion-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}
.completion-bar {
  width: 60px;
  height: 6px;
}
.date-range-sep {
  font-size: 12px;
  color: var(--gray);
  font-weight: 600;
  white-space: nowrap;
  align-self: center;
}
.section-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.installments-expanded-cell {
  background: #f8fafd;
  padding: 12px 16px;
}
.plan-preview-body {
  padding: 10px 12px;
}
.report-chart {
  width: 100%;
  height: 300px;
  display: block;
}
.report-chart-legend {
  font-size: 12px;
  color: var(--gray);
  margin-top: 6px;
}
.app-toolbar-wrap {
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--gray-light);
  background: white;
  border-radius: var(--radius) var(--radius) 0 0;
}
.app-toolbar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.app-toolbar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.app-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: white;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 9px;
  min-width: 28px;
}
.app-view-tabs {
  display: flex;
  gap: 2px;
  background: #f0f4f8;
  border-radius: 9px;
  padding: 3px;
}
.avt-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 7px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  background: transparent;
}
.avt-btn:hover {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
}
.avt-btn.active {
  background: white;
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.atb-spacer {
  flex: 1;
  min-width: 8px;
}
.atb-sort-select {
  min-width: 155px;
}
.atb-utilities {
  display: flex;
  gap: 4px;
  align-items: center;
}
.atb-util-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  background: white;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #6b7a8d;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.atb-util-btn:hover {
  border-color: var(--navy-light);
  color: var(--navy);
  background: #f8fafd;
}
.atb-util-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.column-settings-wrap {
  position: relative;
}
.column-settings-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 200;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-light);
  min-width: 260px;
  overflow: hidden;
}
.csp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-light);
  background: #f8fafc;
}
.csp-header h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.csp-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--gray);
  padding: 0 2px;
  line-height: 1;
  transition: color var(--transition);
}
.csp-close:hover {
  color: var(--red);
}
.column-settings-list {
  padding: 6px 0;
  max-height: 340px;
  overflow-y: auto;
}
.column-settings-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  transition: background var(--transition);
}
.column-settings-item:hover {
  background: #f8fafd;
}
.csi-label {
  flex: 1;
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
}
.csi-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--gray);
  cursor: pointer;
  white-space: nowrap;
}
.app-bulk-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 14px;
  background:
    linear-gradient(
      to left,
      #f0f6ff,
      #e8f0fe);
  border: 1.5px solid #c5d8f8;
  border-radius: 10px;
  flex-wrap: wrap;
  animation: bulkBarIn 0.18s ease;
}
@keyframes bulkBarIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.abb-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--navy);
  white-space: nowrap;
}
.abb-info .abb-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.abb-info strong {
  font-size: 14px;
  color: var(--navy);
}
.abb-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin-inline-start: auto;
}
.abb-status-select {
  min-width: 155px;
}
.sla-config-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sla-pipeline-card {
  background:
    linear-gradient(
      135deg,
      var(--navy) 0%,
      var(--navy-light) 60%,
      #163461 100%);
  border-radius: 16px;
  padding: 24px 28px;
  color: white;
}
.spc-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.spc-icon {
  font-size: 26px;
  width: 52px;
  height: 52px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.spc-title {
  font-size: 18px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}
.spc-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}
.spc-save-btn {
  margin-inline-start: auto;
  flex-shrink: 0;
  align-self: center;
}
.spc-notif {
  margin-bottom: 16px;
  border-radius: 10px;
}
.sla-pipeline {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 0 4px;
  overflow-x: auto;
  flex-wrap: nowrap;
}
.sla-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 76px;
  text-align: center;
  flex-shrink: 0;
}
.sla-stage .sla-stage-icon {
  font-size: 18px;
}
.sla-stage .sla-stage-label {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  white-space: nowrap;
}
.sla-stage-final {
  border-color: rgba(30, 184, 164, 0.4);
  background: rgba(30, 184, 164, 0.12);
}
.sla-stage-limit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px;
  flex-shrink: 0;
}
.sla-stage-limit .sla-limit-days {
  font-size: 24px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.sla-stage-limit .sla-limit-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}
.sla-pipeline-arrow {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  padding: 0 2px;
}
.sla-thresholds-grid {
  gap: 8px;
  padding: 8px;
}
.sla-threshold-item {
  background: #f8fafd;
  border-radius: 12px;
  padding: 16px;
  border: 1.5px solid var(--gray-light);
  transition: border-color var(--transition);
}
.sla-threshold-item:hover {
  border-color: var(--navy-light);
}
.sla-threshold-item .sla-th-icon {
  font-size: 17px;
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.sla-threshold-item label {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
  margin-bottom: 4px;
  display: block;
}
.sla-threshold-item .sla-th-desc {
  font-size: 11.5px;
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.5;
}
.sla-threshold-warn {
  border-color: rgba(220, 80, 40, 0.22);
  background: rgba(255, 100, 50, 0.03);
}
.sla-threshold-warn label {
  color: #b93a1a;
}
.sla-th-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sla-th-input-wrap input[type=number] {
  width: 80px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}
.sla-th-input-wrap .sla-th-unit {
  font-size: 12.5px;
  color: var(--gray);
  font-weight: 500;
  white-space: nowrap;
}
.sla-working-days {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px;
}
.sla-day-btn {
  padding: 10px 20px;
  border-radius: 10px;
  border: 2px solid var(--gray-light);
  background: white;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: all var(--transition);
}
.sla-day-btn:hover {
  border-color: var(--navy-light);
  color: var(--navy);
  background: #f0f4f8;
}
.sla-day-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.sla-wd-hint {
  font-size: 11.5px;
  color: var(--gray);
  padding: 5px;
  line-height: 1.5;
  margin-inline-start: 8px;
}
.sla-holiday-add {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  padding: 8px;
}
.sla-holiday-date-input {
  padding: 9px 12px;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  background: white;
}
.sla-holiday-date-input:focus {
  border-color: var(--navy-light);
  outline: none;
}
.sla-holidays-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px;
}
.sla-holiday-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #edf3ff;
  border: 1.5px solid #c5d8f8;
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--navy);
}
.sla-holiday-chip .shc-icon {
  font-size: 13px;
}
.sla-holiday-chip .shc-date {
  font-weight: 600;
  font-size: 12.5px;
}
.sla-holiday-chip .shc-remove {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-size: 12px;
  padding: 0 2px;
  line-height: 1;
  transition: opacity var(--transition);
}
.sla-holiday-chip .shc-remove:hover {
  opacity: 0.65;
}
.parent-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  background:
    linear-gradient(
      135deg,
      var(--navy) 0%,
      var(--navy-mid) 100%);
  border-radius: var(--radius);
  padding: 24px 28px;
  color: #fff;
  margin-bottom: 20px;
  direction: rtl;
}
.ph-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.25);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  flex: 0 0 auto;
}
.ph-text {
  flex: 1 1 auto;
}
.ph-text h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
}
.ph-text p {
  font-size: 13px;
  opacity: 0.8;
  margin: 0;
}
.ph-actions {
  flex: 0 0 auto;
}
.parent-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.pkpi-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid transparent;
  text-align: center;
  transition: var(--transition);
}
.pkpi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pkpi-card.blue {
  border-color: #3498db;
}
.pkpi-card.blue .pkpi-icon {
  color: #3498db;
}
.pkpi-card.teal {
  border-color: var(--teal);
}
.pkpi-card.teal .pkpi-icon {
  color: var(--teal);
}
.pkpi-card.green {
  border-color: var(--green);
}
.pkpi-card.green .pkpi-icon {
  color: var(--green);
}
.pkpi-card.gold {
  border-color: var(--gold);
}
.pkpi-card.gold .pkpi-icon {
  color: var(--gold);
}
.pkpi-card.pkpi-card-alert {
  border-color: #e74c3c;
  background: #fff8f8;
}
.pkpi-card.pkpi-card-alert .pkpi-icon {
  color: #e74c3c;
}
.pkpi-icon {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
}
.pkpi-val {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
}
.pkpi-label {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
}
.parent-children-card {
  direction: rtl;
}
.parent-empty-state {
  text-align: center;
  padding: 32px;
}
.parent-child-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
  padding: 4px 0 8px;
}
.parent-child-card {
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.parent-child-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.parent-child-card.pcc-needs-action {
  border-color: rgba(231, 76, 60, 0.35);
  background: #fff9f9;
}
.pcc-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pcc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--navy) 0%,
      var(--navy-mid) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.pcc-identity {
  flex: 1 1 auto;
}
.pcc-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.pcc-grade {
  font-size: 12px;
  color: var(--gray);
  margin-top: 3px;
}
.pcc-appid {
  font-size: 11.5px;
  color: var(--gray);
  margin-top: 2px;
}
.pcc-action-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  background: #f0f6ff;
  color: var(--navy-mid);
}
.pcc-action-hint.pcc-hint-warn {
  background: #fff4ec;
  color: #c0392b;
}
.pcc-action-hint.pcc-hint-success {
  background: #edfaf4;
  color: #1a7a4a;
}
.pcc-hint-icon {
  font-size: 14px;
  flex: 0 0 auto;
}
.pcc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--gray-light);
}
.pcc-date {
  font-size: 12px;
  color: var(--gray);
}
.parent-help-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background:
    linear-gradient(
      135deg,
      rgba(30, 184, 164, 0.08) 0%,
      rgba(30, 184, 164, 0.04) 100%);
  border: 1px solid rgba(30, 184, 164, 0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  direction: rtl;
  margin-top: 4px;
  margin-bottom: 20px;
}
.phb-icon {
  font-size: 24px;
  flex: 0 0 auto;
}
.phb-text {
  flex: 1 1 auto;
}
.phb-text strong {
  font-size: 14px;
  color: var(--navy);
}
.phb-text p {
  font-size: 12.5px;
  color: var(--gray);
  margin: 2px 0 0;
}
.dash-quality-link {
  text-decoration: none;
}
.dash-quality-link:hover {
  background: #f0f6ff;
}
.portal-summary-strip {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  direction: rtl;
  margin-bottom: 20px;
}
.pss-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px;
  gap: 4px;
}
.pss-item.teal .pss-val {
  color: var(--teal);
}
.pss-item.green .pss-val {
  color: var(--green);
}
.pss-item.gold .pss-val {
  color: var(--gold);
}
.pss-item.pss-item-alert .pss-val {
  color: #e74c3c;
}
.pss-val {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.pss-label {
  font-size: 11.5px;
  color: var(--gray);
}
.pss-sep {
  width: 1px;
  background: var(--gray-light);
  align-self: stretch;
}
.portal-empty-card {
  padding: 24px;
}
.inline-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.portal-summary-box {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 20px;
}
.portal-summary-box .portal-summary-box-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 14px;
}
.portal-fee-box {
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
.portal-fee-box .portal-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.portal-fee-box .portal-fee-label {
  color: var(--navy);
}
.portal-fee-box .portal-fee-total {
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
}
.portal-fee-box .portal-fee-breakdown {
  font-size: 12.5px;
  color: var(--gray);
  margin-bottom: 16px;
}
.btn-submit-app {
  padding: 12px 32px;
  font-size: 15px;
}
.portal-child-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
  direction: rtl;
}
.portal-child-card {
  background: #fff;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.portal-child-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.portal-child-card.pcc-needs-action {
  border-color: rgba(231, 76, 60, 0.4);
  background:
    linear-gradient(
      160deg,
      #fff9f9 0%,
      #fff 100%);
}
.portal-child-card.pcc-accepted {
  border-color: rgba(46, 204, 113, 0.35);
  background:
    linear-gradient(
      160deg,
      #f0fdf4 0%,
      #fff 100%);
}
.pcc-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pcc-avatar-wrap {
  flex: 0 0 auto;
}
.portal-child-card .pcc-avatar {
  width: 50px;
  height: 50px;
  font-size: 17px;
}
.pcc-identity {
  flex: 1 1 auto;
}
.pcc-grade {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}
.pcc-grade-chip,
.pcc-branch-chip {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f0f4fa;
  color: var(--navy-mid);
  border: 1px solid #e0e8f4;
}
.pcc-appid {
  font-size: 11.5px;
  color: var(--gray);
  margin-top: 4px;
}
.pcc-status-col {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.pcc-date {
  font-size: 11px;
  color: var(--gray);
}
.pcc-hint-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  background: #f0f6ff;
  color: var(--navy-mid);
  line-height: 1.5;
}
.pcc-hint-row.pcc-hint-warn {
  background: #fff4ec;
  color: #b03a2e;
}
.pcc-hint-row.pcc-hint-success {
  background: #edfaf4;
  color: #1a7a4a;
}
.pcc-hint-icon {
  font-size: 15px;
  flex: 0 0 auto;
}
.pcc-chat-btn {
  position: relative;
}
.pcc-chat-badge {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  background: var(--danger, #e74c3c);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 5px;
  min-width: 16px;
  text-align: center;
}
.pcc-requirement-notes {
  margin: 8px 0 4px;
  padding: 10px 14px;
  background: #fff8ec;
  border: 1px solid #f0c060;
  border-radius: 8px;
}
.pcc-requirement-notes .prn-label {
  font-size: 12px;
  font-weight: 700;
  color: #b07000;
  margin-bottom: 4px;
}
.pcc-requirement-notes .prn-text {
  font-size: 13px;
  color: #5a3c00;
  white-space: pre-wrap;
}
.prn-modal-text {
  margin: 6px 0 0;
}
.pcc-interview-block {
  margin: 8px 0 4px;
  padding: 10px 14px;
  background: #f0f6ff;
  border: 1px solid #b8d0f0;
  border-radius: 8px;
}
.pcc-interview-block .pci-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1a4a8a;
  margin-bottom: 6px;
}
.pcc-interview-block .pci-status-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  background: #dce9ff;
  color: #1a4a8a;
}
.pcc-interview-block .pci-status-chip.pci-scheduled {
  background: #dce9ff;
  color: #1a4a8a;
}
.pcc-interview-block .pci-status-chip.pci-completed {
  background: #d4f5e2;
  color: #1a6b40;
}
.pcc-interview-block .pci-status-chip.pci-cancelled {
  background: #fde8e8;
  color: #a32020;
}
.pcc-interview-block .pci-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #444;
}
.pcc-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
  border-top: 1px solid var(--gray-light);
}
input[type=checkbox] {
  width: unset !important;
}
.reg-form-panel {
  overflow-y: auto;
}
.reg-card {
  max-width: 560px;
  width: 100%;
}
.reg-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 0 10px;
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 14px;
}
.reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.reg-terms-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray);
  margin: 14px 0 18px;
  cursor: pointer;
}
.reg-terms-row a {
  color: var(--teal);
  text-decoration: none;
}
.reg-terms-row a:hover {
  text-decoration: underline;
}
.reg-terms-row input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  flex-shrink: 0;
}
.reg-login-link {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-light);
}
.reg-login-link a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}
.reg-login-link a:hover {
  text-decoration: underline;
}
.login-register-link {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 10px;
}
.login-register-link a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}
.login-register-link a:hover {
  text-decoration: underline;
}
.add-child-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #f4f8fc;
  border-radius: 10px;
  border: 1px solid #dde6f0;
}
.add-child-topbar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.portal-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wizard-success-card {
  text-align: center;
  padding: 48px 32px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(10, 22, 40, 0.07);
  max-width: 580px;
  margin: 0 auto;
}
.wsc-icon {
  font-size: 64px;
  margin-bottom: 16px;
}
.wsc-title {
  font-size: 22px;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 8px;
}
.wsc-appid {
  color: var(--gray);
  margin-bottom: 12px;
}
.wsc-appid strong {
  color: var(--gold);
  font-size: 17px;
}
.wsc-hint {
  color: var(--gray);
  font-size: 13.5px;
  max-width: 400px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.wsc-qr-card {
  max-width: 480px;
  margin: 0 auto 24px !important;
  padding: 20px !important;
  text-align: start;
}
.wsc-qr-title {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 16px;
}
.wsc-qr-expiry {
  margin: 0 0 14px;
  color: var(--gray);
  font-size: 12.5px;
}
.wsc-qr-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 0 12px;
}
.wsc-link-box {
  background: #f8fafc;
  border: 1px solid #e7edf4;
  padding: 10px;
  border-radius: 10px;
  word-break: break-all;
  font-size: 11.5px;
  color: #516172;
  margin-bottom: 12px;
}
.wsc-actions {
  margin: 0 !important;
  justify-content: center !important;
  gap: 10px !important;
}
.wsc-fallback {
  max-width: 480px;
  margin: 0 auto 24px;
}
.wsc-footer-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn-outline {
  background: #e9ecef;
}
.btn-login {
  background: var(--navy);
  color: white;
}
.btn-primary {
  background: var(--teal);
  color: white;
}
.logo-text span {
  color: var(--gray);
}
.portal-header p {
  color: var(--gray);
}
@media (max-width: 900px) {
  .page-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .ph-kpis {
    flex-wrap: wrap;
  }
  .rpt-nav-cards {
    grid-template-columns: 1fr;
  }
  .tab-nav {
    width: 100%;
  }
  .section-toolbar {
    width: 100%;
  }
  .parent-hero {
    flex-direction: column;
    text-align: center;
  }
  .parent-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .parent-child-grid {
    grid-template-columns: 1fr;
  }
  .portal-child-cards-grid {
    grid-template-columns: 1fr;
  }
  .portal-summary-strip {
    flex-wrap: wrap;
  }
  .pss-sep {
    display: none;
  }
  .reg-row {
    grid-template-columns: 1fr;
  }
  .portal-header-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
}
@media (max-width: 600px) {
  .parent-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-hero {
    padding: 20px;
  }
  .ph-title {
    font-size: 18px;
  }
  .ph-kpi {
    min-width: 88px;
    padding: 10px 12px;
  }
  .ph-kpi strong {
    font-size: 17px;
  }
  .rpt-nav-card {
    padding: 14px;
  }
}
[dir=ltr] body {
  direction: ltr;
}
[dir=ltr] input,
[dir=ltr] select,
[dir=ltr] textarea {
  direction: ltr;
}
[dir=ltr] .sidebar {
  right: auto;
  left: 0;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}
[dir=ltr] .main {
  margin-right: 0;
  margin-left: var(--sidebar-w);
}
[dir=ltr] .sb-item.sb-item--active::before {
  inset-inline-start: auto;
  inset-inline-end: -10px;
  border-radius: 3px 0 0 3px;
}
[dir=ltr] .page-title span {
  margin-right: 0;
  margin-left: 8px;
}
[dir=ltr] .notif-info {
  border-right: none;
  border-left: 4px solid #2980b9;
}
[dir=ltr] .notif-success {
  border-right: none;
  border-left: 4px solid #27ae60;
}
[dir=ltr] .notif-warning {
  border-right: none;
  border-left: 4px solid #f39c12;
}
[dir=ltr] .notif-error {
  border-right: none;
  border-left: 4px solid #e74c3c;
}
[dir=ltr] th,
[dir=ltr] td {
  text-align: left;
}
[dir=ltr] .brand-features {
  text-align: left;
}
[dir=ltr] .timeline {
  padding-right: 0;
  padding-left: 24px;
}
[dir=ltr] .timeline::before {
  right: auto;
  left: 7px;
}
[dir=ltr] .timeline-dot {
  right: auto;
  left: -24px;
}
.qr-aside ul li {
  margin-inline-start: 8px;
}
textarea {
  padding: 8px;
  border-radius: 10px;
}
@media (max-width: 900px) {
  [dir=ltr] .main {
    margin-left: 0;
  }
  [dir=ltr] .sidebar {
    transform: translateX(-105%);
  }
  [dir=ltr] .app-shell-mobile-open .sidebar {
    transform: translateX(0);
  }
  [dir=ltr] .portal-header-actions {
    align-items: flex-start;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
