/* ==========================================================================
   assets/app.css
   BONGA UNIVERSITY - Graduate Document Authentication Portal
   Visual system aligned with www.bongau.edu.et (clean light-green theme).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    /* Palette sampled from the live Bonga University stylesheet */
    --green:       #1a7a3a;
    --green-dark:  #0e5525;
    --green-light: #e6f5ec;
    --green-soft:  #d0edda;
    --green-pale:  #f0f9f3;

    --gold:        #d4a825;
    --gold-hover:  #b8931f;
    --gold-light:  #f5e6b8;
    --gold-deep:   #8a6d12;

    --black:       #111111;
    --gray-900:    #1a1a1a;
    --gray-700:    #444444;
    --gray-500:    #777777;
    --gray-400:    #aaaaaa;
    --gray-200:    #e5e5e5;
    --gray-100:    #f5f5f5;
    --white:       #ffffff;

    --danger-bg:   #fef2f2;
    --danger-line: #fecaca;
    --danger-ink:  #b91c1c;
    --info-bg:     #e0f2fe;
    --info-line:   #bae6fd;
    --info-ink:    #075985;

    --radius:      12px;
    --radius-sm:   8px;
    --radius-pill: 50px;

    --shadow-sm:   0 1px 4px rgba(0, 0, 0, .06);
    --shadow:      0 4px 20px rgba(0, 0, 0, .08);
    --shadow-lg:   0 12px 40px rgba(0, 0, 0, .12);

    --transition:  .3s cubic-bezier(.4, 0, .2, 1);

    /* Legacy aliases: older inline styles and the installer still resolve
       these two names, so they must keep pointing at the new palette. */
    --gold-primary: #d4a825;
    --text-gold:    #8a6d12;
    --glass-border: var(--gray-200);

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body:    'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 13px;
}

body, html {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body { font-size: 12px; }

:is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--font-heading);
    letter-spacing: -.015em;
}

a { text-decoration: none; transition: var(--transition); }

/* --------------------------------------------------------------------------
   3. Page shell
   -------------------------------------------------------------------------- */
.gc-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(180deg, var(--green-pale) 0, var(--white) 380px);
}

/* Soft decorative washes, kept very low contrast so body text stays legible. */
.gc-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}
.gc-orb.gold  { width: 240px; height: 240px; background: rgba(212, 168, 37, .18); top: 6%;  left: -5%; }
.gc-orb.green { width: 300px; height: 300px; background: rgba(26, 122, 58, .14);  bottom: 4%; right: -6%; }

/* --------------------------------------------------------------------------
   4. Header / navigation
   -------------------------------------------------------------------------- */
.gc-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0;
    background: var(--green-dark);
    border-bottom: 0;
    transition: box-shadow .3s;
}
.gc-nav.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .25); }

.gc-nav-inner {
    /* Matches .gc-main / .gc-quicklinks-inner so the brand lines up with the
       page content and the nav group hugs the right edge. width:100% is needed
       because the Bootstrap .navbar parent is a flex row and would otherwise
       shrink this to its content. */
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.gc-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
}
.gc-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.gc-logo-text { min-width: 0; }
.gc-logo-text .gc-brand {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gc-logo-text .gc-brand-sub {
    display: block;
    font-size: .62rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.3;
}

/* An uploaded crest sits on a white tile so any logo colours stay legible
   against the dark green header; without one the default icon shows. */
.gc-logo-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.gc-logo-mark.has-logo {
    background: var(--white);
    border-color: rgba(255, 255, 255, .85);
    border-radius: 10px;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.gc-logo-mark-sm {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: .9rem;
    margin-right: 8px;
}

/* Larger preview of the same mark on the Portal Settings screen. */
.gc-logo-preview {
    width: 76px;
    height: 76px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    border: 1px dashed rgba(255, 255, 255, .28);
    color: var(--gold-light);
    font-size: 1.7rem;
}
.gc-logo-preview.has-logo {
    background: var(--white);
    border-style: solid;
    border-color: rgba(255, 255, 255, .85);
    padding: 8px;
}
.gc-logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gc-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;   /* pins the links + buttons to the right edge */
}

.gc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, .82);
    font-size: .8rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    transition: all .25s;
}
.gc-link:hover, .gc-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, .12);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.gc-btn-gold, .gc-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.4;
    padding: 10px 28px;
    white-space: nowrap;
    transition: var(--transition);
}

.gc-btn-gold {
    background: var(--gold);
    color: var(--gray-900);
    border: 1px solid var(--gold);
    box-shadow: 0 2px 10px rgba(212, 168, 37, .3);
}
.gc-btn-gold:hover, .gc-btn-gold:focus {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
    color: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 168, 37, .4);
}

.gc-btn-outline {
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, .38);
}
.gc-btn-outline:hover, .gc-btn-outline:focus {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .6);
    color: var(--white);
}

.gc-btn-gold:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* On a light surface the outlined variant needs dark ink instead of white. */
.gc-card .gc-btn-outline {
    background: var(--white);
    color: var(--green);
    border-color: var(--green-soft);
}
.gc-card .gc-btn-outline:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

/* --------------------------------------------------------------------------
   6. Mobile menu trigger + offcanvas
   -------------------------------------------------------------------------- */
.gc-toggler {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .14);
    color: var(--white);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .14) !important;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.gc-toggler:hover, .gc-toggler:focus-visible {
    background: rgba(255, 255, 255, .2);
    border-color: rgba(255, 255, 255, .3);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2) !important;
}
.gc-menu-icon {
    width: 17px;
    height: 14px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}
