@import url("./layout/navbar.css");
@import url("./components/drawer.css");

/* CLEAN BASE ONLY MAIN.CSS */

:root{
  --bg:#ffffff;
  --fg:#0f172a;
  --muted:#475569;
  --surface:#ffffff;
  --surface-2:#f8fafc;
  --border:#e5e7eb;

  --primary:#2563eb;
  --primary-dark:#1d4ed8;
  --brand-blue:#2563eb;
  --brand-blue-dark:#1d4ed8;
  --brand-blue-soft:#dbeafe;
  --brand-blue-soft-2:#eff6ff;
}

:root[data-theme="dark"]{
  --bg:#0b1220;
  --fg:#f3f7fd;
  --muted:#b8c3d6;
  --surface:#111827;
  --surface-2:#0f172a;
  --border:rgba(255,255,255,.12);

  --primary:#60a5fa;
  --primary-dark:#3b82f6;
  --brand-blue:#60a5fa;
  --brand-blue-dark:#3b82f6;
  --brand-blue-soft:#1e3a8a;
  --brand-blue-soft-2:#172554;
}

html,
body{
  background:var(--bg);
  color:var(--fg);
}

body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}

img{
  max-width:100%;
  height:auto;
}

a{
  text-decoration-thickness:.08em;
  text-underline-offset:.12em;
}

h1, h2, h3, h4, h5, h6{
  color:var(--fg);
}

.text-muted{
  color:var(--muted) !important;
}

.bg-section{
  background:var(--surface-2);
}

.site-footer{
  border-top:1px solid var(--border);
  padding:32px 0;
  background:var(--surface-2);
  color:var(--fg);
}

.card,
.lux-panel,
.lux-card{
  background:var(--surface);
  color:var(--fg);
  border:1px solid var(--border);
  box-shadow:0 12px 30px rgba(15,23,42,.06);
}

.btn-primary{
  background:var(--primary);
  border-color:var(--primary);
}

.btn-primary:hover,
.btn-primary:focus{
  background:var(--primary-dark);
  border-color:var(--primary-dark);
}

.btn-success,
button.btn-success,
a.btn-success{
  background:var(--brand-blue);
  border-color:var(--brand-blue);
  color:#fff;
}

.btn-success:hover,
.btn-success:focus,
button.btn-success:hover,
button.btn-success:focus,
a.btn-success:hover,
a.btn-success:focus{
  background:var(--brand-blue-dark);
  border-color:var(--brand-blue-dark);
  color:#fff;
}

.btn-outline-success{
  color:var(--brand-blue);
  border-color:var(--brand-blue);
}

.btn-outline-success:hover,
.btn-outline-success:focus{
  background:var(--brand-blue);
  border-color:var(--brand-blue);
  color:#fff;
}

.bg-success,
.badge.bg-success,
.text-bg-success,
.badge.text-bg-success{
  background:var(--brand-blue) !important;
  color:#fff !important;
}

.bg-success-subtle{
  background:var(--brand-blue-soft-2) !important;
  color:var(--brand-blue-dark) !important;
}

.text-success{
  color:var(--brand-blue) !important;
}

.border-success{
  border-color:var(--brand-blue) !important;
}

.alert-success{
  background:var(--brand-blue-soft-2) !important;
  border-color:#93c5fd !important;
  color:var(--brand-blue-dark) !important;
}

/* THEME SAFE FOOTER OVERRIDES */
.site-footer{
  background:var(--surface-2) !important;
  color:var(--fg) !important;
  border-top:1px solid var(--border) !important;
}

.site-footer .footer-link{
  color:var(--muted) !important;
  text-decoration:none;
}

.site-footer .footer-link:hover,
.site-footer .footer-link:focus{
  color:var(--fg) !important;
  text-decoration:underline;
}

.site-footer .text-white-50{
  color:var(--muted) !important;
}

.site-footer .fw-bold,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6{
  color:var(--fg) !important;
}

.site-footer .border-secondary-subtle{
  border-color:var(--border) !important;
}

/* EXTRACTED FROM base.html STYLE BLOCK #1 */
.cookie-consent-banner{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:1080;
    background:#111;
    color:#fff;
    padding:14px 16px;
    box-shadow:0 -6px 24px rgba(0,0,0,.18)
  }

  .cookie-consent-banner[hidden]{
    display:none !important;
  }

  .cookie-consent-inner{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    gap:12px;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap
  }

  .cookie-consent-text{
    margin:0;
    font-size:.95rem;
    line-height:1.45
  }

  .cookie-consent-actions{
    display:flex;
    gap:8px;
    flex-wrap:wrap
  }

/* === GROUP 1 FOUNDATION UTILITIES === */
.syt-footer-logo{
  max-height:64px;
  width:auto;
}

.syt-copy-max-58{max-width:58rem;}
.syt-copy-max-54{max-width:54rem;}

.syt-circle-badge{
  width:3.25rem;
  height:3.25rem;
}

.syt-nav-back{
  margin-bottom:16px;
}


/* === GROUP 1 MARKETING PAGES === */
.syt-footer-logo{
  max-height:64px;
  width:auto;
}

.syt-copy-max-54{max-width:54rem;}
.syt-copy-max-58{max-width:58rem;}
.syt-icon-badge{
  width:3.25rem;
  height:3.25rem;
}

.syt-legal-nav{
  margin-bottom:16px;
}
