:root {
  --adminlte-body-bg: #f5f7fb;
  --adminlte-border-radius: 18px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
}

.adminlte-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background-color: #fff;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #64748b;
}

.app-header .badge {
  letter-spacing: 0.25em;
}

.tracking-wide {
  letter-spacing: 0.35em;
}

.sidebar-menu .nav-link {
  border-radius: var(--adminlte-border-radius);
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  line-height: 1.2rem;
  padding: 0.7rem 0.6rem;
  color: #e2e8f0;
}

.sidebar-menu .nav-link p,
.sidebar-menu .nav-link span {
  color: inherit;
  margin: 0;
}

.sidebar-menu .nav-link.active {
  background: linear-gradient(135deg, #4338ca, #6366f1);
  box-shadow: 0 6px 12px rgba(67, 56, 202, 0.25);
}

.sidebar-menu .nav-link .nav-icon {
  width: 1.2rem;
  text-align: center;
}

.sidebar-menu .nav-link small {
  font-size: 0.6rem;
  letter-spacing: 0.02em;
  display: block;
  color: #cbd5e1;
}

.sidebar-menu .nav-header {
  letter-spacing: 0.35em;
}

.brand-link-custom {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.login-page .card {
  border-radius: var(--adminlte-border-radius);
}

.app-content-header h1 {
  letter-spacing: -0.02em;
}

.dashboard-hero-card {
  border: 0;
  border-radius: 28px;
  background: linear-gradient(120deg, #1e1b4b, #312e81 45%, #111827 90%);
  color: #f8fafc;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.45);
}

.dashboard-hero-card .card-body {
  padding: 2.5rem;
}

.dashboard-hero-card .hero-pill {
  display: inline-flex;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  letter-spacing: 0.4em;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
}

.dashboard-hero-card .hero-stat {
  backdrop-filter: blur(18px);
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 1.25rem 1.5rem;
  color: #f8fafc;
}

.dashboard-hero-card .hero-stat__label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(248, 250, 252, 0.65);
  margin-bottom: 0.35rem;
}

.dashboard-hero-card .hero-stat__value {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.dashboard-hero-card .hero-stat__hint {
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.75);
  margin: 0;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-chip--approved {
  background: #ecfdf3;
  color: #166534;
}

.status-chip--initiated {
  background: #e2e8f0;
  color: #334155;
}

.status-chip--in_progress,
.status-chip--pending {
  background: #fff7ed;
  color: #c2410c;
}

.status-chip--rejected {
  background: #fee2e2;
  color: #b91c1c;
}

.dashboard-hero-card .hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.hero-lede {
  font-size: 1rem;
  color: rgba(248, 250, 252, 0.75);
}

.hero-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.hero-summary__item {
  flex: 1 1 170px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 0.85rem 1rem;
}

.hero-summary__item dt {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: rgba(248, 250, 252, 0.55);
  margin-bottom: 0.25rem;
}

.hero-summary__item dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
}

.amount-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef2ff;
  color: #312e81;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
}

.hero-focus {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.5);
  padding: 1.2rem 1.4rem;
  color: #f8fafc;
}

.hero-focus__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.65rem;
  color: rgba(248, 250, 252, 0.7);
}

.spi-menu-indicator {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  font-size: 0.75rem;
}

.spi-menu-indicator--available {
  color: #059669;
}

.spi-menu-indicator--missing {
  color: #d97706;
}

.hero-focus__value {
  font-size: 1.35rem;
  font-weight: 600;
}

.hero-focus__meta {
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.85);
}

.hero-glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  height: 100%;
}

.hero-glance__item {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.45);
  padding: 1.25rem;
  color: #f8fafc;
}

.hero-glance__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(248, 250, 252, 0.65);
  margin-bottom: 0.35rem;
}

.hero-glance__value {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hero-glance__hint {
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.75);
}

@media (max-width: 575.98px) {
  .hero-summary__item {
    flex: 1 1 100%;
  }

  .hero-glance {
    grid-template-columns: 1fr;
  }
}

.dashboard-shell .card {
  border-radius: 24px;
}

.info-chip {
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.info-chip small {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.soft-box {
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 15px 35px -15px rgba(15, 23, 42, 0.25);
}

.soft-box .inner {
  padding: 1.5rem;
}

.soft-box .icon {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 2rem;
  opacity: 0.35;
}

.soft-box__label {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #94a3b8;
}

.text-bg-primary-soft {
  background: rgba(79, 70, 229, 0.15);
  color: #312e81;
}

.text-bg-info-soft {
  background: rgba(59, 130, 246, 0.12);
  color: #0f172a;
}

.text-bg-success-soft {
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
}

.text-bg-dark-soft {
  background: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.timeline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
}

.stat-tile {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1rem;
  background: #f8fafc;
}

.stat-tile__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #94a3b8;
}

.stat-tile__value {
  font-size: 1.75rem;
  margin: 0;
  font-weight: 600;
  color: #0f172a;
}

.team-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.team-stack__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: #f8fafc;
}

.form-control.border-dashed {
  border-style: dashed;
  padding-block: 0.9rem;
}

.payments-shell {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.navbar-search-form {
  min-width: 220px;
}

a.architect-card__primary-link {
  color: #fff !important;
  text-decoration: none !important;
}

a.architect-card__primary-link,
a.btn.btn-primary.architect-card__primary-link,
button.btn.btn-primary.architect-card__primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #3b82f6) !important;
  border: none !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.35);
}

a.architect-card__primary-link:hover,
a.architect-card__primary-link:focus-visible,
a.btn.btn-primary.architect-card__primary-link:hover,
a.btn.btn-primary.architect-card__primary-link:focus-visible,
button.btn.btn-primary.architect-card__primary-link:hover,
button.btn.btn-primary.architect-card__primary-link:focus-visible {
  background: linear-gradient(90deg, #1d4ed8, #2563eb) !important;
  color: #fff !important;
  text-decoration: none !important;
}

.architect-card .btn.btn-ghost.btn-ghost--on-dark,
.architect-card .btn.btn-ghost.btn-ghost--on-dark:visited,
.architect-card .btn.btn-ghost.btn-ghost--on-dark:hover,
.architect-card .btn.btn-ghost.btn-ghost--on-dark:focus-visible {
  color: #fff !important;
  text-decoration: none !important;
}

.page-toolbar .btn {
  border-radius: 999px;
}

.control-sidebar .badge {
  letter-spacing: 0.25em;
}

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.35), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.3), transparent 50%),
    linear-gradient(135deg, #eef2ff, #dbeafe);
}

.login-card {
  width: 100%;
  max-width: 960px;
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.login-card__brand {
  padding: 3rem;
  background: linear-gradient(135deg, #312e81, #4338ca);
}

.login-card__brand h1 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.login-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.login-card__form {
  padding: 3rem 3.5rem;
}

.login-chip {
  display: inline-flex;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
}

@media (max-width: 640px) {
  .login-card__brand,
  .login-card__form {
    padding: 2rem;
  }
}
