/* =========================================================
   HTGAA  
    
   ========================================================= */

:root {
  --blue1: #38bdf8;
  --blue2: #2563eb;
  --blue3: #1e40af;
  --ink: #0b1b34;
  --line: rgba(37, 99, 235, 0.18);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --shadow: 0 25px 60px rgba(2, 24, 62, 0.12);
  --radius: 24px;
}

/* ---------- Background Glow ---------- */
body {
  background:
    radial-gradient(circle at 10% 20%, rgba(56,189,248,0.15), transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(37,99,235,0.12), transparent 50%),
    #f4f9ff;
  color: var(--ink);
}

/* ---------- FIXED WOWCHEMY NAVBAR ---------- */
.navbar {
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.65) !important;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* remove theme’s circular blue buttons issue */
.navbar .nav-link,
.navbar .navbar-brand {
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.navbar .nav-link:hover {
  color: var(--blue2) !important;
}

/* ---------- Article Glass Card ---------- */
article {
  background: var(--glass);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: 0.35s ease;
}

article:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 80px rgba(2,24,62,0.18);
}

/* ---------- Headings Accent ---------- */
h2 {
  position: relative;
  padding-bottom: 0.6rem;
  font-weight: 800;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue2), var(--blue1));
  box-shadow: 0 0 10px rgba(56,189,248,0.4);
}

/* ---------- Links ---------- */
a {
  color: var(--blue3);
  text-decoration: none;
  position: relative;
}

a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0%;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, var(--blue2), var(--blue1));
  transition: 0.25s ease;
}

a:hover::after {
  width: 100%;
}

/* ---------- Images (GLightbox SAFE) ---------- */

/* Style images ONLY in article flow (not inside links) */
article p > img,
article > img {
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  max-width: 100%;
  height: auto;
}

/* IMPORTANT: do NOT style images that are inside anchors (lightbox uses this) */
article a img {
  border-radius: 0 !important;
  box-shadow: none !important;
}



/* ---------- Tables ---------- */
table {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--glass-strong);
}

thead {
  background: linear-gradient(90deg, rgba(37,99,235,0.12), rgba(56,189,248,0.12));
}

td, th {
  padding: 0.9rem;
}

/* ---------- Code Blocks ---------- */
pre {
  background: #0b1b34;
  color: #eaf2ff;
  border-radius: 16px;
  padding: 1.2rem;
}

code {
  background: rgba(37,99,235,0.12);
  padding: 0.2rem 0.4rem;
  border-radius: 8px;
}

/* ----------Button Hover ---------- */
.btn, button {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue2), var(--blue1));
  border: none;
  transition: 0.25s ease;
}

.btn:hover, button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(37,99,235,0.35);
}

/* ---------- Subtle Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue2), var(--blue1));
  border-radius: 999px;
}

/* ===== cards sleek ===== */

/* Outer card */
.card {
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05) !important;
  border: 1px solid rgba(0,0,0,0.05) !important;
}


.card-body,
.article-style,
.docs-article-container {
  padding: 1.2rem 1.4rem !important;
}


.docs-content {
  margin-top: 0.5rem !important;
}

/* Tighten headings */
h1, h2, h3 {
  margin-top: 0.6rem !important;
  margin-bottom: 0.6rem !important;
  line-height: 1.25 !important;
}

/* Cleaner paragraph rhythm */
p {
  margin-bottom: 0.7rem !important;
  line-height: 1.65 !important;
}

/* Reduce top empty space inside cards */
.article-container {
  padding-top: 0.8rem !important;
}


.card {
  background: #ffffff;
}
