:root {
  color-scheme: light;
  --brand-indigo: #0d1b3d;
  --brand-blue: #1b76ff;
  --brand-blue-dark: #0f4eb3;
  --brand-gold: #f6c343;
  --surface: #ffffff;
  --surface-muted: #f4f6fb;
  --text-main: #101828;
  --text-muted: #475467;
  --border: #d0d5dd;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(
    circle at top,
    #edf2ff 0%,
    #f8fbff 40%,
    #eef2f8 100%
  );
  color: var(--text-main);
}

a {
  color: var(--brand-blue);
  text-decoration: none;
}

.app-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  margin-bottom: 28px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--surface);
  letter-spacing: 1px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text span:first-child {
  font-size: 15px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.2em;
}

.brand-text span:last-child {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-indigo);
}

.primary-nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
  color: var(--text-muted);
}

.primary-nav span {
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.primary-nav span.active,
.primary-nav span:hover {
  background: var(--surface-muted);
  color: var(--brand-indigo);
}

.cta-group {
  display: flex;
  gap: 10px;
}

.cta-outline,
.cta-primary,
.button-link,
.primary-button,
.button-secondary {
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cta-outline,
.button-secondary {
  background: transparent;
  border-color: var(--brand-indigo);
  color: var(--brand-indigo);
}

.cta-outline:hover,
.button-secondary:hover {
  background: rgba(13, 27, 61, 0.05);
}

.cta-primary,
.button-link,
.primary-button {
  background: linear-gradient(
    135deg,
    var(--brand-blue),
    var(--brand-blue-dark)
  );
  color: var(--surface);
  border: none;
  box-shadow: 0 12px 24px rgba(8, 82, 204, 0.25);
}

.cta-primary:hover,
.button-link:hover,
.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(8, 82, 204, 0.3);
}

.primary-button.is-disabled,
.primary-button:disabled {
  background: linear-gradient(135deg, #d0d5dd, #ced3df);
  color: #667085;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.primary-button.is-disabled:hover,
.primary-button:disabled:hover {
  box-shadow: none;
  transform: none;
}

.main-content {
  display: grid;
  gap: 24px;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 36px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}

.hero-copy h1 {
  font-size: 34px;
  margin: 0 0 12px;
  color: var(--brand-indigo);
}

.hero-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

.stat-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-card {
  border-radius: 18px;
  padding: 18px;
  background: var(--surface-muted);
}

.stat-card strong {
  display: block;
  font-size: 22px;
  color: var(--brand-indigo);
}

.action-grid,
.info-grid {
  display: grid;
  gap: 18px;
}

.action-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.info-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: var(--surface);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(208, 213, 221, 0.7);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--brand-indigo);
}

.card p {
  margin-top: 0;
  color: var(--text-muted);
}

.link-form {
  display: inline-block;
  margin-right: 12px;
}

.section-title {
  font-size: 18px;
  margin: 8px 0 2px;
  color: var(--text-muted);
}

.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27, 118, 255, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--brand-blue-dark);
  font-weight: 600;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.profile-form label {
  font-weight: 600;
  color: var(--text-muted);
}

.profile-form input,
.read-only-field,
.profile-form select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  font-size: 15px;
}

.profile-form button {
  align-self: flex-start;
}

.status {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
}

.status.success {
  background: rgba(46, 125, 50, 0.12);
  color: #1b5e20;
}

.status.error {
  background: rgba(198, 40, 40, 0.12);
  color: #8e0000;
}

.status.warning {
  background: rgba(161, 92, 0, 0.12);
  color: #7a4100;
}

.status.warning.small {
  margin-top: -4px;
  font-size: 13px;
}

.read-only-field {
  margin: 0;
}

.verification-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
}

.verification-card.pending {
  border-color: #ffb74d;
  background-color: #fff3e0;
}

.verification-card.verified {
  border-color: #66bb6a;
  background-color: #f1fff1;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf0f7;
  text-align: left;
}

.data-table th {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
}

.data-table td {
  font-size: 14px;
  color: var(--text-main);
}

.info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.info-links .button-link {
  border-radius: 12px;
}

.category-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 36px 0 18px;
}

.category-header h2 {
  margin: 0;
  font-size: 24px;
  color: var(--brand-indigo);
}

.category-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 540px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(15, 78, 179, 0.1);
  color: var(--brand-blue-dark);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.stat-list li {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text-main);
}

.stat-list li span {
  color: var(--text-muted);
  font-weight: 500;
}

.transaction-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transaction-card {
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--surface-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.transaction-card strong {
  color: var(--brand-indigo);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.form-grid .profile-form {
  grid-column: 1 / -1;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-weight: 600;
  color: var(--text-muted);
}

.input-group input,
.input-group select,
.input-group textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  font-size: 15px;
}

.button-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.surface-muted-card {
  background: var(--surface-muted);
  border-radius: 16px;
  padding: 18px;
}

.pill-divider {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
}

.pill-divider::before,
.pill-divider::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(15, 23, 42, 0.15);
}

.mock-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.mock-card-grid .card {
  min-height: 160px;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
  }

  .primary-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-panel {
    padding: 24px;
  }
}
