/* ═══════════════════════════════════════════════════
   ELNUR GABARRON · CAES CONSULTING — Main Stylesheet
   Colors: Navy #1a2b5e | Red #e30613 | White #ffffff
   ═══════════════════════════════════════════════════ */

:root {
  --navy: #1a2b5e;
  --navy-light: #243872;
  --navy-dark: #111e42;
  --red: #e30613;
  --red-dark: #c0050f;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e2e6ea;
  --gray-400: #adb5bd;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --success: #198754;
  --danger: #dc3545;
  --warning: #fd7e14;
  --info: #0dcaf0;

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(26,43,94,.12);
  --shadow: 0 4px 16px rgba(26,43,94,.14);
  --shadow-lg: 0 12px 40px rgba(26,43,94,.18);
  --transition: all .22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--red); }
ul { list-style: none; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════════════════
   TOPBAR
══════════════════════════════════════════════ */
.topbar {
  background: var(--navy-dark);
  color: var(--gray-400);
  font-size: 12px;
  font-family: var(--font-display);
  padding: 6px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar-links { display: flex; gap: 20px; align-items: center; }
.topbar-links a { color: var(--gray-400); font-size: 12px; letter-spacing: .03em; }
.topbar-links a:hover { color: var(--white); }
.topbar-user { color: var(--gray-200); font-weight: 600; }

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  background: var(--white);
  border-bottom: 3px solid var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.navbar-logo img { height: 52px; width: auto; }
.navbar-menu { display: flex; gap: 8px; align-items: center; }
.navbar-menu li a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}
.navbar-menu li a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}
.navbar-menu li a:hover::after,
.navbar-menu li a.active::after { left: 16px; right: 16px; }
.navbar-menu li a:hover,
.navbar-menu li a.active { color: var(--red); }
.navbar-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.navbar-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* ══════════════════════════════════════════════
   ALERTS
══════════════════════════════════════════════ */
.alerts-container { padding: 12px 0 0; }
.alert {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-display);
  margin-bottom: 8px;
  font-weight: 500;
}
.alert-success { background: #d1e7dd; color: #0a3622; border-left: 4px solid var(--success); }
.alert-danger   { background: #f8d7da; color: #58151c; border-left: 4px solid var(--danger); }
.alert-warning  { background: #fff3cd; color: #664d03; border-left: 4px solid var(--warning); }
.alert-info     { background: #cff4fc; color: #055160; border-left: 4px solid var(--info); }
.alert-close { background: none; border: none; font-size: 16px; cursor: pointer; opacity: .6; }
.alert-close:hover { opacity: 1; }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex; align-items: center;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(17,30,66,.85) 0%, rgba(17,30,66,.5) 50%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  color: var(--white);
  max-width: 560px;
  padding: 0 24px;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(255,255,255,.1);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(227,6,19,.4);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hero-title span { color: var(--red); }
.hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  opacity: .9;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-light); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: 11px; }
.btn-danger { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-danger:hover { background: #b02a37; color: var(--white); }

/* ══════════════════════════════════════════════
   HOME SECTIONS
══════════════════════════════════════════════ */
.section { padding: 72px 0; }
.section-light { background: var(--gray-50); }
.section-navy { background: var(--navy); color: var(--white); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-navy .section-title { color: var(--white); }
.section-subtitle { font-size: 16px; color: var(--gray-600); max-width: 600px; margin-bottom: 48px; }
.section-navy .section-subtitle { color: rgba(255,255,255,.75); }
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

/* Feature cards */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-top-color: var(--red); }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 64px 0;
  text-align: center;
}
.cta-band img.cta-asset { max-width: 480px; margin: 24px auto 0; border-radius: var(--radius); }

/* ══════════════════════════════════════════════
   FORM PAGE
══════════════════════════════════════════════ */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 52px 0 44px;
  color: var(--white);
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  margin-bottom: 10px;
}
.page-header p { font-size: 15px; opacity: .8; }
.page-header .red-bar { width: 52px; height: 4px; background: var(--red); margin: 16px auto 0; border-radius: 2px; }

.form-section { padding: 60px 0; background: var(--gray-50); }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
}
.form-card-header {
  background: var(--navy);
  padding: 24px 36px;
  display: flex; align-items: center; gap: 12px;
}
.form-card-header h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.form-card-header .badge-red {
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--font-display);
  letter-spacing: .05em;
}
.form-body { padding: 36px; }
.form-section-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red);
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 8px;
  margin: 28px 0 20px;
}
.form-section-title:first-child { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
label .req { color: var(--red); }
input[type="text"], input[type="tel"], input[type="number"], input[type="email"],
input[type="password"], select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,43,94,.1);
}
select { cursor: pointer; }
textarea { resize: vertical; min-height: 90px; }

/* Radio options */
.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-option {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.radio-option:hover { border-color: var(--navy); background: var(--gray-50); }
.radio-option.selected { border-color: var(--navy); background: rgba(26,43,94,.04); }
.radio-option input[type="radio"] { margin-top: 2px; accent-color: var(--navy); width: 18px; height: 18px; flex-shrink: 0; }
.radio-label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.radio-label span { font-size: 12px; color: var(--gray-600); }

/* Sub-options reveal */
.sub-options { display: none; margin-top: 16px; }
.sub-options.visible { display: block; }
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.sub-option {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  transition: var(--transition);
  font-family: var(--font-display);
  font-weight: 600;
}
.sub-option:hover { border-color: var(--red); color: var(--red); }
.sub-option input[type="radio"] { accent-color: var(--red); }
.sub-option.selected { border-color: var(--red); color: var(--red); background: rgba(227,6,19,.04); }

.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--gray-200); }