.gc-menu-icon > span {
    display: block;
    width: 100%;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
    transition: transform .22s ease, opacity .18s ease, width .22s ease;
}
.gc-menu-icon > span:nth-child(2) { width: 72%; }
.gc-toggler[aria-expanded="true"] .gc-menu-icon > span:nth-child(1),
.gc-sidebar-btn[aria-expanded="true"] .gc-menu-icon > span:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
.gc-toggler[aria-expanded="true"] .gc-menu-icon > span:nth-child(2),
.gc-sidebar-btn[aria-expanded="true"] .gc-menu-icon > span:nth-child(2) { opacity: 0; width: 100%; }
.gc-toggler[aria-expanded="true"] .gc-menu-icon > span:nth-child(3),
.gc-sidebar-btn[aria-expanded="true"] .gc-menu-icon > span:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }

.gc-offcanvas {
    --bs-offcanvas-width: min(340px, 88vw);
    background: var(--white);
    color: var(--gray-900);
    border-left: 1px solid var(--gray-200);
    border-radius: 18px 0 0 18px;
    box-shadow: -16px 0 48px rgba(8, 39, 20, .18);
    transition: transform .38s cubic-bezier(.22, 1, .36, 1);
}
.gc-offcanvas .offcanvas-header {
    background: var(--green-dark);
    border-bottom: 0;
    padding: 18px 20px;
    border-radius: 18px 0 0 0;
}
.gc-offcanvas .offcanvas-title {
    color: var(--white);
    font-size: .95rem;
    font-weight: 700;
}
.gc-offcanvas .btn-close { filter: invert(1) grayscale(1) brightness(2); }
.gc-offcanvas .offcanvas-body { padding: 14px 12px 20px; }

.gc-offcanvas .gc-link {
    color: var(--gray-700);
    border-radius: 11px;
    border-left: 3px solid transparent;
    padding: 12px 14px;
    width: 100%;
    font-size: .82rem;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.gc-offcanvas .gc-link:hover, .gc-offcanvas .gc-link.active {
    color: var(--green);
    background: var(--green-pale);
    border-left-color: var(--green);
}
.gc-offcanvas .gc-link:hover { transform: translateX(3px); }
.gc-offcanvas.show .gc-link {
    animation: gc-menu-link-in .36s both;
}
.gc-offcanvas.show .gc-link:nth-child(1) { animation-delay: .04s; }
.gc-offcanvas.show .gc-link:nth-child(2) { animation-delay: .08s; }
.gc-offcanvas.show .gc-link:nth-child(3) { animation-delay: .12s; }
.gc-offcanvas.show .gc-link:nth-child(4) { animation-delay: .16s; }
.gc-offcanvas.show .gc-link:nth-child(5) { animation-delay: .2s; }
@keyframes gc-menu-link-in {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}
.offcanvas-backdrop.show { opacity: .48; backdrop-filter: blur(3px); }
.gc-offcanvas .gc-menu-foot {
    margin-top: auto;
    padding: 16px 20px 0;
    border-top: 1px solid var(--gray-200);
}
.gc-offcanvas .gc-menu-foot .gc-label { color: var(--gray-500); }
.gc-offcanvas .gc-menu-foot .fw-bold { color: var(--green-dark); }

/* --------------------------------------------------------------------------
   7. Layout
   -------------------------------------------------------------------------- */
.gc-main {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 32px 24px 48px;
    flex: 1;
}

/* --------------------------------------------------------------------------
   8. Home hero - image carousel (campus site photo hero, in motion)
   -------------------------------------------------------------------------- */
.gc-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background:
        radial-gradient(120% 150% at 88% -20%, rgba(212, 168, 37, .26) 0%, rgba(212, 168, 37, 0) 55%),
        linear-gradient(135deg, var(--green-dark) 0%, #12662f 55%, var(--green) 100%);
}
/* Gold hairline along the top edge. */
.gc-carousel::before {
    content: '';
    position: absolute;
    z-index: 6;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .9;
    pointer-events: none;
}
.gc-carousel .carousel-inner { position: relative; }

/* Each slide fills the panel; the image is cropped like a hero photograph. */
.gc-carousel .carousel-item {
    height: clamp(400px, 46vw, 540px);
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-dark), var(--green-dark));
}
.gc-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.12);
    transition: transform 7.5s linear;
}
/* Slow drift while a slide is on screen, then a re-frame as it changes. */
.gc-carousel .carousel-item.active .gc-slide-img { transform: scale(1.015); }

/* Dark wash so the caption always reads over the artwork. */
.gc-slide-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(4, 25, 10, .88) 0%, rgba(6, 42, 18, .66) 38%, rgba(6, 42, 18, .12) 68%, rgba(6, 42, 18, .35) 100%),
        linear-gradient(0deg, rgba(4, 25, 10, .7) 0%, rgba(4, 25, 10, 0) 42%);
    pointer-events: none;
}

