@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --brand-primary: #0b5cab;
  --brand-primary-dark: #084882;
  --brand-surface: #ffffff;
  --brand-surface-soft: #f6f9fc;
  --brand-border: #d7e3f1;
  --brand-text: #15324d;
  --brand-muted: #5a7189;
  --brand-success: #198754;
  --brand-danger: #bb2d3b;
  --shadow-soft: 0 10px 24px rgba(11, 92, 171, 0.08);
  --shadow-pop: 0 16px 40px rgba(11, 92, 171, 0.14);
  --radius-lg: 14px;
  --radius-md: 10px;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, sans-serif;
  color: var(--brand-text);
  background:
    radial-gradient(circle at 10% -10%, rgba(11, 92, 171, 0.12), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(23, 162, 184, 0.10), transparent 35%),
    linear-gradient(180deg, #f4f8fc 0%, #ecf3fa 100%);
}

a {
  color: var(--brand-primary);
}

a:hover {
  color: var(--brand-primary-dark);
}

.navbar,
.topbar,
header.navbar,
.header {
  border-bottom: 1px solid rgba(11, 92, 171, 0.12);
}

.navbar .nav-link,
.navbar-brand,
.topbar a,
header .nav-link {
  color: inherit;
}

.card,
.panel,
.content-card,
.modal-content {
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-soft);
  background: var(--brand-surface);
}

.btn {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info {
  border: none;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand-primary) 0%, #1b76cc 100%);
}

.btn-primary:hover {
  background: linear-gradient(120deg, var(--brand-primary-dark) 0%, #155ea4 100%);
}

.form-control,
.form-select,
.input-group-text,
.form-check-input {
  border-radius: var(--radius-md);
  border-color: #c8d9eb;
}

.form-control:focus,
.form-select:focus {
  border-color: #8db8e2;
  box-shadow: 0 0 0 0.2rem rgba(11, 92, 171, 0.15);
}

.alert {
  border-radius: var(--radius-md);
}

.dashboard-shell {
  max-width: 1340px;
  margin: 0 auto;
  padding-top: 1.1rem;
  padding-bottom: 1.6rem;
}

.dashboard-shell > section {
  margin-bottom: 1.35rem;
}

.dashboard-shell .hero,
.dashboard-shell .hero-shell {
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(2px);
}

.dashboard-shell .panel,
.dashboard-shell .surface,
.dashboard-shell .metric-card,
.dashboard-shell .stat-card,
.dashboard-shell .kpi-card,
.dashboard-shell .feature-tile,
.dashboard-shell .module-card,
.dashboard-shell .signal-item,
.dashboard-shell .ratio-box {
  border-radius: 14px;
}

.dashboard-shell .panel,
.dashboard-shell .surface {
  padding: 1rem;
}

.dashboard-shell .quick-link,
.dashboard-shell .command-link {
  min-height: 44px;
}

.dashboard-shell .section-heading,
.dashboard-shell .panel-header {
  letter-spacing: 0.01em;
}

.dashboard-shell .row.g-3 {
  --bs-gutter-y: 1.1rem;
}

.dashboard-shell .row.g-4 {
  --bs-gutter-y: 1.35rem;
}

@media (max-width: 768px) {
  .card,
  .panel,
  .content-card,
  .modal-content {
    border-radius: 12px;
  }

  .btn {
    border-radius: 12px;
  }

  .dashboard-shell {
    padding-top: 0.6rem;
    padding-bottom: 1rem;
  }
}