/* ══════════════════════════════════════════════
   SUCCESS PAGE
══════════════════════════════════════════════ */
.success-card {
  max-width: 640px;
  margin: 64px auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: center;
}
.success-header { background: var(--navy); padding: 48px 36px 36px; color: var(--white); }
.success-icon { font-size: 64px; margin-bottom: 16px; }
.success-header h1 { font-family: var(--font-display); font-size: 26px; font-weight: 800; }
.success-body { padding: 36px; }
.success-ref {
  display: inline-block;
  background: var(--gray-100);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 20px 0;
}
.success-body p { color: var(--gray-600); margin-bottom: 24px; }

/* ══════════════════════════════════════════════
   LOGIN
══════════════════════════════════════════════ */
.login-wrap {
  min-height: calc(100vh - 160px);
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-50);
  padding: 40px 24px;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%; max-width: 440px;
}
.login-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 40px 36px 32px;
  text-align: center;
}
.login-header img { height: 52px; margin: 0 auto 20px; }
.login-header h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.login-header p { color: rgba(255,255,255,.65); font-size: 13px; margin-top: 6px; }
.login-body { padding: 36px; }
.login-body .form-group { margin-bottom: 18px; }
.login-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-600); margin: 4px 0 20px; cursor: pointer; }
.login-check input { accent-color: var(--navy); }

/* ══════════════════════════════════════════════
   DASHBOARD
══════════════════════════════════════════════ */
.dashboard-wrap { display: flex; min-height: calc(100vh - 160px); }
.sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--navy-dark);
  padding: 32px 0;
  position: sticky; top: 75px; height: calc(100vh - 75px);
  overflow-y: auto;
}
.sidebar-user {
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 16px;
}
.sidebar-avatar {
  width: 52px; height: 52px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.sidebar-user h3 { color: var(--white); font-size: 15px; font-family: var(--font-display); font-weight: 700; }
.sidebar-user .role-badge {
  display: inline-block;
  font-size: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 4px;
}
.role-badge.admin { background: var(--red); color: var(--white); }
.role-badge.normal { background: rgba(255,255,255,.15); color: rgba(255,255,255,.8); }
.sidebar-nav { padding: 0 16px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.7);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  transition: var(--transition);
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(255,255,255,.1);
  color: var(--white);
}
.sidebar-nav .sidebar-divider {
  font-size: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 16px 14px 8px;
}

.dashboard-main { flex: 1; padding: 36px 40px; background: var(--gray-50); }
.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap; gap: 12px;
}
.dash-header h1 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
}
.dash-header p { font-size: 13px; color: var(--gray-600); margin-top: 2px; }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--navy);
}
.stat-card.red { border-left-color: var(--red); }
.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.stat-card.red .stat-num { color: var(--red); }
.stat-label { font-size: 12px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-600); margin-top: 4px; }

/* Table */
.table-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 32px;
}
.table-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 2px solid var(--gray-100);
}
.table-card-header h2 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}
table { width: 100%; border-collapse: collapse; }
thead { background: var(--navy); }
thead th {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  padding: 12px 16px;
  text-align: left;
}
tbody tr { border-bottom: 1px solid var(--gray-100); transition: var(--transition); }
tbody tr:hover { background: var(--gray-50); }
tbody td { padding: 14px 16px; font-size: 13px; color: var(--gray-800); }
.td-name { font-weight: 700; color: var(--navy); }
.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.badge-electric { background: #cff4fc; color: #055160; }
.badge-combustion { background: #fff3cd; color: #664d03; }
.badge-admin { background: rgba(227,6,19,.1); color: var(--red); }
.badge-normal { background: var(--gray-100); color: var(--gray-600); }
.empty-state { text-align: center; padding: 48px 24px; color: var(--gray-400); font-family: var(--font-display); }
.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; }

/* Detail view */
.detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 760px;
}
.detail-header { background: var(--navy); padding: 28px 32px; }
.detail-header h2 { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--white); }
.detail-header p { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 4px; }
.detail-body { padding: 32px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.detail-field label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray-400);
  display: block;
  margin-bottom: 4px;
}
.detail-field .val { font-size: 15px; color: var(--gray-800); font-weight: 600; }
.detail-divider { height: 2px; background: var(--gray-100); margin: 24px 0; grid-column: 1 / -1; }
.detail-system {
  grid-column: 1 / -1;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 18px 20px;
  border-left: 4px solid var(--red);
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { font-size: 13px; margin-top: 12px; line-height: 1.7; opacity: .7; }
.footer-logo { height: 44px; margin-bottom: 8px; }
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-links a { display: block; font-size: 13px; margin-bottom: 8px; color: rgba(255,255,255,.6); }
.footer-links a:hover { color: var(--red); }
.footer-contact p { font-size: 13px; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  font-family: var(--font-display);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .dashboard-wrap { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; }
  .form-grid, .detail-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .sub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .navbar-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: var(--shadow-lg); border-top: 2px solid var(--navy); }
  .navbar-menu.open { display: flex; }
  .navbar { position: relative; }
  .navbar-toggle { display: flex; }
  .hero { height: 380px; }
  .hero-title { font-size: 26px; }
  .hero-content { max-width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .topbar span { display: none; }
  .form-body { padding: 20px; }
  .dashboard-main { padding: 20px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  table { font-size: 12px; }
  thead th, tbody td { padding: 10px 10px; }
}
.info-icon {
  position: relative;
  display: inline-block;
  cursor: pointer;
  font-size: 14px;
  margin-left: 6px;
  vertical-align: middle;
}

.info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #1a2b5e;
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  width: 260px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 100;
  font-family: var(--font-body);
  font-weight: 400;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.info-icon::before {
  content: '';
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1a2b5e;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.info-icon:hover::after,
.info-icon:hover::before {
  opacity: 1;
}