/* ---- Caption ------------------------------------------------------------ */
.gc-slide-caption {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    max-width: 780px;
    width: min(780px, 100%);
    /* The bottom padding reserves the strip the counter and indicators sit in. */
    padding: 0 clamp(22px, 5vw, 68px) 58px;
    text-align: left;
    bottom: 0;
    right: auto;
    color: var(--white);
}
.gc-slide-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 168, 37, .16);
    border: 1px solid rgba(212, 168, 37, .5);
    color: var(--gold-light);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.gc-slide-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: clamp(1.7rem, 3.9vw, 3rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -.01em;
    margin: 0 0 16px;
    color: var(--white);
    text-shadow: 0 2px 26px rgba(0, 0, 0, .4);
    text-wrap: balance;
}
.gc-slide-title .gold-text {
    display: inline-block;
    font-style: italic;
    padding-right: .06em; /* keeps the italic overhang off the edge */
    background: linear-gradient(100deg, var(--gold-light) 0%, var(--gold) 55%, #f8eecb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
/* Thin gold rule with a centred gem, separating the headline from the lead. */
.gc-slide-rule {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(260px, 60%);
    margin: 0 0 16px;
    color: var(--gold);
    font-size: .62rem;
}
.gc-slide-rule::before,
.gc-slide-rule::after {
    content: '';
    height: 1px;
    flex: 1;
}
.gc-slide-rule::before { background: linear-gradient(90deg, rgba(212, 168, 37, .85), rgba(212, 168, 37, .15)); }
.gc-slide-rule::after  { background: linear-gradient(90deg, rgba(212, 168, 37, .15), transparent); }

.gc-slide-sub {
    font-size: clamp(.9rem, 1.25vw, 1.04rem);
    color: rgba(255, 255, 255, .87);
    line-height: 1.75;
    max-width: 620px;
    margin: 0;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}
.gc-slide-sub strong { color: var(--white); font-weight: 600; }

.gc-slide-points {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}
.gc-slide-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}
.gc-slide-points i { color: var(--gold-light); font-size: .95rem; }

/* Caption entrance, staggered per element. */
.gc-carousel .carousel-item.active .gc-slide-caption > * {
    animation: gc-slide-rise .85s cubic-bezier(.22, .68, .3, 1) both;
}
.gc-carousel .carousel-item.active .gc-slide-caption > *:nth-child(1) { animation-delay: .18s; }
.gc-carousel .carousel-item.active .gc-slide-caption > *:nth-child(2) { animation-delay: .28s; }
.gc-carousel .carousel-item.active .gc-slide-caption > *:nth-child(3) { animation-delay: .36s; }
.gc-carousel .carousel-item.active .gc-slide-caption > *:nth-child(4) { animation-delay: .44s; }
.gc-carousel .carousel-item.active .gc-slide-caption > *:nth-child(5) { animation-delay: .52s; }

@keyframes gc-slide-rise {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}

/* ---- Controls ----------------------------------------------------------- */
/* Gold tally bars instead of the default dots. */
.gc-carousel .carousel-indicators {
    margin: 0;
    padding: 0 6px 4px;
    bottom: 18px;
    left: auto;
    right: clamp(22px, 5vw, 68px);
    width: auto;
    justify-content: flex-end;
    z-index: 5;
}
.gc-carousel .carousel-indicators [data-bs-target] {
    width: 34px;
    height: 4px;
    margin: 0 5px;
    border: 0;
    border-radius: var(--radius-pill);
    background-color: rgba(255, 255, 255, .35);
    text-indent: -9999px;
    transition: var(--transition);
}
.gc-carousel .carousel-indicators [data-bs-target]:hover { background-color: rgba(255, 255, 255, .7); }
.gc-carousel .carousel-indicators .active {
    background-color: var(--gold);
    width: 52px;
    box-shadow: 0 0 0 4px rgba(212, 168, 37, .18);
}

.gc-slide-arrow {
    top: 50%;
    bottom: auto;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(4, 25, 10, .38);
    color: var(--white);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: .55;
    transition: var(--transition);
}
.gc-slide-arrow:hover,
.gc-slide-arrow:focus-visible {
    opacity: 1;
    background: var(--gold);
    border-color: var(--gold);
    color: var(--gray-900);
    transform: scale(1.06);
}
.gc-slide-arrow-prev { left: clamp(10px, 2.2vw, 26px); }
.gc-slide-arrow-next { right: clamp(10px, 2.2vw, 26px); }
.gc-slide-arrow .gc-arrow-icon { font-size: 1rem; line-height: 1; }

/* Slide counter + autoplay state, bottom left. */
.gc-slide-meta {
    position: absolute;
    z-index: 5;
    left: clamp(22px, 5vw, 68px);
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .72);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.gc-slide-meta-num { color: var(--gold-light); font-size: .82rem; letter-spacing: .06em; }
.gc-slide-meta-sep { width: 26px; height: 1px; background: rgba(255, 255, 255, .35); }
.gc-slide-play {
    width: 28px;
    height: 28px;
    margin-left: 4px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(4, 25, 10, .35);
    color: rgba(255, 255, 255, .85);
    font-size: .68rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.gc-slide-play:hover { background: var(--gold); border-color: var(--gold); color: var(--gray-900); }

/* Motion-sensitive visitors get the slides without the drift or the rise. */
@media (prefers-reduced-motion: reduce) {
    .gc-slide-img { transform: none !important; transition: none !important; }
    .gc-carousel .carousel-item.active .gc-slide-caption > * { animation: none !important; }
    .gc-carousel .carousel-item { transition: none !important; }
    .gc-flash { animation: none !important; }
}


/* --------------------------------------------------------------------------
   8b. Quick links strip (campus site .quick-links)
   -------------------------------------------------------------------------- */
.gc-quicklinks {
    background: var(--green-pale);
    border-bottom: 1px solid var(--green-soft);
    padding: 12px 0;
}
.gc-quicklinks-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.gc-quicklinks-title {
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--green-dark);
    white-space: nowrap;
}
.gc-qpill {
    background: var(--green);
    color: var(--white);
    font-size: .74rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.gc-qpill:hover {
    background: var(--green-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(26, 122, 58, .3);
}
.gc-qpill.gold { background: var(--gold); color: var(--gray-900); }
.gc-qpill.gold:hover { background: var(--gold-hover); box-shadow: 0 3px 10px rgba(212, 168, 37, .35); }

/* --------------------------------------------------------------------------
   8c. Section badge + section heading (campus site .section-badge)
   -------------------------------------------------------------------------- */
.gc-badge {
    display: inline-block;
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--green);
    background: var(--green-pale);
    border: 1px solid var(--green-soft);
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}
.gc-section-head { text-align: center; margin-bottom: 22px; }
.gc-section-title {
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 6px;
    line-height: 1.25;
}
.gc-section-sub { font-size: .88rem; color: var(--gray-500); max-width: 540px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   8d. Fact cards overlapping the hero (campus site .facts-row)
   -------------------------------------------------------------------------- */
.gc-facts {
    max-width: 1140px;
    margin: -32px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    position: relative;
    z-index: 5;
}
.gc-fact {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.gc-fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-soft); }
.gc-fact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--green-pale);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.gc-fact-num { font-size: 1.4rem; font-weight: 800; color: var(--green-dark); line-height: 1; }
.gc-fact-label {
    font-size: .7rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: 3px;
}


/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.gc-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.gc-card + .gc-card { margin-top: 18px; }
.gc-card-title { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin: 0; }
.gc-card-sub { font-size: .78rem; color: var(--gray-500); margin: 3px 0 0; }

/* --------------------------------------------------------------------------
   9b. Circular icon badge
   -------------------------------------------------------------------------- */
.gc-icon-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--green-pale);
    border: 1px solid var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 12px;
    transition: var(--transition);
}
.gc-icon-circle:hover { background: var(--green); border-color: var(--green); color: var(--white); }

.gc-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green-pale);
    border: 1px solid var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   10. Progress steps
   -------------------------------------------------------------------------- */
.gc-steps { display: flex; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.gc-step { display: flex; align-items: center; gap: 10px; padding-right: 22px; }
.gc-step-marker {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--gray-400);
    flex-shrink: 0;
}
.gc-step.done .gc-step-marker { background: var(--green-light); border-color: var(--green-soft); color: var(--green); }
.gc-step.current .gc-step-marker { background: var(--green); border-color: var(--green); color: var(--white); }
.gc-step-label { font-size: .78rem; color: var(--gray-500); }
.gc-step.current .gc-step-label { color: var(--gray-900); font-weight: 600; }
.gc-step.done .gc-step-label { color: var(--gray-700); }
.gc-step-line { width: 34px; height: 1px; background: var(--gray-200); margin-right: 22px; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   11. Forms
   -------------------------------------------------------------------------- */
.gc-input {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    color: var(--gray-900);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: inherit;
    font-size: .88rem;
}
.gc-input:focus {
    background: var(--white);
    border-color: var(--green);
    color: var(--gray-900);
    box-shadow: 0 0 0 .18rem rgba(26, 122, 58, .15);
}
.gc-input::placeholder { color: var(--gray-400); }
textarea.gc-input { min-height: 96px; resize: vertical; }

.gc-label { font-size: .76rem; font-weight: 600; color: var(--gray-700); letter-spacing: .1px; }
.gc-hint { font-size: .7rem; color: var(--gray-500); margin-top: 3px; }

.gc-input-group-text {
    background: var(--gray-100);
    border: 1.5px solid var(--gray-200);
    color: var(--gray-700);
    font-size: .85rem;
}

/* Stitched input groups: square off the seam without losing the radius. */
.input-group > .gc-input-group-text:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group > .gc-input.border-start-0 {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* --------------------------------------------------------------------------
   12. Detail grid
   -------------------------------------------------------------------------- */
.gc-detail {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}
.gc-detail-row { display: flex; border-bottom: 1px solid var(--gray-200); }
.gc-detail-row:last-child { border-bottom: none; }
.gc-detail-label {
    flex: 0 0 42%;
    background: var(--green-pale);
    padding: 10px 14px;
    font-size: .76rem;
    color: var(--gray-700);
    font-weight: 600;
}
.gc-detail-value { flex: 1; padding: 10px 14px; font-size: .86rem; color: var(--gray-900); word-break: break-word; }
.gc-detail-value.am { font-size: 1rem; }

/* --------------------------------------------------------------------------
   13. Status chips
   -------------------------------------------------------------------------- */
.gc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2px;
    white-space: nowrap;
}
.gc-chip-ok   { background: var(--green-light); border-color: var(--green-soft); color: var(--green-dark); }
.gc-chip-warn { background: var(--gold-light);  border-color: #e8d59a;              color: var(--gold-deep); }
.gc-chip-bad  { background: var(--danger-bg);   border-color: var(--danger-line);    color: var(--danger-ink); }
.gc-chip-info { background: var(--info-bg);     border-color: var(--info-line);      color: var(--info-ink); }
.gc-chip-mute { background: var(--gray-100);   border-color: var(--gray-200);       color: var(--gray-500); }

/* --------------------------------------------------------------------------
   14. Timeline
   -------------------------------------------------------------------------- */
.gc-timeline { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; }
.gc-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--gray-200);
}
.gc-timeline li { position: relative; padding-bottom: 16px; }
.gc-timeline li:last-child { padding-bottom: 0; }
.gc-timeline li::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--green);
}
.gc-timeline li.done::before { background: var(--green); }
.gc-timeline-title { font-size: .84rem; font-weight: 600; color: var(--gray-900); }
.gc-timeline-meta { font-size: .72rem; color: var(--gray-500); }

/* --------------------------------------------------------------------------
   15. Tables
   -------------------------------------------------------------------------- */
.gc-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .82rem; }
.gc-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--green);
    background: var(--green-pale);
    border-bottom: 1px solid var(--gray-200);
    white-space: nowrap;
}
.gc-table th:first-child { border-top-left-radius: var(--radius-sm); }
.gc-table th:last-child  { border-top-right-radius: var(--radius-sm); }
.gc-table td { padding: 10px 12px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; color: var(--gray-700); }
.gc-table tbody tr:hover td { background: var(--green-pale); }
.gc-table tbody tr:last-child td { border-bottom: 0; }

.gc-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   16. Alerts
   -------------------------------------------------------------------------- */
.gc-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid;
    font-size: .82rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.gc-alert i { flex-shrink: 0; margin-top: 2px; }
.gc-alert-success { background: var(--green-light); border-color: var(--green-soft); color: var(--green-dark); }
.gc-alert-danger  { background: var(--danger-bg);   border-color: var(--danger-line); color: var(--danger-ink); }
.gc-alert-warning { background: var(--gold-light);  border-color: #e8d59a;             color: var(--gold-deep); }
.gc-alert-info    { background: var(--info-bg);     border-color: var(--info-line);   color: var(--info-ink); }
.gc-flash {
    align-items: center;
    animation: gc-feedback-in .22s ease-out;
}
.gc-flash-message { flex: 1; min-width: 0; }
.gc-flash-close {
    border: 0;
    background: transparent;
    color: currentColor;
    opacity: .65;
    padding: 4px 6px;
    margin: -4px -6px -4px 8px;
    line-height: 1;
}
.gc-flash-close:hover, .gc-flash-close:focus { opacity: 1; }
@keyframes gc-feedback-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   17. Feature tiles
   -------------------------------------------------------------------------- */
.gc-tile {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--green-soft);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
}
.gc-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.gc-tile-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-pale);
    color: var(--green);
    font-size: 1.1rem;
    margin-bottom: 12px;
    transition: var(--transition);
}
.gc-tile:hover .gc-tile-icon { background: var(--green); color: var(--white); }
.gc-tile h6 { font-size: .88rem; font-weight: 700; margin: 0 0 4px; color: var(--gray-900); }
.gc-tile p { font-size: .76rem; color: var(--gray-500); margin: 0; line-height: 1.6; }

/* --------------------------------------------------------------------------
   18. Order summary
   -------------------------------------------------------------------------- */
.gc-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    font-size: .84rem;
    color: var(--gray-700);
}
.gc-summary-row.total {
    border-top: 1px solid var(--gray-200);
    margin-top: 6px;
    padding-top: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);
}

/* --------------------------------------------------------------------------
   18b. Pagination
   Bootstrap's pager defaults to a blue active pill and grey hover, which clash
   with the green/gold palette, so the parts that carry colour are remapped.
   -------------------------------------------------------------------------- */
.pagination { gap: 4px; flex-wrap: wrap; }
.page-item .page-link {
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm) !important;
    padding: 6px 12px;
    font-size: .82rem;
    font-weight: 600;
    min-width: 34px;
    text-align: center;
}
.page-item .page-link:hover {
    color: var(--green);
    background: var(--green-pale);
    border-color: var(--green-soft);
}
.page-item.active .page-link {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
}
.page-item.disabled .page-link {
    color: var(--gray-400);
    background: var(--gray-100);
    border-color: var(--gray-200);
}

/* --------------------------------------------------------------------------
   19. Name comparison
   -------------------------------------------------------------------------- */
.gc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gc-compare-col { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.gc-compare-head {
    padding: 8px 12px;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 600;
}
.gc-compare-body { padding: 12px; font-size: .84rem; color: var(--gray-900); }
.gc-compare-body.changed { background: #fffbeb; border-left: 3px solid var(--gold); }
.gc-compare-body.am { font-size: 1rem; }

/* --------------------------------------------------------------------------
   20. Site footer
   -------------------------------------------------------------------------- */
.gc-site-footer {
    background: var(--green-dark);
    color: var(--white);
    padding-top: 40px;
    margin-top: 40px;
}
.gc-footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 28px;
}
.gc-footer-brand .gc-brand { color: var(--white); font-size: 1rem; font-weight: 700; }
.gc-footer-tagline { color: var(--gold); font-weight: 600; font-size: .78rem; margin-top: 2px; }
.gc-footer-brand p { color: rgba(255, 255, 255, .5); font-size: .82rem; margin: 10px 0 0; line-height: 1.7; }

.gc-footer-col h6 {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .4);
    margin: 0 0 12px;
}
.gc-footer-col a, .gc-footer-col span {
    display: block;
    color: rgba(255, 255, 255, .68);
    font-size: .82rem;
    font-weight: 500;
    padding: 4px 0;
}
.gc-footer-col a:hover { color: var(--gold); }

.gc-footer-bottom {
    max-width: 1140px;
    margin: 26px auto 0;
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: .76rem;
    color: rgba(255, 255, 255, .38);
}

/* --------------------------------------------------------------------------
   21. Registrar console shell
   -------------------------------------------------------------------------- */
.gc-admin-body {
    background: var(--gray-100);
    color: var(--gray-900);
    min-height: 100vh;
}
.gc-admin-topbar {
    height: 58px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--green-dark);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}
.gc-sidebar-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 11px;
    background: rgba(255, 255, 255, .12) !important;
    border: 0 !important;
    color: var(--white) !important;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    transition: background .2s ease, transform .2s ease;
}
.gc-sidebar-btn:hover, .gc-sidebar-btn:focus-visible { background: rgba(255, 255, 255, .22) !important; color: var(--white) !important; transform: translateY(-1px); }
.gc-admin-sidebar {
    width: 252px;
    position: fixed;
    top: 58px;
    bottom: 0;
    left: 0;
    z-index: 1030;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    padding: 14px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    transition: transform .34s cubic-bezier(.22, 1, .36, 1);
}
.gc-admin-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--gray-700);
    padding: 10px 22px;
    font-size: .84rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: color .2s ease, background .2s ease, border-color .2s ease, padding-left .2s ease;
}
.gc-admin-sidebar .nav-link:hover { color: var(--green); background: var(--green-pale); border-left-color: var(--green); padding-left: 26px; }
.gc-admin-sidebar .nav-link.active {
    color: var(--green);
    background: var(--green-pale);
    border-left-color: var(--green);
    font-weight: 700;
}
.gc-admin-sidebar .menu-label {
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray-400);
    padding: 14px 22px 6px;
}
.gc-admin-main {
    margin-left: 252px;
    margin-top: 58px;
    padding: 22px;
    min-height: calc(100vh - 58px);
}

.gc-stat {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.gc-stat:hover { border-color: var(--green-soft); box-shadow: var(--shadow); }
.gc-stat-value { font-size: 1.6rem; font-weight: 800; color: var(--green-dark); line-height: 1.15; }
.gc-stat-label { font-size: .7rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }

.badge-count {
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius-pill);
    padding: 1px 8px;
    font-size: .65rem;
    font-weight: 700;
}

/* Scrim behind the slide-in sidebar on small screens. */
.gc-admin-scrim {
    position: fixed;
    inset: 58px 0 0 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1025;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    border: 0;
    padding: 0;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.gc-admin-scrim.show { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   22. Bootstrap utility remap
   The portal markup was authored against a dark theme and leans on Bootstrap's
   text-white / text-warning / btn-outline-light utilities. On a light surface
   those have to be re-pointed, so the pages keep working without being rewritten.
   Dark surfaces re-assert the light ink afterwards, in section 23.
   -------------------------------------------------------------------------- */
.text-white    { color: var(--gray-900) !important; }
.text-white-50 { color: var(--gray-500) !important; }
.text-warning  { color: var(--green) !important; }
.text-dark     { color: var(--gray-900) !important; }
.text-body-secondary { color: var(--gray-500) !important; }

.btn-outline-light, .btn-outline-warning {
    color: var(--green) !important;
    background: var(--white) !important;
    border-color: var(--green-soft) !important;
}
.btn-outline-light:hover, .btn-outline-warning:hover {
    color: var(--white) !important;
    background: var(--green) !important;
    border-color: var(--green) !important;
}

.dropdown-menu-dark { background: var(--white); border-color: var(--gray-200); }
.dropdown-menu-dark .dropdown-item { color: var(--gray-700); }
.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus { color: var(--green); background: var(--green-pale); }
.dropdown-menu-dark .dropdown-item.text-danger,
.dropdown-menu-dark .dropdown-item.text-danger:hover { color: var(--danger-ink) !important; }
.dropdown-menu-dark .dropdown-divider { border-color: var(--gray-200); }

.border-white-10, .border-secondary, .border-secondary-opacity-25 { border-color: var(--gray-200) !important; }

.alert-link { color: inherit; text-decoration: underline; }

/* Progress bars used on the dashboard for the programme breakdown. */
.progress { background: var(--gray-100); }

/* --------------------------------------------------------------------------
   Registrar sign-in
   -------------------------------------------------------------------------- */
.gc-login-page {
    background:
        radial-gradient(ellipse at 15% 20%, rgba(212, 168, 37, .12), transparent 35%),
        linear-gradient(145deg, #f0f9f3, #fff 55%, #f7faf8);
}
.gc-login-layout {
    width: min(960px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    padding: 42px 24px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 28px;
}
.gc-login-intro {
    min-height: 490px;
    padding: 34px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
    background:
        radial-gradient(circle at 100% 0, rgba(212, 168, 37, .22), transparent 38%),
        linear-gradient(145deg, #0e5525, #176b34 72%, #1a7a3a);
    box-shadow: 0 18px 48px rgba(14, 85, 37, .2);
    overflow: hidden;
}
.gc-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 700;
    line-height: 1.25;
}
.gc-login-brand:hover { color: var(--gold-light); }
.gc-login-brand .gc-logo-mark { width: 42px; height: 42px; }
.gc-login-brand small {
    display: block;
    margin-top: 3px;
    color: var(--gold-light);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .04em;
}
.gc-login-intro-copy { margin: 44px 0; }
.gc-login-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gold-light);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.gc-login-intro-copy h1 {
    margin: 16px 0 12px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.08;
}
.gc-login-intro-copy p {
    max-width: 310px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: .9rem;
    line-height: 1.75;
}
.gc-login-assurance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .7);
    font-size: .72rem;
}
.gc-login-assurance i { color: var(--gold-light); }
.gc-login-card {
    padding: clamp(24px, 4vw, 42px);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(12, 46, 24, .1);
}
.gc-login-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}
.gc-login-heading-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--green-pale);
    color: var(--green);
    font-size: 1.2rem;
}
.gc-login-heading h2 {
    margin: 0;
    color: var(--gray-900);
    font-size: 1.35rem;
    font-weight: 800;
}
.gc-login-heading p { margin: 3px 0 0; color: var(--gray-500); font-size: .78rem; }
.gc-login-captcha {
    padding: 14px;
    border: 1px solid var(--green-soft);
    border-radius: 12px;
    background: var(--green-pale);
}
.gc-login-captcha-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px;
    gap: 10px;
    align-items: center;
}
.gc-login-captcha-question {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--green-dark);
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}
.gc-login-captcha-question i { color: var(--green); }
.gc-login-captcha-question span { color: var(--gray-500); font-weight: 500; }
.gc-login-captcha .gc-hint { display: block; margin-top: 8px; }
.gc-login-submit { min-height: 48px; }
.gc-login-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}
.gc-login-footer a { color: var(--green); font-size: .78rem; font-weight: 600; }
.gc-login-footer a:hover { color: var(--green-dark); }

/* --------------------------------------------------------------------------
   23. Dark surfaces keep light ink
   -------------------------------------------------------------------------- */
.gc-nav .text-white, .gc-admin-topbar .text-white { color: var(--white) !important; }
.gc-nav .text-white-50, .gc-admin-topbar .text-white-50 { color: rgba(255, 255, 255, .6) !important; }
.gc-nav .text-warning, .gc-admin-topbar .text-warning { color: var(--gold-light) !important; }

.gc-carousel .text-white, .gc-carousel .text-white-50 { color: rgba(255, 255, 255, .8) !important; }
.gc-carousel .text-warning { color: var(--gold-light) !important; }

.gc-site-footer .text-white    { color: var(--white) !important; }
.gc-site-footer .text-white-50 { color: rgba(255, 255, 255, .45) !important; }
.gc-site-footer .text-warning  { color: var(--gold) !important; }

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    /* Let the carousel run the full width of the content column so the fact cards
       below it read as an overlapping strip, the way the campus site does it. */
    .gc-carousel { margin-left: -24px; margin-right: -24px; border-radius: 0; }
}

@media (max-width: 991.98px) {
    .gc-nav-inner { flex-wrap: wrap; min-height: 0; padding: 12px 16px; }
    .gc-toggler { display: inline-flex; }
    .gc-nav-links { display: none !important; }

    .gc-admin-sidebar { transform: translateX(-100%); box-shadow: 4px 0 24px rgba(0, 0, 0, .12); }
    .gc-admin-sidebar.show { transform: translateX(0); }
    .gc-admin-main { margin-left: 0; padding: 18px 16px; }
    .gc-admin-sidebar.show .nav-link { animation: gc-menu-link-in .32s both; }
    .gc-admin-sidebar.show .nav-link:nth-child(1) { animation-delay: .03s; }
    .gc-admin-sidebar.show .nav-link:nth-child(2) { animation-delay: .06s; }
    .gc-admin-sidebar.show .nav-link:nth-child(3) { animation-delay: .09s; }
    .gc-admin-sidebar.show .nav-link:nth-child(4) { animation-delay: .12s; }
}

@media (max-width: 768px) {
    .gc-login-layout {
        width: min(520px, 100%);
        min-height: 100vh;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 16px;
    }
    .gc-login-intro { min-height: 0; padding: 24px; }
    .gc-login-intro-copy { margin: 28px 0; }
    .gc-login-intro-copy h1 { font-size: 1.7rem; }
    .gc-login-intro-copy p { max-width: 440px; }
    .gc-login-assurance { padding-top: 12px; }

    .gc-main { padding: 22px 16px 34px; }
    .gc-carousel .carousel-item { height: 360px; }
    .gc-slide-caption { padding: 0 clamp(18px, 5vw, 28px) 50px; }
    .gc-slide-sub { font-size: .88rem; }
    .gc-card { padding: 18px; }
    .gc-card + .gc-card { margin-top: 14px; }

    .gc-compare { grid-template-columns: 1fr; }
    .gc-step-line { display: none; }
    .gc-steps { gap: 8px 14px; }
    .gc-step { padding-right: 0; }
    .gc-step-label { font-size: .74rem; }

    .gc-facts { grid-template-columns: 1fr; margin-top: -28px; gap: 12px; }
    .gc-quicklinks { padding: 10px 0; }
    .gc-quicklinks-inner { gap: 8px; }

    .gc-footer-inner { grid-template-columns: 1fr; gap: 22px; }
    .gc-footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
    .gc-site-footer { padding-top: 30px; }
    .gc-admin-main { padding: 14px 12px; }
    .gc-card { min-width: 0; }
    .gc-table-wrap { max-width: 100%; }
    .form-control, .form-select, .gc-input { max-width: 100%; }
}

@media (max-width: 575.98px) {
    html { font-size: 12px; }
    .gc-login-layout { padding: 16px 12px; gap: 12px; }
    .gc-login-intro { padding: 18px; border-radius: 15px; }
    .gc-login-intro-copy { margin: 20px 0; }
    .gc-login-intro-copy h1 { margin: 9px 0 6px; font-size: 1.4rem; }
    .gc-login-intro-copy p { font-size: .78rem; line-height: 1.55; }
    .gc-login-assurance { font-size: .68rem; }
    .gc-login-card { padding: 20px 16px; border-radius: 15px; }
    .gc-login-heading { margin-bottom: 20px; }
    .gc-login-captcha { padding: 12px; }
    .gc-login-captcha-row { grid-template-columns: minmax(0, 1fr) 88px; gap: 8px; }

    /* Stack the label above its value; a 42/58 split is unreadable at this width. */
    .gc-detail-row { flex-direction: column; }
    .gc-detail-label { flex: 0 0 auto; padding: 8px 14px; }
    .gc-detail-value { padding: 0 14px 10px; }

    .gc-logo-text .gc-brand { font-size: .82rem; }
    .gc-logo-mark { width: 32px; height: 32px; font-size: .9rem; }
    .gc-slide-kicker { font-size: .55rem; padding: 5px 10px; margin-bottom: 14px; }
    .gc-slide-title { font-size: 1.15rem; margin-bottom: 10px; }
    .gc-slide-caption { padding: 0 clamp(16px, 6vw, 22px) 50px; }
    .gc-slide-sub { font-size: .8rem; line-height: 1.55; }
    .gc-slide-rule { margin-bottom: 10px; }
    .gc-slide-points { display: none; }
    .gc-slide-arrow { display: none; }
    .gc-btn-gold, .gc-btn-outline { width: 100%; }
    .gc-step-label { font-size: .7rem; }
    .gc-summary-row { font-size: .8rem; }
    .gc-nav-inner { min-height: 0; padding: 8px 10px; gap: 8px; }
    .gc-logo-text .gc-brand-sub { font-size: .48rem; letter-spacing: .025em; }
    .gc-quicklinks-inner { padding: 0 10px; flex-wrap: wrap; justify-content: center; }
    .gc-quicklinks-title, .gc-qpill { flex: 0 0 auto; }
    .gc-quicklinks { padding: 6px 0; }
    .gc-qpill { padding: 5px 10px; font-size: .68rem; box-shadow: 0 2px 7px rgba(14, 85, 37, .12); }
    .gc-carousel .carousel-item { height: 300px; }
    .gc-slide-caption { padding-bottom: 38px; }
    .gc-main { padding: 12px 10px 24px; }
    .gc-admin-topbar { padding-left: 10px !important; padding-right: 10px !important; }
    .gc-admin-sidebar { width: min(280px, 86vw); }
    .gc-admin-main { padding: 12px 10px; }
    .gc-card { padding: 14px; border-radius: 10px; }
    .gc-stat { padding: 12px; }
    .gc-fact { padding: 14px; gap: 10px; }
    .gc-fact-icon { width: 38px; height: 38px; }
    .gc-fact-num { font-size: 1.15rem; }
    .gc-table { min-width: 560px; }
    .gc-table td, .gc-table th { padding: 8px; }
    .gc-detail-value { overflow-wrap: anywhere; }
    .gc-steps { justify-content: space-between; }
    .gc-step { gap: 6px; }
    .gc-step-label { max-width: 92px; }
    .gc-btn-gold, .gc-btn-outline, .btn { min-height: 42px; }
    .gc-flash { align-items: flex-start; }
    .gc-toggler, .gc-sidebar-btn { width: 42px; height: 42px; min-width: 42px; min-height: 42px; border-radius: 10px; }
    .gc-menu-icon { width: 16px; height: 13px; }
    .gc-toggler[aria-expanded="true"] .gc-menu-icon > span:nth-child(1),
    .gc-sidebar-btn[aria-expanded="true"] .gc-menu-icon > span:nth-child(1) { transform: translateY(5.75px) rotate(45deg); }
    .gc-toggler[aria-expanded="true"] .gc-menu-icon > span:nth-child(3),
    .gc-sidebar-btn[aria-expanded="true"] .gc-menu-icon > span:nth-child(3) { transform: translateY(-5.75px) rotate(-45deg); }
    .gc-offcanvas { --bs-offcanvas-width: min(320px, 88vw); }
}

@media (prefers-reduced-motion: reduce) {
    .gc-menu-icon > span,
    .gc-toggler,
    .gc-sidebar-btn,
    .gc-offcanvas,
    .gc-offcanvas .gc-link,
    .gc-admin-sidebar,
    .gc-admin-sidebar .nav-link { transition: none !important; }
    .gc-offcanvas.show .gc-link,
    .gc-admin-sidebar.show .nav-link { animation: none !important; }
}

/* Short landscape viewports: drop the decorative carousel height so the
   form stays reachable without scrolling past a tall empty panel. */
@media (max-width: 900px) and (max-height: 520px) {
    .gc-carousel .carousel-item { height: 280px; }
    .gc-slide-title { font-size: 1.25rem; margin-bottom: 8px; }
    .gc-slide-sub { font-size: .78rem; }
    .gc-slide-kicker { display: none; }
    .gc-slide-points { display: none; }
}

/* --------------------------------------------------------------------------
   25. Print
   -------------------------------------------------------------------------- */
@media print {
    body, .gc-shell, .gc-admin-body {
        background: #fff !important;
        color: #000 !important;
    }
    .gc-nav, .gc-admin-topbar, .gc-admin-sidebar, .gc-site-footer, .gc-orb, .gc-carousel, .no-print {
        display: none !important;
    }
    .gc-main, .gc-admin-main { margin: 0 !important; padding: 0 !important; max-width: none !important; }
    .gc-card, .gc-detail, .gc-table-wrap {
        background: #fff !important;
        border: 1px solid #999 !important;
        box-shadow: none !important;
        color: #000 !important;
        break-inside: avoid;
    }
    .gc-detail-label { background: #f0f0f0 !important; color: #333 !important; }
    .gc-table th { background: #f0f0f0 !important; color: #000 !important; }
    a { text-decoration: none !important; color: #000 !important; }
}
