:root {
    --prom-blue: #1B2388;
    --prom-amber: #FB9D26;
    --prom-black: #000000;
    --prom-white: #FFFFFF;
    --prom-bg: #f6f7fb;
    --prom-border: rgba(27, 35, 136, 0.12);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--prom-bg);
    color: #141414;
}

.fw-800 { font-weight: 800; }
.fw-700 { font-weight: 700; }

.prom-navbar {
    background: linear-gradient(135deg, var(--prom-blue), #0d145d);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    overflow: visible;
    z-index: 1040;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}

.prom-navbar .container {
    position: relative;
    overflow: visible;
    min-height: 60px;
}

.prom-nav-shell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    width: 100%;
    padding: .55rem 0 .45rem;
}

.prom-nav-links-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .05rem;
    flex: 1 1 auto;
    min-width: 0;
}

.prom-nav-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .35rem;
    margin: 0;
}

.prom-nav-row-links {
    flex-wrap: nowrap;
}

.prom-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .7rem;
    margin: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}

.prom-navbar .nav-link,
.prom-navbar .navbar-brand {
    color: var(--prom-white) !important;
}

.navbar-toggler {
    background: rgba(255,255,255,.12);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.prom-navbar .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Kalam', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: .015em;
    font-size: 1rem;
    padding: .5rem .92rem .62rem !important;
    border-radius: 12px;
    color: rgba(255,255,255,.94) !important;
    text-shadow: 0 1px 0 rgba(8, 12, 48, .18);
    transition:
        transform .56s cubic-bezier(.2, .9, .2, 1),
        color .44s ease,
        text-shadow .56s ease,
        filter .56s ease,
        background-color .56s ease;
    isolation: isolate;
}

.prom-navbar .navbar-nav > li > .nav-link::before,
.prom-navbar .navbar-nav > li > .nav-link::after {
    content: '';
    position: absolute;
    pointer-events: none;
    transition:
        opacity .62s cubic-bezier(.2, .9, .2, 1),
        transform .62s cubic-bezier(.2, .9, .2, 1),
        filter .62s ease;
}

.prom-navbar .navbar-nav > li > .nav-link::before {
    left: .45rem;
    right: .45rem;
    top: .45rem;
    bottom: .45rem;
    border-radius: 12px 16px 13px 15px;
    background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
    opacity: 0;
    transform: scale(.92) rotate(-2deg);
    z-index: -1;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.prom-navbar .navbar-nav > li > .nav-link::after {
    left: 50%;
    bottom: .15rem;
    width: 74%;
    height: 12px;
    opacity: 0;
    transform: translateX(-50%) scaleX(.35) rotate(-2.5deg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16 C 22 10, 38 20, 55 15 S 88 10, 103 15 S 136 20, 154 14 S 170 12, 176 15' fill='none' stroke='%23ffd659' stroke-width='4.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6 18 C 26 12, 41 22, 58 17 S 88 13, 105 18 S 137 22, 155 16 S 171 15, 174 17' fill='none' stroke='%23fffaf0' stroke-opacity='.82' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
}

.prom-navbar .navbar-nav > li:nth-child(odd) > .nav-link:hover,
.prom-navbar .navbar-nav > li:nth-child(odd) > .nav-link:focus-visible,
.prom-navbar .navbar-nav > li:nth-child(odd) > .nav-link.active {
    transform: translateY(-1px) rotate(-1.8deg);
}

.prom-navbar .navbar-nav > li:nth-child(even) > .nav-link:hover,
.prom-navbar .navbar-nav > li:nth-child(even) > .nav-link:focus-visible,
.prom-navbar .navbar-nav > li:nth-child(even) > .nav-link.active {
    transform: translateY(-1px) rotate(1.35deg);
}

.prom-navbar .navbar-nav > li > .nav-link:hover,
.prom-navbar .navbar-nav > li > .nav-link:focus-visible,
.prom-navbar .navbar-nav > li > .nav-link.active {
    color: #fff8de !important;
    text-shadow: 0 3px 12px rgba(13, 20, 93, .34), 0 0 1px rgba(255,255,255,.16);
    filter: saturate(1.06);
}

.prom-navbar .navbar-nav > li > .nav-link:hover::before,
.prom-navbar .navbar-nav > li > .nav-link:focus-visible::before,
.prom-navbar .navbar-nav > li > .nav-link.active::before {
    opacity: 1;
    transform: scale(1) rotate(-1deg);
}

.prom-navbar .navbar-nav > li > .nav-link:hover::after,
.prom-navbar .navbar-nav > li > .nav-link:focus-visible::after,
.prom-navbar .navbar-nav > li > .nav-link.active::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1) rotate(-1.4deg);
}

.nav-action-btn {
    min-width: 98px;
    border-radius: 999px;
    font-weight: 800;
    padding: .48rem .95rem;
}

@media (max-width: 991.98px) {
    .prom-nav-shell,
    .prom-nav-links-stack {
        align-items: stretch;
    }

    .prom-nav-shell {
        flex-direction: column;
        gap: .5rem;
    }

    .prom-nav-row,
    .prom-nav-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
    }

    .prom-nav-row-links {
        gap: .1rem;
    }

    .prom-nav-actions {
        margin-top: .35rem;
        padding-top: .55rem;
        border-top: 1px solid rgba(255,255,255,.14);
    }

    .prom-navbar .nav-link {
        justify-content: flex-start;
        font-size: .98rem;
        padding: .56rem .7rem .68rem !important;
    }
}

@media (min-width: 992px) {
    .prom-navbar .container {
        min-height: 86px;
    }

    .prom-navbar .navbar-collapse {
        align-items: center;
    }

    .prom-nav-shell {
        max-width: calc(100% - 170px);
    }
}

.scroll-offset-section {
    scroll-margin-top: 110px;
}

.future-gallery-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    border-radius: 24px;
    border: 1px dashed rgba(27, 35, 136, .25);
    background: linear-gradient(135deg, rgba(27,35,136,.08), rgba(251,157,38,.16));
    color: var(--prom-blue);
    font-weight: 800;
    font-size: 1.05rem;
}

.pb-6 {
    padding-bottom: 4.5rem !important;
}

.brand-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

.prom-brand-floating {
    position: relative;
    z-index: 4;
    margin-right: .7rem;
}

.brand-logo-wordmark {
    width: min(240px, 52vw);
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
}

.brand-logo-emblem {
    width: clamp(92px, 8vw, 118px);
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.28));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.site-shell .prom-navbar {
    margin-bottom: 0;
}

.site-shell .prom-brand-floating {
    margin-bottom: -2rem;
    align-self: flex-start;
}

.site-shell .brand-logo-emblem-floating {
    width: clamp(116px, 10vw, 164px);
    transform: translateY(.95rem) rotate(-5deg);
    transform-origin: top left;
    filter: drop-shadow(0 18px 34px rgba(0,0,0,.34));
}

.site-shell .brand-logo-emblem-floating:hover {
    transform: translateY(.95rem) rotate(-3deg) scale(1.03);
    filter: drop-shadow(0 22px 40px rgba(0,0,0,.38));
}

.hero-section {
    background: radial-gradient(circle at top left, rgba(251,157,38,.16), transparent 35%), linear-gradient(135deg, #1B2388 0%, #0b114e 100%);
    color: var(--prom-white);
    border-radius: 0 0 32px 32px;
    overflow: hidden;
}

.home-page .hero-section {
    margin-top: -1px;
}

.site-shell:not(.home-page) .dashboard-header,
.site-shell:not(.home-page) section.container:first-of-type,
.site-shell:not(.home-page) .container.py-5:first-of-type {
    position: relative;
    z-index: 1;
}

.hero-card,
.prom-card {
    background: rgba(255,255,255,.96);
    border: 1px solid var(--prom-border);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(23, 33, 105, 0.08);
}

.glass-dark {
    background: rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    box-shadow: 0 25px 40px rgba(0,0,0,.16);
}

.btn-blue {
    background: var(--prom-blue);
    color: #fff;
    border: none;
}

.btn-blue:hover {
    background: #111b6f;
    color: #fff;
}


.btn-blue:disabled,
.btn-blue.disabled {
    background: var(--prom-blue);
    color: #fff;
    opacity: .45;
    border: none;
}

.btn-amber {
    background: var(--prom-amber);
    color: var(--prom-black);
    border: none;
    font-weight: 700;
}

.btn-amber:hover {
    background: #e48e24;
    color: var(--prom-black);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--prom-blue);
}

.metric-card {
    background: #fff;
    border-radius: 0;
    border: 1px solid var(--prom-border);
    padding: 0.9rem;
    height: 100%;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--prom-blue);
}

.metric-label {
    color: #6a718d;
    font-size: .95rem;
}

.user-pill {
    background: rgba(255,255,255,.12);
    border-radius: 999px;
    padding: .55rem .9rem !important;
}

.nav-user-dropdown .dropdown-toggle::after {
    display: none;
}

.nav-user-toggle {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: .45rem .7rem;
    border-radius: 18px;
    border: 1px solid transparent;
    background: transparent;
    color: #fff;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
}

.nav-user-toggle:hover,
.nav-user-toggle:focus,
.nav-user-toggle:focus-visible,
.nav-user-toggle.show,
.nav-user-toggle:active,
.nav-user-toggle:focus:active,
.nav-user-toggle.dropdown-toggle:active,
.nav-user-toggle.dropdown-toggle.show {
    background: transparent !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
}

.nav-user-toggle::before,
.nav-user-toggle::after {
    box-shadow: none !important;
}

.nav-user-avatar {
    width: 42px;
    height: 56px;
    min-width: 42px;
    aspect-ratio: 3 / 4;
    border-radius: 15px;
    object-fit: cover;
    object-position: center top;
    background: #fff;
    border: 2px solid rgba(255,255,255,.18);
}

.nav-user-avatar-placeholder {
    width: 42px;
    height: 56px;
    min-width: 42px;
    aspect-ratio: 3 / 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    background: linear-gradient(135deg, rgba(251,157,38,.98), rgba(255,212,89,.98));
    color: #111;
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,.18);
}

.nav-user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.05;
    min-width: 0;
}

.nav-user-name {
    display: block;
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 800;
    color: #fff;
}

.nav-user-role {
    display: block;
    font-size: .78rem;
    color: rgba(255,255,255,.78);
    margin-top: .2rem;
}

.nav-user-menu {
    margin-top: .6rem !important;
    min-width: 220px;
    border: 0;
    border-radius: 18px;
    padding: .55rem;
    box-shadow: 0 18px 40px rgba(13, 20, 93, .2);
}

.nav-user-menu .dropdown-item {
    border-radius: 12px;
    padding: .75rem .9rem;
    font-weight: 600;
}

.nav-user-menu .dropdown-item:hover,
.nav-user-menu .dropdown-item:focus {
    background: var(--social-status-bg, rgba(27,35,136,.08));
    color: var(--social-status-color, var(--prom-blue));
}

.nav-user-logout-item {
    color: #b42318;
}

.nav-user-menu .dropdown-divider {
    margin: .45rem 0;
}

.nav-user-toggle--student-level {
    min-width: 262px;
    gap: .78rem;
    padding: .48rem .58rem .48rem .6rem;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    border-color: rgba(106, 126, 255, .18) !important;
    background:
        radial-gradient(circle at 15% 20%, rgba(82,242,255,.14), transparent 28%),
        radial-gradient(circle at 85% 90%, rgba(255,79,216,.10), transparent 26%),
        linear-gradient(135deg, rgba(7,12,34,.96) 0%, rgba(16,25,70,.92) 55%, rgba(8,13,38,.96) 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        inset 0 0 0 1px rgba(255,255,255,.02),
        0 12px 26px rgba(4,8,25,.28),
        0 0 0 1px rgba(82,242,255,.05) !important;
}

.nav-user-toggle--student-level:hover,
.nav-user-toggle--student-level:focus,
.nav-user-toggle--student-level.show {
    border-color: rgba(82,242,255,.28) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        inset 0 0 0 1px rgba(255,255,255,.03),
        0 14px 30px rgba(4,8,25,.36),
        0 0 24px rgba(82,242,255,.08) !important;
}

.nav-user-hud {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .34rem;
}

.nav-user-name--student {
    max-width: 100%;
}

/* ── Level Bar (Gamer HUD) ─────────────────────────────────────────── */
.nav-user-levelbar {
    position: relative;
    display: block;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(4, 8, 28, .92);
    border: 1px solid rgba(110, 134, 255, .18);
    box-shadow:
        inset 0 1px 3px rgba(0,0,0,.6),
        inset 0 0 12px rgba(30,50,120,.22),
        0 0 0 1px rgba(255,255,255,.03);
    /* CSS variable set by JS: 0–1 */
    --lv-pct: 0;
}

/* Subtle tick grid on the track */
.nav-user-levelbar-track {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,0) 0 14px,
        rgba(140,162,255,.10) 14px 15px,
        rgba(255,255,255,0) 15px 22px
    );
    pointer-events: none;
    opacity: .5;
}

/* Scan sweep on the whole bar */
.nav-user-levelbar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg,
        rgba(82,242,255,0) 0%,
        rgba(82,242,255,.18) 50%,
        rgba(82,242,255,0) 100%
    );
    background-size: 200% 100%;
    pointer-events: none;
    animation: lvBarScan 4.8s linear infinite;
    opacity: 0;
    transition: opacity .4s ease;
}
.nav-user-levelbar.lv-ready::before {
    opacity: 1;
}

/* ── Fill bar ── */
.nav-user-levelbar-fill {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    /* no overflow:hidden — tip orb lives outside */
    transform: scaleX(0);
    transform-origin: left center;
    /* gradient flows right along the bar */
    background:
        linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,0) 55%),
        linear-gradient(90deg,
            #c72bff 0%,
            #7b5fff 22%,
            #4d8fff 45%,
            #22d4ff 70%,
            #5affea 100%
        );
    background-size: 100% 100%, 220% 100%;
    /* entrance transition — spring feel */
    transition: transform 1.6s cubic-bezier(.08, .9, .28, 1);
    will-change: transform;
    /* idle animations start AFTER entrance (see .lv-ready) */
    animation: none;
}
.nav-user-levelbar-fill.lv-ready {
    animation:
        lvFillFlow   5s linear        infinite,
        lvFillPulse  2.4s ease-in-out infinite;
}

/* Diagonal speed-lines inside fill */
.nav-user-levelbar-sheen {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -55deg,
        rgba(255,255,255,0)    0   9px,
        rgba(255,255,255,.11) 9px 13px,
        rgba(255,255,255,0)  13px 22px
    );
    background-size: 300% 100%;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: none;
}
.nav-user-levelbar-fill.lv-ready .nav-user-levelbar-sheen {
    animation: lvSheenMove 2.6s linear infinite;
}

/* ── Tip orb — sibling of fill, NOT clipped ── */
.nav-user-levelbar-tip {
    position: absolute;
    top: 50%;
    /* JS sets left via --lv-pct ; default hidden at 0 */
    left: calc(var(--lv-pct) * 100%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: radial-gradient(circle,
        #ffffff 0%,
        #7ef9ff 38%,
        rgba(70,216,255,.3) 68%,
        transparent 100%
    );
    box-shadow:
        0 0 6px  rgba(126,249,255,.85),
        0 0 14px rgba(70,216,255,.55),
        0 0 26px rgba(196,79,255,.30);
    pointer-events: none;
    /* hidden until ready */
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
}
.nav-user-levelbar-tip.lv-ready {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    animation: lvTipPulse 1.7s ease-in-out infinite;
}
/* hide tip when bar is 0% */
.nav-user-levelbar-tip.lv-empty {
    display: none;
}

/* ── Keyframes ── */
@keyframes lvBarScan {
    0%   { background-position: -100% 0; }
    100% { background-position:  300% 0; }
}

@keyframes lvFillFlow {
    0%   { background-position: 100% 0, 0%   50%; }
    100% { background-position: 100% 0, 220% 50%; }
}

@keyframes lvFillPulse {
    0%, 100% { filter: brightness(1)   saturate(1); }
    50%       { filter: brightness(1.1) saturate(1.12); }
}

@keyframes lvSheenMove {
    0%   { background-position: 0%   0; }
    100% { background-position: 300% 0; }
}

@keyframes lvTipPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(.94); opacity: .85; }
    50%       { transform: translate(-50%, -50%) scale(1.18); opacity:  1;  }
}

/* Entrance flash on the whole bar */
@keyframes lvBarFlash {
    0%   { box-shadow: inset 0 1px 3px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.03), 0 0 22px rgba(82,242,255,.55); }
    100% { box-shadow: inset 0 1px 3px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.03), 0 0  0px rgba(82,242,255,0);   }
}
.nav-user-levelbar.lv-flash {
    animation: lvBarFlash .7s ease-out forwards;
}

.nav-user-levelmeta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.nav-user-levelname {
    font-size: .77rem;
    font-weight: 800;
    color: rgba(255,255,255,.92);
    letter-spacing: .035em;
    text-transform: uppercase;
    min-width: 0;
    text-shadow: 0 0 10px rgba(108,135,255,.18);
}

.nav-user-points {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .77rem;
    font-weight: 800;
    color: rgba(255,255,255,.98);
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
    padding: .18rem .45rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 10px rgba(255,208,89,.06);
}

.nav-user-points-icon {
    width: 15px;
    height: 15px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 6px rgba(255,208,89,.30)) drop-shadow(0 2px 5px rgba(0,0,0,.28));
}

@media (prefers-reduced-motion: reduce) {
    .nav-user-levelbar::before,
    .nav-user-levelbar-fill.lv-ready,
    .nav-user-levelbar-fill.lv-ready .nav-user-levelbar-sheen,
    .nav-user-levelbar-tip.lv-ready {
        animation: none;
    }
    .nav-user-levelbar-fill {
        transition: none;
    }
}

.nav-user-caret {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.88);
    flex: 0 0 28px;
}

@media (max-width: 991.98px) {
    .nav-user-dropdown {
        width: 100%;
    }

    .nav-user-toggle {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-user-toggle--student-level {
        min-width: 0;
    }

    .nav-user-name {
        max-width: 100%;
    }

    @media (prefers-reduced-motion: reduce) {
    .nav-user-levelbar-fill,
    .nav-user-levelbar-tip {
        animation: none;
    }
}

.nav-user-caret {
        margin-left: auto;
    }
}


.prom-footer {
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
    border-top: 3px solid rgba(251, 157, 38, .95);
    box-shadow: 0 -18px 42px rgba(0, 0, 0, .28);
    position: relative;
    overflow: hidden;
}

.prom-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(27, 35, 136, .42), transparent 40%),
        linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,0) 20%, rgba(255,255,255,.02) 50%, rgba(255,255,255,0) 80%, rgba(255,255,255,.02));
    pointer-events: none;
    opacity: .9;
}

.prom-footer .container {
    position: relative;
    z-index: 1;
    padding-top: 2.6rem !important;
    padding-bottom: 2.4rem !important;
}

.footer-copy {
    color: rgba(255,255,255,.76);
}

.prom-footer-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.45rem;
    text-align: center;
}

.prom-footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .18s ease, filter .18s ease;
}

.prom-footer-brand:hover,
.prom-footer-brand:focus {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.prom-footer-logo {
    display: block;
    width: min(220px, 54vw);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .35));
}

.prom-footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2rem;
}

.prom-footer-link {
    color: rgba(255,255,255,.92);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .035em;
    font-size: .94rem;
    transition: color .18s ease, transform .18s ease, text-shadow .18s ease;
}

.prom-footer-link:hover,
.prom-footer-link:focus {
    color: var(--prom-amber);
    transform: translateY(-1px);
    text-shadow: 0 0 18px rgba(251, 157, 38, .18);
}

.prom-footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;
}

.prom-footer-social-link {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.prom-footer-social-link:hover,
.prom-footer-social-link:focus {
    color: var(--prom-amber);
    background: rgba(27, 35, 136, .3);
    border-color: rgba(251, 157, 38, .42);
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, .28);
}

.prom-footer-social-link i {
    font-size: 1.08rem;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .prom-footer .container {
        padding-top: 2.1rem !important;
        padding-bottom: 2.1rem !important;
    }

    .prom-footer-shell {
        gap: 1.15rem;
    }

    .prom-footer-nav {
        gap: .75rem 1.1rem;
    }

    .prom-footer-link {
        font-size: .88rem;
    }

    .prom-footer-social-link {
        width: 40px;
        height: 40px;
    }
}

.notifications-page-shell {
    padding-top: 22px;
}

@media (max-width: 991.98px) {
    .notifications-page-shell {
        padding-top: 16px;
    }
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
    background: rgba(27, 35, 136, .1);
    color: var(--prom-blue);
}

.tprom-card {
    background: linear-gradient(135deg, var(--prom-blue) 0%, #0f165f 65%, #06080f 100%);
    color: #fff;
    border-radius: 28px;
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.tprom-card::after {
    content: '';
    position: absolute;
    inset: auto -70px -70px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(251,157,38,.18);
}



.tprom-card-art {
    background-image: linear-gradient(140deg, rgba(64, 0, 95, .18), rgba(12, 3, 24, .22)), url('../img/tprom-card-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 22px 55px rgba(12, 3, 24, .38);
    min-height: 270px;
    aspect-ratio: 1.78 / 1;
    padding: 1rem 1rem 1.15rem;
}

.tprom-card-art::after {
    display: none;
}

.tprom-card-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 4, 24, .10) 0%, rgba(5, 4, 24, .04) 36%, rgba(5, 4, 24, .34) 100%);
    pointer-events: none;
}

.tprom-card-surface {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tprom-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
}

.tprom-card-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .48rem .85rem;
    border-radius: 999px;
    background: rgba(15, 6, 32, .42);
    border: 1px solid rgba(255,255,255,.20);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-weight: 700;
    font-size: .84rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.tprom-card-status .status-pill {
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
    border: 1px solid rgba(255,255,255,.18);
}

.tprom-card-bottom {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.tprom-card-identity {
    min-width: 0;
    flex: 1 1 auto;
    position: relative;
    top: 12px;
}

.tprom-card-name {
    color: #fff;
    font-size: clamp(1.05rem, 2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-shadow: 0 5px 18px rgba(0,0,0,.36);
    word-break: break-word;
    max-width: 320px;
}

.tprom-card-code-inline {
    margin-top: .4rem;
    color: #ffd54d;
    font-size: clamp(.92rem, 1.4vw, 1.25rem);
    font-weight: 800;
    letter-spacing: .03em;
    text-shadow: 0 5px 14px rgba(0,0,0,.28);
}

.tprom-card-qr-frame {
    flex: 0 0 auto;
    background: #fff;
    padding: .65rem;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transform: translate(-50px, -20px);
}

.tprom-card-qr {
    width: 138px;
    height: 138px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tprom-card-qr img,
.tprom-card-qr canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.tprom-card-meta {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.tprom-card-note {
    color: rgba(255,255,255,.78);
    font-size: .92rem;
}

.tprom-card-subnote {
    color: rgba(255,255,255,.66);
    font-size: .84rem;
}

@media (max-width: 991.98px) {
    .tprom-card-art {
        min-height: 300px;
    }
}

@media (max-width: 575.98px) {
    .tprom-card-art {
        padding: .85rem .85rem 1rem;
        min-height: 240px;
        aspect-ratio: 1.62 / 1;
    }

    .tprom-card-bottom {
        gap: .75rem;
    }

    .tprom-card-identity {
        top: 8px;
    }

    .tprom-card-qr-frame {
        padding: .44rem;
        border-radius: 0;
        border: none;
        transform: translate(-50px, -20px);
    }

    .tprom-card-qr {
        width: 96px;
        height: 96px;
    }

    .tprom-card-name {
        font-size: 1rem;
        max-width: 170px;
    }

    .tprom-card-code-inline {
        font-size: .84rem;
    }

    .tprom-card-chip {
        padding: .4rem .68rem;
        font-size: .78rem;
    }
}

.tprom-code {
    letter-spacing: .12em;
    font-weight: 800;
    font-size: 1.2rem;
}

.table-prom thead th {
    background: rgba(27, 35, 136, .08);
    color: var(--prom-blue);
    border-bottom: 0;
}

.table-prom {
    overflow: hidden;
    border-radius: 18px;
}

.form-control,
.form-select {
    border-radius: 14px;
    min-height: 48px;
    border-color: rgba(27, 35, 136, .18);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--prom-amber);
    box-shadow: 0 0 0 .2rem rgba(251,157,38,.18);
}

.status-pill {
    display: inline-block;
    padding: .4rem .8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .84rem;
}

.status-pending { background: rgba(251,157,38,.16); color: #9a5d00; }
.status-approved { background: rgba(27,35,136,.12); color: var(--prom-blue); }
.status-rejected { background: rgba(0,0,0,.12); color: #111; }
.status-blocked { background: rgba(0,0,0,.12); color: #111; }
.status-active { background: rgba(27,35,136,.12); color: var(--prom-blue); }

.logo-preview {
    width: 100%;
    max-width: 340px;
    border-radius: 30px;
    background: #fff;
    padding: 16px;
}

.logo-preview-wordmark {
    max-width: 420px;
    border-radius: 0;
    background: transparent;
    padding: 0;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,.18));
}

.palette-preview {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--prom-border);
}

.dashboard-header {
    background: linear-gradient(135deg, rgba(27,35,136,1), rgba(27,35,136,.82));
    color: #fff;
    border-radius: 28px;
    padding: 1.5rem;
}

.small-muted {
    color: #7681a6;
    font-size: .92rem;
}


.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.admin-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: var(--prom-blue);
    background: rgba(27, 35, 136, .08);
    border: 1px solid rgba(27, 35, 136, .12);
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: var(--prom-blue);
    color: #fff;
}

.admin-table td,
.admin-table th {
    vertical-align: middle;
}

.table-prom tbody tr:last-child td {
    border-bottom: 0;
}


.entity-thumb {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(27, 35, 136, .12);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.entity-thumb-portrait {
    width: 60px;
    height: 82px;
    aspect-ratio: 3 / 4;
    border-radius: 0;
    object-position: center top;
}

.entity-thumb-placeholder {
    background: rgba(27, 35, 136, .1);
    color: var(--prom-blue);
    font-weight: 800;
}

.form-preview-card {
    border: 1px dashed rgba(27, 35, 136, .2);
    border-radius: 0;
    padding: 1rem;
    background: rgba(27,35,136,.03);
}

.page-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.admin-list-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}


.help-tooltip-trigger {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 0;
    background: rgba(27, 35, 136, .12);
    color: var(--prom-blue);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, color .15s ease;
}

.help-tooltip-trigger:hover,
.help-tooltip-trigger:focus {
    background: var(--prom-amber);
    color: var(--prom-black);
    transform: translateY(-1px);
    outline: none;
}


.admin-panel-body {
    background: linear-gradient(180deg, #050914 0%, #08101f 100%);
    color: #edf1ff;
}

.admin-flash-wrap {
    position: fixed;
    top: 18px;
    right: 22px;
    z-index: 20000;
    width: min(620px, calc(100vw - 24px));
}

.admin-flash-wrap .alert {
    pointer-events: auto;
}

.admin-content-shell {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
}

.admin-sidebar {
    width: 320px;
    flex: 0 0 320px;
    background: linear-gradient(180deg, rgba(4, 10, 25, 0.98) 0%, rgba(2, 7, 19, 1) 100%);
    border-right: 1px solid rgba(255,255,255,.08);
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 20px 18px;
}

.admin-sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 10px 18px;
}

.admin-brand-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    box-shadow: 0 10px 24px rgba(0,0,0,.24);
}

.admin-brand-title {
    color: #ffffff;
    font-size: 1.42rem;
    font-weight: 800;
    line-height: 1.1;
}

.admin-brand-subtitle {
    color: rgba(227, 233, 255, .68);
    font-size: 1rem;
    margin-top: 4px;
}

.admin-sidebar-divider {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 10px 6px 20px;
}

.admin-side-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.admin-side-nav-grouped {
    scrollbar-width: thin;
}

.admin-nav-group {
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.admin-nav-group.is-active {
    border-color: rgba(88, 184, 255, .22);
}

.admin-nav-group summary {
    list-style: none;
}

.admin-nav-group summary::-webkit-details-marker {
    display: none;
}

.admin-nav-group-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.admin-nav-group-head {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.admin-nav-group-icon {
    width: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.05rem;
    color: rgba(251,157,38,.95);
}

.admin-nav-group-caret {
    color: rgba(255,255,255,.7);
    transition: transform .2s ease;
}

.admin-nav-group[open] .admin-nav-group-caret {
    transform: rotate(180deg);
}

.admin-nav-group-links {
    display: grid;
    gap: 8px;
    padding: 0 12px 12px;
}

.admin-side-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 0;
    text-decoration: none;
    color: rgba(255,255,255,.88);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
    font-size: .98rem;
    font-weight: 600;
    transition: all .18s ease;
}

.admin-side-link:hover {
    color: #ffffff;
    border-color: rgba(251,157,38,.35);
    transform: translateY(-1px);
}

.admin-side-link.active {
    background: linear-gradient(180deg, rgba(26, 46, 69, 0.95), rgba(22, 39, 59, 0.95));
    border-color: rgba(88, 184, 255, .28);
    box-shadow: 0 16px 30px rgba(0,0,0,.22), inset 0 0 0 1px rgba(59, 162, 255, .08);
}

.admin-side-icon {
    width: 28px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.18rem;
}

.admin-sidebar-footer {
    margin-top: auto;
    padding: 18px 8px 6px;
}

.admin-user-chip {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 14px 14px;
    background: rgba(255,255,255,.03);
    margin-bottom: 12px;
}

.admin-user-name {
    color: #fff;
    font-weight: 700;
}

.admin-user-role {
    color: rgba(227, 233, 255, .62);
    font-size: .92rem;
    margin-top: 4px;
}

.admin-profile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    padding: 11px 14px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    color: #0c1430;
    background: linear-gradient(180deg, #f8c15c, #fb9d26);
    box-shadow: 0 12px 26px rgba(251,157,38,.22);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.admin-profile-link:hover {
    color: #0c1430;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(251,157,38,.28);
    filter: brightness(1.03);
}
.admin-profile-link.active {
    box-shadow: 0 0 0 2px rgba(255,255,255,.18), 0 16px 34px rgba(251,157,38,.28);
}


.admin-profile-summary-card {
    position: sticky;
    top: 26px;
}

.admin-profile-summary-avatar-wrap {
    display: flex;
    justify-content: center;
}

.admin-profile-summary-avatar {
    width: 148px;
    height: 148px;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 22px 44px rgba(12,20,48,.16);
    border: 4px solid rgba(27,35,136,.08);
}

.admin-profile-summary-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #1B2388, #12185e);
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
}

.admin-profile-meta-list {
    gap: 12px;
}

.admin-profile-meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f7f8fd;
    border: 1px solid rgba(27,35,136,.08);
}

.admin-profile-meta-label {
    color: #667085;
    font-size: .9rem;
    font-weight: 600;
}

.admin-profile-meta-item strong {
    color: #162033 !important;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.25;
    opacity: 1;
}

@media (max-width: 1199.98px) {
    .admin-profile-summary-card {
        position: static;
    }
}

.admin-logout-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FB9D26;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 4px;
}

.admin-logout-link:hover {
    color: #ffd08c;
}

.admin-content-main {
    flex: 1;
    min-width: 0;
    padding: 28px;
}

.admin-page-section {
    max-width: 1360px;
}

.admin-panel-body .dashboard-header {
    background: linear-gradient(135deg, rgba(27,35,136,.94), rgba(8,12,29,.96));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 24px 45px rgba(0,0,0,.18);
}

.admin-panel-body .prom-card,
.admin-panel-body .metric-card {
    background: rgba(255,255,255,.96);
}

.admin-panel-body .small-muted {
    color: #6d7691;
}

.admin-panel-body .prom-footer {
    margin-left: 0;
    background: #040914;
    border-top: 1px solid rgba(255,255,255,.06);
}

.admin-panel-body .prom-footer .container {
    max-width: none;
    padding-left: calc(320px + 28px);
    padding-right: 28px;
}

@media (max-width: 991.98px) {
    .admin-content-shell {
        display: block;
    }

    .admin-sidebar {
        position: static;
        width: 100%;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .admin-content-main {
        padding: 18px;
    }

    .admin-panel-body .prom-footer {
        margin-left: 0;
    }

    .admin-panel-body .prom-footer .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .admin-flash-wrap {
        position: static;
        width: auto;
        margin: 16px;
    }
}


.metric-card-3d {
    min-height: 246px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    padding: 1.35rem 1.35rem 1.25rem;
}

.metric-card-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(251,157,38,.12), transparent 40%),
                radial-gradient(circle at bottom left, rgba(27,35,136,.09), transparent 34%);
    pointer-events: none;
}

.metric-icon-3d {
    width: 94px;
    height: 94px;
    object-fit: contain;
    margin-bottom: .9rem;
    align-self: center;
    filter: drop-shadow(0 14px 22px rgba(27,35,136,.16));
}

.admin-panel-body .metric-card-3d .metric-value,
.admin-panel-body .metric-card-3d .metric-label {
    position: relative;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .metric-card-3d {
        min-height: 220px;
    }

    .metric-icon-3d {
        width: 82px;
        height: 82px;
    }
}


/* Admin premium dashboard cards */
.metric-card-3d {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 240px;
    padding: 1.6rem 1.25rem 1.35rem;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6ff 100%);
    box-shadow: 0 18px 45px rgba(7, 15, 60, 0.14);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.metric-card-3d:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 55px rgba(7, 15, 60, 0.2);
    border-color: rgba(251, 157, 38, 0.35);
}

.metric-icon-3d {
    width: 84px;
    height: 84px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 12px 20px rgba(27, 35, 136, 0.18));
}

.metric-card-3d .metric-value {
    font-size: 3.2rem;
    line-height: 1;
    margin-bottom: .4rem;
}

.metric-card-3d .metric-label {
    font-size: 1.18rem;
    font-weight: 700;
    color: #47506f;
}

/* Make admin form labels readable */
.admin-page-section .prom-card .form-label,
.admin-page-section .prom-card label,
.admin-page-section .prom-card .form-check-label {
    color: #111111 !important;
    font-weight: 700;
}

.admin-page-section .prom-card .help-tooltip-trigger {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(27, 35, 136, 0.12);
    background: rgba(27, 35, 136, 0.1);
    color: var(--prom-blue);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}


.recent-dashboard-grid .prom-card {
    min-height: 100%;
}

@media (min-width: 1200px) {
    .recent-dashboard-grid > [class*="col-"] {
        flex: 0 0 auto;
        width: 50%;
    }
}


.admin-form-label {
    color: #111 !important;
}

.invitation-link-wrap {
    min-width: 280px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .5rem;
    align-items: center;
}

.invitation-link-input {
    font-size: .82rem;
}

.invitation-link-wrap-single {
    grid-template-columns: 1fr;
}


.recent-dashboard-grid-two > .col-12.col-xl-6 {
    width: 100%;
}

@media (min-width: 1200px) {
    .recent-dashboard-grid-two > .col-12.col-xl-6 {
        width: 50%;
    }
}

.table-notes-row td {
    background: rgba(27, 35, 136, 0.04) !important;
}

.student-review-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 1200px) {
    .student-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.review-avatar-lg {
    width: 108px;
    height: 144px;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    object-fit: cover;
    object-position: center top;
    box-shadow: 0 16px 28px rgba(10, 18, 58, 0.14);
    background: #fff;
}

.student-review-card {
    border-radius: 30px;
    box-shadow: 0 18px 42px rgba(7, 15, 60, 0.12);
}

.student-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.student-review-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1B2388;
    line-height: 1.1;
}

.student-review-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem 1rem;
}

@media (max-width: 575.98px) {
    .student-review-header {
        flex-direction: column;
    }

    .student-review-meta-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.review-meta-label {
    display: block;
    font-size: .77rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7393;
    margin-bottom: .15rem;
    font-weight: 700;
}

.review-meta-value {
    display: block;
    color: #111827;
    font-weight: 600;
}

.review-checklist {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.review-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(27, 35, 136, 0.08);
    color: #1B2388;
    border-radius: 999px;
    padding: .5rem .85rem;
    font-weight: 700;
    font-size: .84rem;
}

.review-notes-box {
    background: rgba(251, 157, 38, 0.1);
    border: 1px solid rgba(251, 157, 38, 0.2);
    border-radius: 18px;
    padding: .9rem 1rem;
    color: #2f2b1d;
}

.student-review-form .form-text {
    color: #5b6280;
}

.student-review-grid-manager .student-review-card {
    min-height: 100%;
}


.invitation-actions {
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
}

.invitation-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(42px, 1fr));
    gap: .5rem;
    align-items: stretch;
}

.invitation-actions-grid form,
.invitation-actions-grid a,
.invitation-actions-grid button {
    margin: 0;
}

.invitation-actions-grid form {
    display: contents;
}

.invitation-actions-grid-compact {
    min-width: 146px;
}

.btn-action-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid transparent;
    color: #fff;
    background: #1B2388;
    box-shadow: 0 10px 20px rgba(10, 18, 58, 0.14);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn-action-icon i {
    font-size: 1rem;
    line-height: 1;
}

.btn-action-icon:hover {
    transform: translateY(-2px);
    filter: brightness(1.02);
    box-shadow: 0 14px 26px rgba(10, 18, 58, 0.18);
}

.btn-action-icon:focus {
    box-shadow: 0 0 0 .2rem rgba(27,35,136,.18), 0 10px 20px rgba(10, 18, 58, 0.14);
}

.btn-action-icon.btn-copy {
    background: linear-gradient(135deg, #ffffff, #f2f4fb);
    color: #1B2388;
    border-color: rgba(27, 35, 136, 0.14);
}

.btn-action-icon.btn-copy:hover {
    background: linear-gradient(135deg, #1B2388, #3040d0);
    color: #fff;
    border-color: transparent;
}

.btn-action-icon.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #1fb957);
    color: #fff;
    border-color: #25D366;
}

.btn-action-icon.btn-whatsapp:hover {
    background: linear-gradient(135deg, #ffffff, #f8fffb);
    color: #25D366;
    border-color: #25D366;
}

.btn-action-icon.btn-renew {
    background: linear-gradient(135deg, #1B2388, #3040d0);
}

.btn-action-icon.btn-send {
    background: linear-gradient(135deg, #FB9D26, #ffb951);
    color: #111;
}

.btn-action-icon.btn-cancel {
    background: linear-gradient(135deg, #222, #4a4a4a);
}

.btn-action-icon.btn-delete {
    background: linear-gradient(135deg, #a71d2a, #dc3545);
}

@media (max-width: 575.98px) {
    .invitation-actions-grid {
        grid-template-columns: repeat(3, 42px);
        justify-content: start;
    }
}


.avatar-portrait-md {
    width: 72px;
    height: 96px;
    aspect-ratio: 3 / 4;
    border-radius: 0;
    object-fit: cover;
    object-position: center top;
    background: #fff;
    box-shadow: 0 14px 28px rgba(10, 18, 58, 0.12);
}

.student-dashboard-avatar {
    width: 92px;
    height: 122px;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    object-fit: cover;
    object-position: center top;
    background: #fff;
    box-shadow: 0 16px 28px rgba(10, 18, 58, 0.14);
}

.password-input-wrap {
    position: relative;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #58617f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus {
    background: rgba(27, 35, 136, 0.08);
    color: var(--prom-blue);
    outline: none;
}

.password-strength-meter {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(27, 35, 136, 0.08);
    overflow: hidden;
}

.password-strength-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    transition: width .22s ease, background-color .22s ease;
}

.password-strength-fill.is-empty { background: transparent; }
.password-strength-fill.is-weak { background: #dc3545; }
.password-strength-fill.is-fair { background: #fd7e14; }
.password-strength-fill.is-good { background: #f0ad4e; }
.password-strength-fill.is-strong { background: #2d8cff; }
.password-strength-fill.is-very-strong { background: #198754; }

.password-strength-text,
.username-check-feedback {
    min-height: 1.25rem;
}

.username-check-feedback.is-neutral { color: #6d7691; }
.username-check-feedback.is-warning { color: #9a6500; }
.username-check-feedback.is-success { color: #198754; font-weight: 700; }
.username-check-feedback.is-danger { color: #b42318; font-weight: 700; }


.invite-school-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 112px;
}

.invite-school-thumb-wrap {
    flex: 0 0 auto;
}

.invite-school-thumb {
    width: 76px;
    height: 96px;
    aspect-ratio: 19 / 24;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    border: 1px solid rgba(27, 35, 136, .12);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 25px rgba(23, 33, 105, 0.10);
}

.invite-school-thumb-placeholder {
    background: rgba(27, 35, 136, .08);
    color: var(--prom-blue);
    font-size: 1.8rem;
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .invite-school-card {
        align-items: flex-start;
    }
}


.tprom-status-panel {
    margin-top: .25rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    border: 1px solid rgba(27,35,136,.12);
    background: linear-gradient(180deg, #ffffff 0%, #f6f7ff 100%);
    box-shadow: 0 12px 28px rgba(9, 18, 66, 0.08);
}

.tprom-status-panel.is-success {
    border-color: rgba(25, 135, 84, .2);
    box-shadow: 0 12px 28px rgba(25, 135, 84, .08);
}

.tprom-status-panel.is-danger {
    border-color: rgba(220, 53, 69, .18);
    box-shadow: 0 12px 28px rgba(220, 53, 69, .08);
}

.tprom-status-panel.is-warn {
    border-color: rgba(255, 193, 7, .25);
    box-shadow: 0 12px 28px rgba(255, 193, 7, .10);
}

.qr-scanner-shell {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    min-height: 320px;
    background: radial-gradient(circle at top, rgba(27,35,136,.18), rgba(7,15,60,.94));
    border: 1px solid rgba(255,255,255,.08);
}

.qr-video {
    width: 100%;
    min-height: 320px;
    max-height: 62vh;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.qr-scan-placeholder {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
}

.qr-scan-placeholder i {
    font-size: 3rem;
    color: var(--prom-amber);
}


.business-dashboard-hero {
    padding: 1.75rem;
}

.business-dashboard-header-row {
    min-height: 170px;
}

.business-dashboard-identity {
    min-width: 0;
}


.business-dashboard-copy {
    min-width: 0;
}

.business-dashboard-kicker {
    margin-bottom: .35rem;
}

.business-dashboard-avatar {
    width: 112px;
    height: 148px;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    object-fit: cover;
    object-position: center top;
    background: rgba(255,255,255,.96);
    box-shadow: 0 20px 40px rgba(5, 10, 35, 0.28);
    border: 1px solid rgba(255,255,255,.3);
    flex-shrink: 0;
}

.business-dashboard-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--prom-blue);
    font-size: 2.3rem;
    font-weight: 800;
}

.business-dashboard-pill {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
}

@media (max-width: 767.98px) {
    .business-dashboard-avatar {
        width: 92px;
        height: 122px;
        border-radius: 22px;
    }

    .business-dashboard-identity {
        align-items: flex-start !important;
    }

    .business-dashboard-hero {
        padding: 0.9rem;
    }
}

.student-avatar-placeholder {
    width: 154px;
    height: 206px;
    aspect-ratio: 3 / 4;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(27,35,136,.16), rgba(251,157,38,.22));
    color: var(--prom-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.35rem;
    font-weight: 800;
    box-shadow: 0 22px 38px rgba(10, 18, 58, 0.14);
    margin-top: -6px;
}

.student-profile-card {
    position: relative;
    overflow: hidden;
}

.student-profile-avatar {
    width: 154px;
    height: 206px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 22px 38px rgba(10, 18, 58, 0.18);
    margin-top: -6px;
}

.profile-data-list {
    display: grid;
    gap: .8rem;
}

.profile-data-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1rem;
    border-radius: 18px;
    background: rgba(27,35,136,.04);
    border: 1px solid rgba(27,35,136,.08);
}

.profile-data-row span {
    color: #6d7691;
    font-size: .92rem;
}

.profile-data-row strong {
    color: #111827;
    text-align: right;
}


.profile-quick-links-card {
    height: auto;
    min-height: 0;
}

.student-tprom-card .student-mini-stat {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 0;
    padding: .95rem 1rem;
    height: 100%;
}

.student-tprom-card .student-mini-stat span {
    display: block;
    font-size: .86rem;
    color: rgba(255,255,255,.72);
    margin-bottom: .35rem;
}

.student-tprom-card .student-mini-stat strong {
    display: block;
    font-size: 1.05rem;
    color: #fff;
}

.student-tprom-card-wrap .student-mini-stat {
    background: rgba(27,35,136,.06);
    border: 1px solid rgba(27,35,136,.10);
    border-radius: 0;
    padding: .95rem 1rem;
    height: 100%;
}

.student-tprom-card-wrap .student-mini-stat span {
    display: block;
    font-size: .86rem;
    color: #6d7691;
    margin-bottom: .35rem;
}

.student-tprom-card-wrap .student-mini-stat strong {
    display: block;
    font-size: 1.05rem;
    color: #111827;
}

@media (max-width: 575.98px) {
    .profile-data-row {
        flex-direction: column;
    }

    .profile-data-row strong {
        text-align: left;
    }
}


.home-slider-section {
    position: relative;
    overflow: hidden;
    background: #f7f8fc;
}

.home-slider-section::before,
.home-slider-section::after {
    content: '';
    position: absolute;
    inset: auto;
    pointer-events: none;
    filter: blur(24px);
    opacity: 0.75;
}

.home-slider-section::before {
    width: 0;
    height: 0;
    left: 0;
    top: 0;
    background: transparent;
}

.home-slider-section::after {
    width: 0;
    height: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.home-hero-slider {
    position: relative;
}

.home-hero-shell {
    position: relative;
    padding: 0.9rem;
    border-radius: 34px;
    background: linear-gradient(145deg, #0b1020 0%, #111935 56%, #0d1530 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.42), 0 0 0 1px rgba(27,35,136,0.10);
    overflow: hidden;
}

.home-hero-shell::before,
.home-hero-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-hero-shell::before {
    background:
        radial-gradient(circle at top left, rgba(251,157,38,0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(27,35,136,0.26), transparent 42%);
    opacity: 1;
}

.home-hero-shell::after {
    inset: 1px;
    border-radius: 33px;
    border: 1px solid rgba(255,255,255,0.05);
}

.home-hero-header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0.15rem 1rem;
}

.home-hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
}

.home-hero-brand__logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 14px 28px rgba(0,0,0,0.28);
}

.home-hero-brand__logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.home-hero-brand__eyebrow {
    display: block;
    margin-bottom: 0.22rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.56);
}

.home-hero-brand h2 {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 800;
    color: #ffffff;
}


.home-hero-slider-shell {
    position: relative;
}

.home-slider-controls--overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 8;
}

.home-slider-controls--overlay .home-slider-nav {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(255,255,255,0.92);
    color: #0f172a;
    border-color: rgba(15,23,42,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-hero-copy h1 {
    font-size: clamp(2rem, 3.2vw, 3.5rem);
}

.home-hero-copy p {
    font-size: clamp(0.95rem, 1.1vw, 1.02rem);
}

.home-slider-controls {
    display: inline-flex;
    gap: 0.75rem;
}

.home-slider-nav {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 18px;
    background: rgba(255,255,255,0.92);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.home-slider-nav:hover {
    transform: translateY(-2px);
    border-color: rgba(251,157,38,0.42);
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(251,157,38,0.12);
}

.home-slider-stage-wrap {
    position: relative;
    min-height: 470px;
}

.home-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(24px, 0, 0) scale(0.985);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 28px;
    overflow: hidden;
}

.home-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
}

.home-hero-slide__bg,
.home-hero-slide__overlay,
.home-hero-slide__grid,
.home-hero-slide__flare {
    position: absolute;
    inset: 0;
}

.home-hero-slide__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transform: scale(1.01);
}

.home-hero-slide.is-active .home-hero-slide__bg img {
    animation: homeHeroZoom 9s ease forwards;
}

.home-hero-slide__overlay {
    background: transparent;
}

.home-hero-slide.theme-light .home-hero-slide__overlay {
    background: transparent;
}

.home-hero-slide__grid {
    background: transparent;
    opacity: 0;
}

.home-hero-slide__flare {
    background: transparent;
    opacity: 0;
}

.home-hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    min-height: 470px;
    padding: clamp(1.6rem, 2.5vw, 2.4rem);
}

.home-hero-copy {
    max-width: min(560px, 56%);
    padding: clamp(0.85rem, 1.15vw, 1.05rem);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(255,255,255,0.82));
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-hero-slide.theme-light .home-hero-copy {
    background: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(255,255,255,0.82));
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.home-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.home-hero-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.55rem 0.88rem;
    border-radius: 999px;
    border: 1px solid rgba(251,157,38,0.36);
    background: rgba(251,157,38,0.12);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-hero-slide.theme-light .home-hero-pill {
    color: #0f172a;
    background: rgba(27,35,136,0.08);
    border-color: rgba(27,35,136,0.18);
}

.home-hero-pill--soft {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.08);
}

.home-hero-slide.theme-light .home-hero-pill--soft {
    background: rgba(255,255,255,0.72);
    border-color: rgba(15, 23, 42, 0.1);
}

.home-hero-copy h1 {
    margin: 0;
    font-size: clamp(1.85rem, 3vw, 3rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
    font-weight: 900;
    color: #0f172a;
    text-shadow: none;
}

.home-hero-slide.theme-light .home-hero-copy h1 {
    color: #0f172a;
    text-shadow: none;
}

.home-hero-copy p {
    margin: 0.8rem 0 0;
    max-width: 48ch;
    font-size: clamp(0.92rem, 1.05vw, 1rem);
    line-height: 1.55;
    color: rgba(15, 23, 42, 0.78);
}

.home-hero-slide.theme-light .home-hero-copy p {
    color: rgba(15, 23, 42, 0.78);
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.home-hero-btn {
    border-radius: 18px;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(0,0,0,0.18);
}

.home-hero-btn--ghost {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.05);
}

.home-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1rem;
    color: rgba(255,255,255,0.66);
    font-size: 0.84rem;
    font-weight: 700;
}

.home-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.home-hero-slide.theme-light .home-hero-meta {
    color: rgba(15, 23, 42, 0.66);
}

.home-hero-progress {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 0.95rem;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    overflow: hidden;
    z-index: 4;
}

.home-hero-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, #fb9d26, #5fd737, #1B2388);
    box-shadow: 0 0 20px rgba(251,157,38,0.45);
}

.home-hero-thumbs {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.85rem;
    margin-top: 1.1rem;
}

.home-hero-thumb {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.7rem;
    text-align: left;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #fff;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.home-hero-thumb:hover,
.home-hero-thumb.is-active {
    transform: translateY(-2px);
    border-color: rgba(251,157,38,0.4);
    background: linear-gradient(145deg, rgba(251,157,38,0.12), rgba(27,35,136,0.14));
    box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.home-hero-thumb__image {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
}

.home-hero-thumb__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-thumb__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.home-hero-thumb__text strong,
.home-hero-thumb__text small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-hero-thumb__text strong {
    font-size: 0.94rem;
    font-weight: 800;
}

.home-hero-thumb__text small {
    color: rgba(255,255,255,0.62);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1rem;
}

.home-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,0.18);
    transition: transform 0.2s ease, background 0.2s ease;
}

.home-slider-dot.is-active {
    background: #fb9d26;
    transform: scale(1.18);
}

@keyframes homeHeroZoom {
    0% { transform: scale(1.03); }
    100% { transform: scale(1.1); }
}

@keyframes homeHeroProgress {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}
.slide-admin-preview {
    width: 132px;
    height: 88px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
}

.slide-admin-preview-light {
    background: #f8fafc;
}

.slide-admin-preview-dark {
    background: #111827;
}

.slide-admin-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-form-current-image {
    border: 1px solid rgba(27,35,136,0.12);
    border-radius: 24px;
    padding: 1rem;
    background: rgba(255,255,255,0.72);
}

.slide-form-current-image img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(27,35,136,0.06), rgba(251,157,38,0.08));
}

@media (max-width: 1199.98px) {
    .home-slider-stage-wrap {
        min-height: 430px;
    }

    .home-hero-content {
        min-height: 430px;
        align-items: flex-end;
    }

    .home-hero-copy {
        max-width: min(520px, 72%);
    }
}

@media (max-width: 767.98px) {
    .home-hero-shell {
        padding: 0.85rem;
        border-radius: 24px;
    }

    .home-hero-header {
        align-items: flex-start;
    }

    .home-slider-stage-wrap {
        min-height: 360px;
    }

    .home-hero-slide {
        position: relative;
        display: none;
        transform: none;
        opacity: 1;
        inset: auto;
    }

    .home-hero-slide.is-active {
        display: block;
    }

    .home-hero-content {
        min-height: 360px;
        padding: 1rem;
        align-items: flex-end;
    }

    .home-hero-copy {
        max-width: 100%;
        padding: 0.95rem;
        border-radius: 22px;
    }

    .home-hero-copy h1 {
        font-size: clamp(1.9rem, 9vw, 2.8rem);
    }

    .home-hero-copy p {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .home-hero-thumbs {
        grid-template-columns: 1fr;
    }

    .home-slider-nav {
        width: 42px;
        height: 42px;
    }
}


@media (max-width: 991.98px) {
    .prom-navbar .container {
        min-height: 56px;
    }

    .site-shell .prom-navbar {
        margin-bottom: 0;
    }

    .site-shell .prom-brand-floating {
        margin-bottom: -.5rem;
    }

    .site-shell .brand-logo-emblem-floating {
        width: 102px;
        transform: translateY(.25rem) rotate(-4deg);
    }

    .site-shell .brand-logo-emblem-floating:hover {
        transform: translateY(.25rem) rotate(-3deg) scale(1.02);
    }
}

@media (max-width: 575.98px) {
    .brand-logo-emblem {
        width: 84px;
    }

    .prom-navbar {
        padding-top: 0.08rem;
        padding-bottom: 0.08rem;
    }

    .prom-navbar .container {
        min-height: 50px;
    }

    .site-shell .prom-navbar {
        margin-bottom: 0;
    }

    .site-shell .brand-logo-emblem-floating {
        width: 88px;
        transform: translateY(.1rem) rotate(-3deg);
    }

    .site-shell .brand-logo-emblem-floating:hover {
        transform: translateY(.1rem) rotate(-2deg) scale(1.02);
    }
}

/* Editions */
.editions-home-preview {
    overflow: hidden;
}

.edition-home-card,
.edition-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(14, 20, 63, 0.08);
    transition: transform .28s ease, box-shadow .28s ease;
    color: inherit;
}

.edition-home-card:hover,
.edition-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 54px rgba(14, 20, 63, 0.14);
}

.edition-home-cover-wrap,
.edition-card-cover-wrap {
    position: relative;
    aspect-ratio: 4 / 5.2;
    background: linear-gradient(160deg, rgba(27,35,136,.14), rgba(251,157,38,.08));
    overflow: hidden;
}

.edition-home-cover,
.edition-card-cover,
.edition-detail-cover,
.edition-form-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.edition-home-cover-placeholder,
.edition-card-cover-placeholder,
.edition-admin-preview-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-weight: 800;
    letter-spacing: .04em;
    color: #1B2388;
    background: linear-gradient(145deg, rgba(27,35,136,.08), rgba(251,157,38,.12));
}

.edition-home-meta,
.edition-card-body {
    padding: 1.1rem 1.15rem 1.25rem;
}

.edition-home-period,
.edition-card-period {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1B2388;
    font-weight: 800;
    margin-bottom: .6rem;
}

.edition-home-meta h3,
.edition-card-body h2 {
    margin: 0 0 .6rem;
    font-size: 1.25rem;
    line-height: 1.12;
    color: #0b1339;
    font-weight: 800;
}

.edition-card-body p {
    margin: 0 0 .9rem;
    color: #67708d;
    line-height: 1.55;
}

.edition-home-link,
.edition-card-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #FB9D26;
    font-weight: 800;
}

.edition-card-badge {
    position: absolute;
    top: .85rem;
    left: .85rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    background: rgba(11, 19, 57, 0.9);
    color: #fff;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(11, 19, 57, 0.25);
}

.edition-admin-preview {
    width: 88px;
    aspect-ratio: 4 / 5.2;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(27,35,136,.06), rgba(251,157,38,.10));
    box-shadow: inset 0 0 0 1px rgba(27,35,136,.08);
}

.edition-admin-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.edition-form-preview {
    max-width: 180px;
    aspect-ratio: 4 / 5.2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(11, 19, 57, 0.12);
}

.edition-detail-cover-card {
    background: #fff;
    border-radius: 30px;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(11, 19, 57, 0.10);
}

.edition-detail-cover {
    aspect-ratio: 4 / 5.4;
    border-radius: 22px;
    overflow: hidden;
}

.edition-detail-grid{align-items:flex-start;}
.edition-detail-copy{padding-top:.25rem;}
.edition-detail-ad-shell{width:100%;display:flex;justify-content:flex-end;}
.edition-detail-ad-shell .prom-ads-wrap--sidebar{margin-left:auto;margin-right:0;}
@media (max-width: 991.98px){
    .edition-detail-copy{padding-top:0;}
    .edition-detail-ad-shell{justify-content:center;}
    .edition-detail-ad-shell .prom-ads-wrap--sidebar{margin-left:auto;margin-right:auto;}
}

.edition-reader-shell {
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,246,252,.96));
    border-radius: 34px;
    padding: 1.35rem;
    box-shadow: 0 24px 50px rgba(11, 19, 57, 0.08);
}

.edition-reader-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.edition-reader-actions {
    display: inline-flex;
    gap: .5rem;
}

.edition-reader-bookstage {
    position: relative;
    min-height: 640px;
    border-radius: 28px;
    padding: 0.9rem;
    background: radial-gradient(circle at top, rgba(27,35,136,.10), rgba(11,19,57,.05) 38%, rgba(11,19,57,.02));
    overflow: hidden;
}

.edition-reader-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #1B2388;
    z-index: 2;
}

.edition-flipbook {
    width: min(100%, 980px);
    height: 620px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity .3s ease;
}

.edition-flipbook-viewport {
    --edition-zoom: 1;
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: .25rem;
}

.edition-flipbook-viewport .edition-flipbook {
    transform: scale(var(--edition-zoom));
    transform-origin: top center;
    transition: transform .26s ease;
}

.edition-reader-bookstage:fullscreen {
    border-radius: 0;
    padding: 1rem;
    background: #0b1339;
}

.edition-reader-bookstage:fullscreen .edition-flipbook-viewport {
    padding-top: 1rem;
}

.edition-reader-bookstage:fullscreen .edition-reader-loading {
    color: #fff;
}


.edition-flipbook.is-ready {
    opacity: 1;
}

.edition-flip-page {
    background: #f7f7f7;
}

.edition-flip-page-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: #fff;
}

.edition-flip-page canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
}

@media (max-width: 991.98px) {
    .edition-reader-bookstage {
        min-height: 360px;
    }

    .edition-flipbook {
        height: 500px;
    }
}

@media (max-width: 767.98px) {
    .edition-reader-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .edition-reader-bookstage {
        min-height: 430px;
        padding: .8rem;
    }

    .edition-flipbook {
        height: 400px;
    }

    .edition-home-meta h3,
    .edition-card-body h2 {
        font-size: 1.1rem;
    }
}

.admin-profile-meta-item strong {
    color: #0b1339 !important;
    font-weight: 800;
}

.admin-profile-meta-label {
    color: #5f6f8c !important;
}


.admin-page-section .prom-card .edition-form-intro,
.admin-page-section .prom-card .edition-form-help,
.admin-page-section .prom-card .form-text {
    color: #1f2937 !important;
}

.admin-page-section .prom-card .form-text {
    font-weight: 500;
}


.editions-public-header {
    box-shadow: 0 22px 55px rgba(23, 33, 105, 0.16);
    border: 1px solid rgba(255,255,255,.12);
}

.editions-public-header .small-muted {
    letter-spacing: .04em;
    text-transform: uppercase;
}

.editions-public-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.edition-upload-progress {
    background: linear-gradient(180deg, rgba(27,35,136,.05), rgba(27,35,136,.02));
    border: 1px solid rgba(27,35,136,.12);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

.edition-upload-progress__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .55rem;
    color: #1B2388;
}

.edition-upload-progress__bar {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(27,35,136,.10);
    overflow: hidden;
}

.edition-upload-progress__fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1B2388 0%, #3558ff 45%, #fb9d26 100%);
    transition: width .22s ease;
}

.edition-upload-progress__text {
    margin-top: .55rem;
    color: rgba(11, 19, 57, .76);
    font-size: .94rem;
}



.contact-page-wrap {
    position: relative;
    padding-top: 2.25rem;
    padding-bottom: 3.5rem;
}

.contact-page-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(251,157,38,.14), transparent 26%),
        radial-gradient(circle at 100% 20%, rgba(27,35,136,.10), transparent 28%),
        radial-gradient(circle at 40% 100%, rgba(27,35,136,.08), transparent 22%);
    pointer-events: none;
}

.contact-hero-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(27,35,136,.98), rgba(84,51,186,.94) 52%, rgba(251,157,38,.88));
    border-radius: 34px;
    padding: 2.1rem 2rem;
    color: #fff;
    box-shadow: 0 28px 65px rgba(23, 33, 105, .18);
    border: 1px solid rgba(255,255,255,.14);
}

.contact-hero-card::before,
.contact-hero-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.contact-hero-card::before {
    width: 280px;
    height: 280px;
    right: -90px;
    top: -120px;
    background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0));
}

.contact-hero-card::after {
    width: 210px;
    height: 210px;
    left: 55%;
    bottom: -130px;
    background: radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,0));
}

.contact-hero-card {
    isolation: isolate;
}

.contact-doodle {
    position: absolute;
    pointer-events: none;
    opacity: .92;
    z-index: 0;
}

.contact-doodle::before,
.contact-doodle::after {
    content: "";
    position: absolute;
}

.contact-doodle--hero {
    filter: drop-shadow(0 10px 22px rgba(15, 18, 52, .12));
}

.contact-doodle--star {
    top: 18px;
    right: 34px;
    width: 62px;
    height: 62px;
}

.contact-doodle--star::before,
.contact-doodle--star::after {
    inset: 0;
    border-radius: 999px;
    border: 4px solid rgba(255,255,255,.68);
    clip-path: polygon(50% 0%, 60% 35%, 100% 50%, 60% 65%, 50% 100%, 40% 65%, 0% 50%, 40% 35%);
}

.contact-doodle--swirl {
    left: 36px;
    bottom: 26px;
    width: 132px;
    height: 54px;
    border-bottom: 4px solid rgba(255,255,255,.78);
    border-radius: 0 0 90px 90px;
    transform: rotate(-4deg);
}

.contact-doodle--swirl::before {
    width: 28px;
    height: 28px;
    left: -8px;
    top: 24px;
    border-left: 4px solid rgba(255,255,255,.78);
    border-bottom: 4px solid rgba(255,255,255,.78);
    border-bottom-left-radius: 28px;
    transform: rotate(10deg);
}

.contact-doodle--underline {
    right: 235px;
    bottom: 30px;
    width: 160px;
    height: 24px;
}

.contact-doodle--underline::before,
.contact-doodle--underline::after {
    left: 0;
    right: 0;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,233,191,.86);
}

.contact-doodle--underline::before {
    top: 2px;
    transform: rotate(-2deg);
}

.contact-doodle--underline::after {
    bottom: 0;
    transform: rotate(2deg);
    opacity: .72;
}

.contact-social-panel {
    isolation: isolate;
}

.contact-doodle--panel {
    z-index: 0;
    opacity: .75;
}

.contact-doodle--spark {
    top: 18px;
    right: 24px;
    width: 42px;
    height: 42px;
}

.contact-doodle--spark::before,
.contact-doodle--spark::after {
    inset: 0;
    border: 3px dashed rgba(27,35,136,.26);
    border-radius: 14px;
    transform: rotate(14deg);
}

.contact-doodle--loop {
    left: 14px;
    bottom: 16px;
    width: 110px;
    height: 54px;
    border: 4px solid rgba(251,157,38,.24);
    border-color: rgba(251,157,38,.22) transparent transparent rgba(251,157,38,.22);
    border-radius: 50px;
    transform: rotate(-12deg);
}

.contact-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: 1rem;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .78rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.18);
}

.contact-chip--warm {
    background: rgba(251,157,38,.18);
    border-color: rgba(255,227,188,.32);
}

.contact-chip--outline {
    background: rgba(10,14,33,.18);
}

.contact-hero-card h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(2.15rem, 4vw, 3.2rem);
    line-height: .98;
    margin-bottom: .85rem;
    max-width: 720px;
}

.contact-hero-card p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    color: rgba(255,255,255,.92);
    margin-bottom: 0;
    font-size: 1.03rem;
}

.contact-card {
    position: relative;
    padding: 1.65rem;
    height: 100%;
    border-radius: 32px;
    border: 1px solid rgba(27,35,136,.09);
    box-shadow: 0 22px 48px rgba(22, 31, 92, .08);
}

.contact-form-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,248,255,.98)),
        repeating-linear-gradient(180deg, rgba(27,35,136,.04) 0 1px, transparent 1px 38px);
}

.contact-form-card::before,
.contact-social-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.contact-form-card::before {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.contact-social-panel {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,245,255,.98));
}

.contact-card .form-label,
.contact-card .form-text,
.contact-card .contact-form-note {
    color: #0b1339;
}

.contact-card .form-label {
    font-weight: 800;
    letter-spacing: .01em;
}

.contact-card .form-control,
.contact-card .form-select {
    border-radius: 18px;
    border: 2px solid rgba(27,35,136,.09);
    min-height: 56px;
    background: rgba(255,255,255,.95);
    box-shadow: inset 0 2px 12px rgba(17,24,65,.03);
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
    border-color: rgba(251,157,38,.65);
    box-shadow: 0 0 0 .18rem rgba(251,157,38,.18), inset 0 2px 12px rgba(17,24,65,.03);
}

.contact-card textarea.form-control {
    min-height: 190px;
    resize: vertical;
    padding-top: .95rem;
}

.contact-section-kicker {
    display: inline-flex;
    align-items: center;
    padding: .38rem .78rem;
    margin-bottom: .85rem;
    border-radius: 999px;
    background: var(--social-status-bg, rgba(27,35,136,.08));
    color: var(--social-status-color, var(--prom-blue));
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .72rem;
}

.contact-sticker-pill {
    box-shadow: 0 12px 22px rgba(22,31,92,.08);
    transform: rotate(-2deg);
}

.contact-social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-social-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 172px;
    padding: 1.15rem 1rem 1rem;
    border-radius: 26px;
    background: linear-gradient(180deg, var(--social-bg-top, rgba(255,255,255,.98)), var(--social-bg-bottom, rgba(252,250,255,.96)));
    border: 2px solid var(--social-border, rgba(27,35,136,.07));
    box-shadow: 0 14px 32px var(--social-shadow, rgba(23,33,105,.08));
    text-decoration: none;
    color: #0b1339;
    transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
    overflow: hidden;
}

.contact-social-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 8px;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(90deg, var(--social-accent-1, var(--prom-blue)), var(--social-accent-2, var(--prom-amber)));
    opacity: .95;
}

.contact-social-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: -28px;
    bottom: -40px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--social-blob, rgba(27,35,136,.08)), rgba(27,35,136,0));
    pointer-events: none;
}

.contact-social-card:nth-child(2n) {
    transform: rotate(.6deg);
}

.contact-social-card:nth-child(2n+1) {
    transform: rotate(-.6deg);
}

.contact-social-card:hover {
    transform: translateY(-6px) rotate(0deg);
    box-shadow: 0 22px 44px rgba(23,33,105,.15);
    border-color: var(--social-hover-border, rgba(251,157,38,.24));
    color: #0b1339;
}

.contact-social-card.is-disabled {
    opacity: .9;
    cursor: default;
}

.contact-social-card.is-disabled:hover {
    transform: rotate(0deg);
}

.contact-social-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--social-icon-bg-1, rgba(27,35,136,.12)), var(--social-icon-bg-2, rgba(251,157,38,.25)));
    color: var(--social-icon-color, var(--prom-blue));
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.62), 0 12px 24px rgba(27,35,136,.08);
}

.contact-social-label {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--social-label-color, #7b84a1);
    margin-bottom: .2rem;
    font-weight: 800;
}

.contact-social-value {
    font-weight: 900;
    font-size: 1.12rem;
    color: #0b1339;
    line-height: 1.15;
    max-width: 14ch;
}

.contact-social-note {
    color: #677494;
    font-size: .95rem;
    margin-top: .28rem;
    line-height: 1.45;
}

.contact-social-status {
    position: absolute;
    top: .9rem;
    right: .95rem;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .28rem .56rem;
    border-radius: 999px;
    background: var(--social-status-bg, rgba(27,35,136,.08));
    color: var(--social-status-color, var(--prom-blue));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}


.social-theme-mail {
    --social-bg-top: #fff9f2;
    --social-bg-bottom: #fff2df;
    --social-border: rgba(255, 154, 72, .26);
    --social-shadow: rgba(255, 154, 72, .10);
    --social-accent-1: #ff9c53;
    --social-accent-2: #ffd36e;
    --social-blob: rgba(255, 176, 96, .22);
    --social-hover-border: rgba(255, 154, 72, .42);
    --social-icon-bg-1: rgba(255, 166, 93, .18);
    --social-icon-bg-2: rgba(255, 219, 140, .32);
    --social-icon-color: #c96416;
    --social-label-color: #b56a2a;
    --social-status-bg: rgba(255, 156, 83, .14);
    --social-status-color: #c96416;
}

.social-theme-web {
    --social-bg-top: #f7fbff;
    --social-bg-bottom: #e9f6ff;
    --social-border: rgba(85, 162, 255, .24);
    --social-shadow: rgba(85, 162, 255, .10);
    --social-accent-1: #5aa8ff;
    --social-accent-2: #7ce0ff;
    --social-blob: rgba(90, 168, 255, .18);
    --social-hover-border: rgba(85, 162, 255, .40);
    --social-icon-bg-1: rgba(90, 168, 255, .16);
    --social-icon-bg-2: rgba(124, 224, 255, .28);
    --social-icon-color: #1b5fc9;
    --social-label-color: #4575bb;
    --social-status-bg: rgba(90, 168, 255, .14);
    --social-status-color: #1b5fc9;
}

.social-theme-instagram {
    --social-bg-top: #fff7fc;
    --social-bg-bottom: #ffe8f6;
    --social-border: rgba(233, 86, 161, .24);
    --social-shadow: rgba(233, 86, 161, .10);
    --social-accent-1: #ff7cbc;
    --social-accent-2: #ffb16f;
    --social-blob: rgba(233, 86, 161, .18);
    --social-hover-border: rgba(233, 86, 161, .40);
    --social-icon-bg-1: rgba(255, 124, 188, .16);
    --social-icon-bg-2: rgba(255, 177, 111, .28);
    --social-icon-color: #c13f84;
    --social-label-color: #b45b86;
    --social-status-bg: rgba(255, 124, 188, .14);
    --social-status-color: #c13f84;
}

.social-theme-tiktok {
    --social-bg-top: #f7ffff;
    --social-bg-bottom: #ebfffa;
    --social-border: rgba(42, 223, 191, .24);
    --social-shadow: rgba(42, 223, 191, .10);
    --social-accent-1: #19d4bf;
    --social-accent-2: #89f1ca;
    --social-blob: rgba(25, 212, 191, .18);
    --social-hover-border: rgba(42, 223, 191, .40);
    --social-icon-bg-1: rgba(25, 212, 191, .16);
    --social-icon-bg-2: rgba(137, 241, 202, .28);
    --social-icon-color: #0f9687;
    --social-label-color: #3d8c84;
    --social-status-bg: rgba(25, 212, 191, .14);
    --social-status-color: #0f9687;
}

.social-theme-facebook {
    --social-bg-top: #f6f8ff;
    --social-bg-bottom: #e7ecff;
    --social-border: rgba(80, 110, 255, .24);
    --social-shadow: rgba(80, 110, 255, .10);
    --social-accent-1: #506eff;
    --social-accent-2: #8fa3ff;
    --social-blob: rgba(80, 110, 255, .18);
    --social-hover-border: rgba(80, 110, 255, .40);
    --social-icon-bg-1: rgba(80, 110, 255, .16);
    --social-icon-bg-2: rgba(143, 163, 255, .28);
    --social-icon-color: #3049c2;
    --social-label-color: #4e68b6;
    --social-status-bg: rgba(80, 110, 255, .14);
    --social-status-color: #3049c2;
}

.social-theme-youtube {
    --social-bg-top: #fff6f6;
    --social-bg-bottom: #ffe7e7;
    --social-border: rgba(255, 86, 86, .24);
    --social-shadow: rgba(255, 86, 86, .10);
    --social-accent-1: #ff5f5f;
    --social-accent-2: #ff9f7d;
    --social-blob: rgba(255, 86, 86, .18);
    --social-hover-border: rgba(255, 86, 86, .40);
    --social-icon-bg-1: rgba(255, 95, 95, .16);
    --social-icon-bg-2: rgba(255, 159, 125, .28);
    --social-icon-color: #d33d3d;
    --social-label-color: #b85d5d;
    --social-status-bg: rgba(255, 95, 95, .14);
    --social-status-color: #d33d3d;
}

.social-theme-whatsapp {
    --social-bg-top: #f5fff8;
    --social-bg-bottom: #e4ffeb;
    --social-border: rgba(49, 201, 111, .24);
    --social-shadow: rgba(49, 201, 111, .10);
    --social-accent-1: #31c96f;
    --social-accent-2: #98ec8a;
    --social-blob: rgba(49, 201, 111, .18);
    --social-hover-border: rgba(49, 201, 111, .40);
    --social-icon-bg-1: rgba(49, 201, 111, .16);
    --social-icon-bg-2: rgba(152, 236, 138, .28);
    --social-icon-color: #1b9850;
    --social-label-color: #4b9c67;
    --social-status-bg: rgba(49, 201, 111, .14);
    --social-status-color: #1b9850;
}

.social-theme-editorial {
    --social-bg-top: #fffaf4;
    --social-bg-bottom: #fff0d9;
    --social-border: rgba(219, 162, 59, .24);
    --social-shadow: rgba(219, 162, 59, .10);
    --social-accent-1: #dba23b;
    --social-accent-2: #ffd77e;
    --social-blob: rgba(219, 162, 59, .18);
    --social-hover-border: rgba(219, 162, 59, .40);
    --social-icon-bg-1: rgba(219, 162, 59, .16);
    --social-icon-bg-2: rgba(255, 215, 126, .28);
    --social-icon-color: #a66d07;
    --social-label-color: #a8843d;
    --social-status-bg: rgba(219, 162, 59, .14);
    --social-status-color: #a66d07;
}

.contact-form-actions {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.contact-side-title {
    font-size: 1.58rem;
    margin-bottom: .85rem;
    color: #0b1339;
    line-height: 1.05;
}

.contact-side-copy {
    color: #667494;
    margin-bottom: 1.25rem;
    font-size: .97rem;
}

.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 991.98px) {
    .contact-doodle--underline { right: 28px; bottom: 18px; width: 118px; }
    .contact-doodle--swirl { width: 96px; left: 18px; }
    .contact-social-grid {
        grid-template-columns: 1fr;
    }

    .contact-social-card,
    .contact-social-card:nth-child(2n),
    .contact-social-card:nth-child(2n+1) {
        transform: none;
    }
}
.admin-contact-settings-form .form-label,
.admin-contact-settings-form .form-text {
    color: #0b1339;
}

.contact-admin-card {
    background: rgba(245, 247, 252, .78);
    border: 1px solid rgba(27, 35, 136, .08);
    border-radius: 24px;
    padding: 0.9rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

.contact-admin-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-admin-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27,35,136,.12), rgba(251,157,38,.2));
    color: var(--prom-blue);
    font-size: 1.35rem;
    flex-shrink: 0;
}

.contact-admin-card-title {
    color: #1B2388;
    font-weight: 800;
}

@media (max-width: 575.98px) {
    .contact-admin-card-head {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}


/* Contact page simplified socials */
.contact-page-wrap::before,
.contact-hero-card::before,
.contact-hero-card::after,
.contact-form-card::before,
.contact-social-panel::before,
.contact-doodle,
.contact-doodle::before,
.contact-doodle::after,
.contact-social-card::before,
.contact-social-card::after {
    display: none !important;
    content: none !important;
}

.contact-hero-card {
    background: linear-gradient(135deg, rgba(27,35,136,.98), rgba(84,51,186,.94) 52%, rgba(251,157,38,.88));
    color: #fff;
}

.contact-hero-card .small-muted,
.contact-hero-card h1,
.contact-hero-card p {
    color: #fff;
}

.contact-hero-card .small-muted {
    opacity: .8;
}

.contact-hero-card p {
    color: rgba(255,255,255,.92);
}

.contact-hero-badges {
    margin-bottom: .6rem;
}

.contact-side-copy {
    margin-bottom: 1.1rem;
}

.contact-social-grid--simple {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
}

.contact-social-card--simple {
    min-height: 0;
    padding: 1rem .85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .55rem;
    border-radius: 22px;
    box-shadow: 0 8px 20px rgba(18, 28, 98, .06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.contact-social-card--simple:hover {
    transform: none;
    box-shadow: 0 10px 24px rgba(18, 28, 98, .08);
}

.contact-social-card--simple .contact-social-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    font-size: 1.6rem;
}

.contact-social-label-simple {
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #24305f;
    line-height: 1.25;
}

.contact-social-card--simple .contact-social-label,
.contact-social-card--simple .contact-social-value,
.contact-social-card--simple .contact-social-note,
.contact-social-card--simple .contact-social-status {
    display: none !important;
}

@media (max-width: 575.98px) {
    .contact-social-grid--simple {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: .85rem;
    }
}


.contact-social-grid--simple .contact-social-card {
    min-height: 0;
    padding: 1rem .85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .55rem;
    overflow: hidden;
    transform: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease !important;
}

.contact-social-grid--simple .contact-social-card::before,
.contact-social-grid--simple .contact-social-card::after,
.contact-social-grid--simple .contact-social-status,
.contact-social-grid--simple .contact-social-value,
.contact-social-grid--simple .contact-social-note,
.contact-social-grid--simple .contact-social-label {
    display: none !important;
    content: none !important;
}

.contact-social-grid--simple .contact-social-card:hover,
.contact-social-grid--simple .contact-social-card:focus-visible {
    transform: none !important;
    box-shadow: 0 10px 24px rgba(18, 28, 98, .08);
}

.contact-social-grid--simple .contact-social-card.is-disabled:hover {
    transform: none !important;
}

.contact-social-grid--simple .contact-social-label-simple {
    display: block;
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #24305f;
    line-height: 1.25;
    word-break: break-word;
    max-width: 100%;
}

.contact-social-grid--simple .contact-social-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    font-size: 1.6rem;
    margin: 0 auto;
}


.contact-social-brand {
    margin-bottom: 1.15rem;
}

.contact-social-brand-logo {
    width: min(260px, 100%);
    height: auto;
    display: inline-block;
    object-fit: contain;
}

.contact-social-grid--only4 {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
}

.contact-social-grid--only4 .contact-social-card {
    min-height: 128px;
    padding: 1rem .85rem;
    border: 1px solid rgba(27,35,136,.10);
    box-shadow: 0 8px 20px rgba(18, 28, 98, .05);
}

.contact-social-grid--only4 .contact-social-card:hover,
.contact-social-grid--only4 .contact-social-card:focus-visible,
.contact-social-grid--only4 .contact-social-card.is-disabled:hover {
    transform: none !important;
    box-shadow: 0 8px 20px rgba(18, 28, 98, .05);
}

.contact-social-grid--only4 .contact-social-label-simple {
    text-transform: none;
    letter-spacing: 0;
    font-size: .95rem;
    font-weight: 800;
}

@media (max-width: 575.98px) {
    .contact-social-brand-logo {
        width: min(220px, 100%);
    }
}


/* Contact social cards simple final */
.contact-social-grid--simple.contact-social-grid--only4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-social-grid--simple.contact-social-grid--only4 .contact-social-card {
    min-height: 150px;
    padding: 1rem .9rem;
    border: 1px solid rgba(27,35,136,.10);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(18, 28, 98, .05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    text-align: center;
    overflow: hidden;
    transform: none !important;
    transition: none !important;
}

.contact-social-grid--simple.contact-social-grid--only4 .contact-social-card::before,
.contact-social-grid--simple.contact-social-grid--only4 .contact-social-card::after {
    display: none !important;
    content: none !important;
}

.contact-social-grid--simple.contact-social-grid--only4 .contact-social-card:hover,
.contact-social-grid--simple.contact-social-grid--only4 .contact-social-card:focus-visible,
.contact-social-grid--simple.contact-social-grid--only4 .contact-social-card.is-disabled:hover {
    transform: none !important;
    box-shadow: 0 8px 20px rgba(18, 28, 98, .05) !important;
    border-color: rgba(27,35,136,.10) !important;
    color: inherit;
}

.contact-social-grid--simple.contact-social-grid--only4 .contact-social-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.6rem;
    margin: 0 auto .2rem;
}

.contact-social-name {
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #24305f;
    line-height: 1.2;
}

.contact-social-handle {
    font-size: .9rem;
    font-weight: 700;
    color: #596891;
    line-height: 1.2;
    word-break: break-word;
    max-width: 100%;
}

.contact-social-grid--simple.contact-social-grid--only4 .contact-social-label-simple {
    display: none !important;
}

@media (max-width: 575.98px) {
    .contact-social-grid--simple.contact-social-grid--only4 {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: .85rem;
    }

    .contact-social-grid--simple.contact-social-grid--only4 .contact-social-card {
        min-height: 138px;
        padding: .95rem .7rem;
    }
}


.contact-hero-card--classic {
    background: #ffffff;
    color: #141414;
    box-shadow: 0 18px 40px rgba(22, 31, 92, .08);
    border: 1px solid rgba(27,35,136,.10);
    padding: 1.9rem 2rem;
}

.contact-hero-card--classic::before,
.contact-hero-card--classic::after {
    display: none;
}

.contact-hero-card--classic .small-muted {
    display: inline-block;
    margin-bottom: .7rem;
    color: #66708f;
    letter-spacing: .08em;
    font-weight: 700;
}

.contact-hero-card--classic h1 {
    color: #141414;
    margin-bottom: .75rem;
}

.contact-hero-card--classic p {
    color: #535d79;
    max-width: 840px;
}



/* Contact form visibility polish */
.contact-form-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
    border: 1px solid rgba(27,35,136,.12);
    box-shadow: 0 18px 42px rgba(18, 27, 86, .08);
}

.contact-form-card h2 {
    color: #10193f;
    font-weight: 900;
}

.contact-form-note {
    color: #4c587d !important;
}

.contact-card .form-control,
.contact-card .form-select {
    border: 2px solid rgba(27,35,136,.16);
    background: #ffffff;
    color: #111a42;
    box-shadow: 0 8px 18px rgba(17,24,65,.05), inset 0 1px 0 rgba(255,255,255,.9);
}

.contact-card .form-control::placeholder,
.contact-card .form-select::placeholder,
.contact-card textarea.form-control::placeholder {
    color: #98a2bf;
}

.contact-card .form-control:hover,
.contact-card .form-select:hover {
    border-color: rgba(27,35,136,.28);
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
    background: #fffdf8;
    border-color: rgba(251,157,38,.75);
    box-shadow: 0 0 0 .22rem rgba(251,157,38,.16), 0 10px 24px rgba(17,24,65,.08);
}

.contact-card textarea.form-control {
    min-height: 210px;
}

.contact-form-actions {
    padding-top: .35rem;
    border-top: 1px solid rgba(27,35,136,.08);
}


.home-contact-socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-contact-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(27,35,136,.12);
    border-radius: 1.15rem;
    background: #fff;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-contact-social:hover {
    transform: translateY(-2px);
    border-color: rgba(27,35,136,.24);
    box-shadow: 0 14px 28px rgba(16,24,40,.08);
}

.home-contact-social__icon {
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27,35,136,.10), rgba(251,157,38,.18));
    color: #1b2388;
    font-size: 1.35rem;
    flex: 0 0 52px;
}

.home-contact-social__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-contact-social__name {
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
}

.home-contact-social__handle {
    margin-top: .18rem;
    color: #667085;
    font-size: .95rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .home-contact-socials {
        grid-template-columns: 1fr;
    }
}

.gallery-album-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(27,35,136,.10);
    box-shadow: 0 18px 40px rgba(17,24,39,.08);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    color: inherit;
}

.gallery-album-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(17,24,39,.12);
    border-color: rgba(27,35,136,.2);
}

.gallery-album-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    min-height: 0;
    max-height: none;
    background: linear-gradient(145deg, rgba(27,35,136,.18), rgba(251,157,38,.18));
    overflow: hidden;
    flex: 0 0 auto;
}

.gallery-album-card__media img,
.gallery-photo-tile img,
.gallery-admin-cover-preview img,
.gallery-admin-photo-card img,
.gallery-lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.gallery-album-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-weight: 800;
    color: var(--prom-blue);
    font-size: 1.05rem;
}

.gallery-album-card__count {
    position: absolute;
    right: 14px;
    bottom: 14px;
    background: rgba(10,14,46,.76);
    color: #fff;
    border-radius: 999px;
    padding: .38rem .72rem;
    font-size: .84rem;
    font-weight: 700;
}

.gallery-album-card__body {
    padding: 1.15rem 1.15rem 1.25rem;
    flex: 1 1 auto;
}

.gallery-album-card__category {
    color: rgba(27,35,136,.72);
    font-size: .84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .45rem;
}

.gallery-album-card__body h2 {
    color: #111827;
    font-size: 1.18rem;
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 .55rem;
}

.gallery-album-card__body p {
    color: #667085;
    margin-bottom: .85rem;
}

.gallery-album-card__link {
    color: var(--prom-blue);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.gallery-album-card--home .gallery-album-card__media {
    aspect-ratio: 4 / 5;
    height: auto;
    min-height: 0;
    max-height: none;
    flex-basis: auto;
}

.gallery-photo-tile {
    width: 100%;
    border: 0;
    padding: 0;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 1 / 1;
    box-shadow: 0 16px 34px rgba(17,24,39,.08);
    transition: transform .24s ease, box-shadow .24s ease;
}

.gallery-photo-tile:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 40px rgba(17,24,39,.12);
}


@media (max-width: 991.98px) {
    .gallery-album-card__media {
        aspect-ratio: 3 / 4;
    }
}

@media (max-width: 575.98px) {
    .gallery-album-card__media {
        aspect-ratio: 4 / 5;
    }
}

.gallery-lightbox-dialog {
    max-width: min(1200px, calc(100vw - 2rem));
}

.gallery-lightbox-content {
    background: rgba(8,10,24,.94);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    overflow: hidden;
}

.gallery-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
}

.gallery-lightbox-body {
    padding: 1rem;
}

.gallery-lightbox-image {
    width: 100%;
    max-height: 78vh;
    border-radius: 20px;
    object-fit: contain;
    background: #0b102f;
}

.gallery-lightbox-caption {
    color: rgba(255,255,255,.84);
    padding: .95rem .35rem .2rem;
    font-weight: 600;
}

.gallery-admin-cover-preview {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(27,35,136,.08);
    flex-shrink: 0;
}

.gallery-admin-grid .col-sm-6,
.gallery-admin-grid .col-lg-4,
.gallery-admin-grid .col-xl-3 {
    display: flex;
}

.gallery-admin-photo-card {
    width: 100%;
    border: 1px solid rgba(27,35,136,.1);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 30px rgba(17,24,39,.06);
}

.gallery-admin-photo-card img {
    aspect-ratio: 1 / 1;
}

.gallery-admin-photo-actions {
    padding: .9rem;
    display: grid;
    gap: .55rem;
}

@media (max-width: 767.98px) {
    .gallery-album-card__body h2 {
        font-size: 1.05rem;
    }

    .gallery-lightbox-dialog {
        max-width: calc(100vw - 1rem);
    }
}

.promotions-public-section {
    background: radial-gradient(circle at top right, rgba(254,196,51,.16), transparent 26%), linear-gradient(180deg, rgba(255,255,255,.88), rgba(245,247,255,.96));
}

.promotions-public-header {
    background: linear-gradient(135deg, #1b2388 0%, #3048d8 60%, #3e62ff 100%);
}

.promotions-filter-card {
    border: 1px solid rgba(27,35,136,.08);
    box-shadow: 0 16px 40px rgba(17,24,39,.06);
}

.promotion-card-public {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8ff 56%, #eef2ff 100%);
    border: 1px solid rgba(27,35,136,.08);
    box-shadow: 0 18px 40px rgba(17,24,39,.08);
    transition: transform .26s ease, box-shadow .26s ease;
}

.promotion-card-public::before {
    content: '';
    position: absolute;
    inset: auto -18% -28% auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(254,196,51,.18), rgba(254,196,51,0));
    pointer-events: none;
}

.promotion-card-public:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 55px rgba(17,24,39,.12);
}

.promotion-card-public__accent {
    height: 8px;
    background: linear-gradient(90deg, #1b2388 0%, #3048d8 58%, #f9bd26 100%);
}

.promotion-card-public__hero {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.25rem .15rem;
}

.promotion-card-public__status-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.promotion-card-public__status-wrap--bottom {
    margin-top: .35rem;
}

.promotion-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .45rem .78rem;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.promotion-status-pill--active {
    background: rgba(27,35,136,.08);
    color: #1b2388;
}

.promotion-status-pill--soon {
    background: rgba(255,111,66,.12);
    color: #bb4c24;
}


.promotion-card-public__logo-wrap {
    width: 104px;
    height: 138px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(27,35,136,.08), rgba(249,189,38,.08));
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.82);
    box-shadow: 0 14px 28px rgba(27,35,136,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem;
}

.promotion-card-public__logo-wrap--portrait {
    align-self: stretch;
}

.promotion-card-public__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.promotion-card-public__logo--portrait {
    width: 100%;
    height: 100%;
}

.promotion-card-public__logo--placeholder,
.promotion-home-card__logo--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1b2388, #405bff);
    color: #fff;
    font-weight: 800;
}

.promotion-card-public__business-name {
    color: #141c5c;
    font-weight: 900;
    line-height: 1.15;
    font-size: 1.03rem;
    margin-bottom: .3rem;
}

.promotion-card-public__category-badge {
    display: inline-flex;
    margin-top: .35rem;
    padding: .38rem .72rem;
    border-radius: 999px;
    background: rgba(249,189,38,.16);
    color: #8e5f00;
    font-size: .77rem;
    font-weight: 800;
}

.promotion-card-public__category {
    margin-top: .18rem;
    color: #5c669d;
    font-size: .88rem;
    font-weight: 700;
}

.promotion-card-public__discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    padding: .9rem 1rem;
    background: linear-gradient(135deg, #f9bd26 0%, #ffd765 100%);
    color: #472c00;
    font-weight: 900;
    font-size: 1rem;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(249,189,38,.28);
}

.promotion-card-public__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: .9rem 1.25rem 1.3rem;
    height: 100%;
}

.promotion-card-public__feature-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.promotion-card-public__feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}

.promotion-card-public__body h2 {
    margin: .5rem 0 .45rem;
    color: #0f174c;
    font-size: 1.58rem;
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -.03em;
}

.promotion-card-public__body p {
    margin: 0;
    color: #4e5578;
    line-height: 1.55;
    font-size: .97rem;
}

.promotion-card-public__meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.promotion-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .6rem .82rem;
    border-radius: 999px;
    background: #fff;
    color: #263067;
    font-size: .86rem;
    font-weight: 800;
    border: 1px solid rgba(27,35,136,.08);
    box-shadow: 0 8px 16px rgba(17,24,39,.04);
}

.promotion-meta-chip i {
    color: #405bff;
}

.promotion-countdown {
    margin-top: auto;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255,99,71,.13), rgba(254,196,51,.17));
    border: 1px solid rgba(255,118,87,.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}

.promotion-countdown__label {
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #b5431f;
    margin-bottom: .32rem;
}

.promotion-countdown__timer {
    color: #7a2411;
    font-size: 1.18rem;
    font-weight: 900;
}

.promotion-countdown.is-finished,
.promotion-countdown.is-finished .promotion-countdown__timer {
    color: #6b7280;
}

.promotion-home-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.15rem;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff, #f8faff);
    border: 1px solid rgba(27,35,136,.08);
}

.promotion-home-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.promotion-home-card__logo {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
    background: rgba(27,35,136,.08);
    flex-shrink: 0;
}

.promotion-home-card__discount {
    font-weight: 800;
    color: #b45b00;
    background: rgba(254,196,51,.18);
    border-radius: 999px;
    padding: .4rem .7rem;
    white-space: nowrap;
}

.promotion-home-card h3 {
    margin: 0;
    color: #1b2388;
    font-size: 1.15rem;
    font-weight: 800;
}

.promotion-home-card p {
    margin: 0;
    color: #4e5578;
    line-height: 1.55;
}

.promotion-home-card__chip {
    display: inline-flex;
    align-items: center;
    padding: .5rem .72rem;
    border-radius: 999px;
    background: rgba(27,35,136,.06);
    color: #2f3a78;
    font-size: .84rem;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .promotion-card-public__hero,
    .promotion-home-card__head {
        flex-direction: column;
    }

    .promotion-card-public__discount {
        width: 100%;
        justify-content: center;
    }

    .promotion-card-public__feature-row {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: .85rem;
    }

    .promotion-card-public__logo-wrap {
        width: 88px;
        height: 120px;
        border-radius: 24px;
    }

    .promotion-card-public__body h2 {
        font-size: 1.34rem;
    }

    .promotions-filter-card .btn {
        min-height: 46px;
    }
}


/* promotions public card refinements */
.promotion-card-public__logo-wrap {
    padding: 0;
    width: 118px;
    height: 168px;
    align-self: stretch;
}

.promotion-card-public__logo,
.promotion-card-public__logo--portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promotion-card-public__feature-row {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 1.1rem;
}

.promotion-card-public__feature-copy {
    padding-top: .35rem;
    padding-right: 0;
}

.promotion-card-public__business-name {
    margin-bottom: .22rem;
    font-size: 1.24rem;
    line-height: 1.08;
}

.promotion-card-public__category-badge {
    margin-top: 0;
    max-width: calc(100% - 90px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promotion-card-public__body h2 {
    margin: .3rem 0 .35rem;
    font-size: 1.34rem;
    line-height: 1.03;
}

.promotion-card-public__status-wrap:not(.promotion-card-public__status-wrap--bottom) {
    display: none;
}

.promotion-card-public__status-wrap--bottom {
    margin-top: .15rem;
}

.promotion-card-public__discount {
    display: none;
}

.promotion-meta-chip--age18 {
    padding: .55rem;
    min-width: 42px;
    justify-content: center;
    background: rgba(220, 38, 38, .10);
    border-color: rgba(220, 38, 38, .18);
}

.promotion-meta-chip--age18 span {
    display: none;
}

.promotion-meta-chip--age18 i {
    color: #dc2626;
    font-size: 1.15rem;
}

@media (max-width: 767.98px) {
    .promotion-card-public__feature-row {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .promotion-card-public__logo-wrap {
        width: 96px;
        height: 138px;
    }

    .promotion-card-public__feature-copy {
        padding-right: 0;
    }

    .promotion-card-public__business-name {
        font-size: 1.12rem;
    }

    .promotion-card-public__body h2 {
        font-size: 1.16rem;
    }
}


.promotion-card-public {
    position: relative;
    overflow: hidden;
}

.promotion-card-public__discount--top-right {
    display: inline-flex;
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    min-width: 74px;
    justify-content: center;
    padding: .72rem .88rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #f9bd26 0%, #ffd765 100%);
    color: #472c00;
    font-weight: 900;
    font-size: .96rem;
    letter-spacing: -.01em;
    box-shadow: 0 12px 24px rgba(249,189,38,.24);
}

@media (max-width: 767.98px) {
    .promotion-card-public__discount--top-right {
        top: 12px;
        right: 12px;
        min-width: 68px;
        padding: .66rem .78rem;
        font-size: .9rem;
    }
}

.promotion-meta-chip--age18 {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    min-width: 0;
}

.promotion-age18-icon {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
    filter: none;
}


.promotion-card-public__meta-block {
    display: flex;
    flex-direction: column;
    gap: .38rem;
}

.promotion-card-public__meta-title {
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #7b82a8;
    padding-left: .1rem;
}

.promotion-card-public__restrictions-row {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    align-items: center;
}

.promotion-age18-icon {
    width: 30px;
    height: 30px;
}


/* promotions copy spacing refinement */
.promotion-card-public__brand-row {
    padding-right: 96px;
}

.promotion-card-public__offer-copy {
    padding-right: 12px;
}

.promotion-card-public__offer-copy h2,
.promotion-card-public__offer-copy p {
    max-width: none;
}

@media (max-width: 767.98px) {
    .promotion-card-public__brand-row {
        padding-right: 72px;
    }

    .promotion-card-public__offer-copy {
        padding-right: 0;
    }
}


/* v100 category badge fix */
.promotion-card-public__brand-row {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
    min-width: 0;
}

.promotion-card-public__business-name {
    flex: 0 1 auto;
    min-width: 0;
}

.promotion-card-public__category-badge {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
}

@media (max-width: 767.98px) {
    .promotion-card-public__brand-row {
        gap: .45rem;
    }
}

/* Radio */
.radio-page-wrap {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.radio-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 420px);
    gap: 1.5rem;
    align-items: stretch;
    background: linear-gradient(135deg, #1b2388 0%, #3037a6 58%, #5158c4 100%);
    color: #fff;
    border-radius: 2rem;
    padding: 1.75rem;
    overflow: hidden;
    box-shadow: 0 24px 54px rgba(27, 35, 136, 0.18);
}

.radio-page-hero__kicker,
.radio-section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.8;
    margin-bottom: 0.75rem;
}

.radio-page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 0.98;
    margin-bottom: 0.95rem;
}

.radio-page-hero p {
    max-width: 48rem;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.88);
}

.radio-page-hero__meta,
.radio-home-player__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.radio-live-pill,
.radio-schedule-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    backdrop-filter: blur(8px);
}

.radio-live-pill.is-muted {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.88);
}

.radio-live-pill__dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #ff4d61;
    box-shadow: 0 0 0 0 rgba(255, 77, 97, 0.35);
    animation: radioPulse 1.9s infinite;
}

.radio-live-pill.is-muted .radio-live-pill__dot {
    background: #fbd26d;
    box-shadow: none;
    animation: none;
}

@keyframes radioPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 77, 97, 0.35); }
    70% { box-shadow: 0 0 0 12px rgba(255, 77, 97, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 97, 0); }
}

.radio-page-hero__art {
    min-height: 280px;
    border-radius: 1.5rem;
    overflow: hidden;
    background: rgba(255,255,255,0.16);
}

.radio-page-hero__art img,
.radio-home-player__media img,
.radio-audio-wrap__cover img,
.radio-admin-preview-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.radio-player-card,
.radio-side-card,
.radio-home-player,
.radio-home-side__card,
.radio-admin-preview-card {
    border-radius: 1.6rem;
}

.radio-player-card,
.radio-side-card {
    padding: 1.5rem;
}

.radio-player-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.radio-player-card__head h2,
.radio-side-card h2,
.radio-home-player__body h3 {
    margin: 0;
    color: #1b2388;
    font-weight: 800;
}

.radio-embed-wrap,
.radio-home-embed-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    background: #0d1027;
    min-height: 360px;
}

.radio-embed-wrap iframe,
.radio-home-embed-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    display: block;
}

.radio-audio-wrap,
.radio-home-player {
    display: grid;
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.radio-audio-wrap__cover,
.radio-home-player__media {
    border-radius: 1.25rem;
    overflow: hidden;
    min-height: 250px;
    background: linear-gradient(135deg, rgba(27,35,136,0.14), rgba(251, 157, 38, 0.14));
}

.radio-audio-wrap__controls,
.radio-home-player__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.radio-audio-wrap__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1b2388;
    margin-bottom: 0.9rem;
}

.radio-empty-state {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.85rem;
    color: #66718f;
    background: linear-gradient(180deg, rgba(27,35,136,0.04), rgba(251,157,38,0.06));
    border-radius: 1.35rem;
    border: 1px dashed rgba(27,35,136,0.14);
}

.radio-empty-state i {
    font-size: 2.6rem;
    color: #1b2388;
}

.radio-steps-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.9rem;
}

.radio-steps-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    color: #4f5b7c;
}

.radio-steps-list i {
    color: #1b2388;
    font-size: 1.1rem;
}

.radio-home-player__body h3 {
    margin-top: 0.9rem;
    margin-bottom: 0.65rem;
}

.radio-home-card .btn,
.radio-side-card .btn {
    border-radius: 999px;
}

.radio-admin-preview-card {
    background: linear-gradient(180deg, rgba(27,35,136,0.04), rgba(251,157,38,0.08));
    padding: 1.2rem;
    border: 1px solid rgba(27,35,136,0.08);
}

.radio-admin-preview-card__kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6c78a0;
    margin-bottom: 0.7rem;
}

.radio-admin-preview-card__image,
.radio-admin-preview-card__placeholder {
    width: 100%;
    min-height: 250px;
    border-radius: 1.15rem;
}

.radio-admin-preview-card__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: #fff;
    color: #1b2388;
    border: 1px dashed rgba(27,35,136,0.18);
}

.radio-admin-preview-card__placeholder i {
    font-size: 2rem;
}

.radio-live-switch {
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(27,35,136,0.04);
}

.radio-mode-panel {
    display: none;
}

.radio-mode-panel.is-active {
    display: block;
}

@media (max-width: 991.98px) {
    .radio-page-hero,
    .radio-audio-wrap,
    .radio-home-player {
        grid-template-columns: 1fr;
    }

    .radio-page-hero__art {
        min-height: 220px;
    }

    .radio-embed-wrap,
    .radio-home-embed-wrap,
    .radio-embed-wrap iframe,
    .radio-home-embed-wrap iframe {
        min-height: 260px;
    }
}


.radio-chat-card{display:flex;flex-direction:column;gap:1rem;min-height:100%;}
.radio-chat-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;}
.radio-chat-card__head h2{margin:0;font-size:1.25rem;}
.radio-chat-pill{display:inline-flex;align-items:center;gap:.45rem;background:rgba(27,35,136,.08);color:#1b2388;border:1px solid rgba(27,35,136,.12);border-radius:999px;padding:.45rem .8rem;font-size:.78rem;font-weight:800;white-space:nowrap;}
.radio-chat-feed{display:flex;flex-direction:column;gap:.9rem;min-height:360px;max-height:520px;overflow:auto;padding-right:.25rem;}
.radio-chat-message{display:flex;align-items:flex-start;gap:.75rem;}
.radio-chat-message__avatar{width:46px;height:58px;border-radius:18px;overflow:hidden;flex:0 0 auto;background:linear-gradient(180deg,#1B2388,#2D7FF9);box-shadow:0 14px 24px rgba(17,24,39,.12);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:1rem;}
.radio-chat-message__avatar img{width:100%;height:100%;object-fit:cover;display:block;}
.radio-chat-message__body{flex:1;min-width:0;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;padding:.9rem 1rem;box-shadow:0 14px 28px rgba(15,23,42,.06);}
.radio-chat-message__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .6rem;margin-bottom:.35rem;}
.radio-chat-message__meta strong{font-size:.94rem;color:#0f172a;}
.radio-chat-message__meta span{font-size:.72rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#2D7FF9;background:rgba(45,127,249,.1);padding:.2rem .45rem;border-radius:999px;}
.radio-chat-message__meta time{margin-left:auto;font-size:.76rem;color:#64748b;}
.radio-chat-message__body p{margin:0;color:#334155;line-height:1.5;word-break:break-word;}
.radio-chat-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:linear-gradient(180deg,rgba(45,127,249,.08),rgba(255,255,255,.95));border:1px dashed rgba(45,127,249,.35);border-radius:24px;padding:2rem 1.25rem;min-height:320px;color:#475569;}
.radio-chat-empty i{font-size:2.2rem;color:#2D7FF9;margin-bottom:.75rem;}
.radio-chat-empty h3{margin:0 0 .35rem;font-size:1.05rem;color:#0f172a;}
.radio-chat-form{margin-top:auto;border-top:1px solid rgba(15,23,42,.08);padding-top:1rem;display:flex;flex-direction:column;gap:.75rem;}
.radio-chat-form__label{font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#475569;}
.radio-chat-form textarea{width:100%;border:1px solid rgba(15,23,42,.14);border-radius:18px;background:#fff;padding:.9rem 1rem;resize:vertical;min-height:100px;box-shadow:inset 0 1px 2px rgba(15,23,42,.03);}
.radio-chat-form textarea:focus{outline:none;border-color:#2D7FF9;box-shadow:0 0 0 4px rgba(45,127,249,.12);}
.radio-chat-form__actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;}
.radio-chat-form__hint{font-size:.74rem;color:#64748b;line-height:1.4;}
.radio-chat-form__status{border-radius:14px;padding:.7rem .85rem;font-size:.83rem;font-weight:700;}
.radio-chat-form__status.is-success{background:rgba(16,185,129,.12);color:#047857;}
.radio-chat-form__status.is-error{background:rgba(239,68,68,.12);color:#b91c1c;}
.radio-chat-form__status.is-info{background:rgba(45,127,249,.12);color:#1d4ed8;}
.radio-chat-login-note{display:flex;align-items:center;gap:.9rem;background:linear-gradient(180deg,rgba(27,35,136,.05),rgba(255,255,255,.92));border:1px solid rgba(27,35,136,.12);border-radius:20px;padding:1rem;}
.radio-chat-login-note i{font-size:1.4rem;color:#1B2388;}
.radio-chat-login-note strong{display:block;color:#0f172a;margin-bottom:.15rem;}
.radio-chat-login-note p{margin:0;color:#64748b;font-size:.86rem;}
@media (max-width: 991.98px){
  .radio-chat-feed{max-height:420px;min-height:300px;}
}
@media (max-width: 575.98px){
  .radio-chat-card__head,.radio-chat-form__actions,.radio-chat-login-note{flex-direction:column;align-items:stretch;}
  .radio-chat-message__meta time{margin-left:0;}
}


.finance-metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 10px;
    border-radius: 18px;
    font-size: 1.8rem;
    color: var(--prom-blue);
    background: linear-gradient(135deg, rgba(251,157,38,.24), rgba(27,35,136,.12));
}

.finance-stat-card {
    border: 1px solid rgba(27,35,136,.1);
    box-shadow: 0 20px 42px rgba(16, 28, 109, .08);
}

.finance-stat-label {
    color: var(--prom-blue);
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: .45rem;
}

.finance-stat-value {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 800;
    color: #111b64;
    margin-bottom: .35rem;
}

.finance-mini-stat {
    border-radius: 18px;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, rgba(27,35,136,.06), rgba(251,157,38,.12));
    border: 1px solid rgba(27,35,136,.08);
    display: flex;
    flex-direction: column;
    gap: .32rem;
}

.finance-mini-stat span {
    font-size: .82rem;
    font-weight: 700;
    color: #44519a;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.finance-mini-stat strong {
    font-size: 1.08rem;
    color: var(--prom-blue);
}

.status-success { background: rgba(25, 135, 84, .14); color: #0d6a3f; }
.status-primary { background: rgba(13, 110, 253, .12); color: #0a58ca; }
.status-warning { background: rgba(255, 193, 7, .18); color: #9a6700; }
.status-info { background: rgba(13, 202, 240, .14); color: #087990; }
.status-secondary { background: rgba(108, 117, 125, .14); color: #495057; }


/* Roles y permisos */
.role-summary-card {
    background: linear-gradient(180deg, rgba(27,35,136,.06), rgba(251,157,38,.06));
}

.role-summary-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .42rem .85rem;
    border-radius: 999px;
    background: #1B2388;
    color: #fff;
    font-weight: 800;
    letter-spacing: .02em;
    font-size: .82rem;
}

.role-notes-grid .role-note-card {
    height: 100%;
    border: 1px solid rgba(27,35,136,.08);
    border-radius: 18px;
    background: #fff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.role-notes-grid .role-note-card strong {
    color: #1B2388;
}

.role-notes-grid .role-note-card span,
.role-alert-soft {
    color: #495057;
}

.role-permissions-card {
    border: 1px solid rgba(27,35,136,.08);
    border-radius: 22px;
    background: #fff;
    padding: 1rem 1rem 1.15rem;
    box-shadow: 0 18px 40px rgba(21,31,99,.06);
}

.role-permissions-head {
    padding-bottom: .9rem;
    margin-bottom: .9rem;
    border-bottom: 1px dashed rgba(27,35,136,.14);
}

.role-permission-group + .role-permission-group {
    margin-top: 1rem;
}

.role-permission-group-title {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    color: #1B2388;
    margin-bottom: .65rem;
}

.role-permission-checks {
    display: grid;
    gap: .65rem;
}

.role-permission-check {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: .75rem;
    align-items: start;
    padding: .75rem;
    border-radius: 16px;
    background: #f8f9ff;
    border: 1px solid rgba(27,35,136,.06);
}

.role-permission-check input {
    margin-top: .15rem;
}

.role-permission-check strong {
    display: block;
    color: #151f63;
    margin-bottom: .15rem;
    font-size: .95rem;
}

.role-permission-check small {
    display: block;
    color: #667085;
    line-height: 1.35;
}

.role-select-inline {
    min-width: 150px;
}

/* Roles matrix redesign */
.roles-matrix-shell {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,248,255,.98));
}

.roles-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
}

.roles-legend-item {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: #f4f6ff;
    border: 1px solid rgba(27,35,136,.08);
    color: #364152;
    font-size: .86rem;
    font-weight: 700;
}

.roles-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.roles-legend-dot-view {
    background: #1B2388;
}

.roles-legend-dot-modify {
    background: #fb9d26;
}

.roles-top-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px 230px;
    gap: 1rem;
    margin-bottom: 1rem;
}

.roles-top-bar-card {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(27,35,136,.08);
    background: linear-gradient(180deg, #ffffff, #f7f8ff);
    box-shadow: 0 12px 30px rgba(21,31,99,.05);
}

.role-column-kicker,
.roles-group-kicker {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #667085;
    font-weight: 800;
    margin-bottom: .2rem;
}

.roles-top-bar-card strong {
    display: block;
    color: #151f63;
    font-size: 1rem;
    margin-bottom: .18rem;
}

.roles-top-bar-card small {
    display: block;
    color: #667085;
    line-height: 1.35;
}

.roles-groups-grid {
    display: grid;
    gap: 1rem;
}

.roles-group-card {
    border: 1px solid rgba(27,35,136,.08);
    border-radius: 24px;
    background: rgba(255,255,255,.88);
    padding: 1rem;
    box-shadow: 0 18px 36px rgba(21,31,99,.06);
}

.roles-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .4rem .25rem .95rem;
    margin-bottom: .35rem;
    border-bottom: 1px dashed rgba(27,35,136,.12);
}

.roles-group-title {
    margin: 0;
    color: #151f63;
    font-size: 1.08rem;
    font-weight: 800;
}

.roles-group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .48rem .85rem;
    border-radius: 999px;
    background: rgba(27,35,136,.07);
    color: #1B2388;
    font-weight: 800;
    font-size: .82rem;
    white-space: nowrap;
}

.roles-modules-list {
    display: grid;
    gap: 1rem;
}

.roles-module-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #f8faff);
    border: 1px solid rgba(27,35,136,.07);
}

.roles-module-main {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.roles-module-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27,35,136,.14), rgba(251,157,38,.18));
    color: #1B2388;
    font-size: 1.1rem;
}

.roles-module-title {
    margin: 0 0 .25rem;
    color: #151f63;
    font-size: 1rem;
    font-weight: 800;
}

.roles-module-desc {
    margin: 0;
    color: #667085;
    line-height: 1.45;
    font-size: .92rem;
}

.roles-module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .8rem;
}

.roles-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .38rem .72rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.roles-tag-view {
    background: rgba(27,35,136,.08);
    color: #1B2388;
}

.roles-tag-modify {
    background: rgba(251,157,38,.16);
    color: #9b5600;
}

.roles-tag-locked {
    background: rgba(108,117,125,.14);
    color: #495057;
}

.roles-module-access-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

.roles-access-card {
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(27,35,136,.08);
    padding: .9rem;
    box-shadow: 0 10px 24px rgba(21,31,99,.04);
}

.roles-access-card-head {
    margin-bottom: .7rem;
}

.roles-access-card-head strong {
    color: #151f63;
    font-size: .98rem;
}

.roles-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .72rem .78rem;
    border-radius: 16px;
    background: #f8f9ff;
    border: 1px solid rgba(27,35,136,.06);
}

.roles-switch-row + .roles-switch-row {
    margin-top: .7rem;
}

.roles-switch-row.is-locked {
    background: linear-gradient(180deg, #f9fafb, #f3f4f6);
}

.roles-switch-copy {
    min-width: 0;
}

.roles-switch-label {
    display: block;
    color: #151f63;
    font-weight: 800;
    margin-bottom: .08rem;
}

.roles-switch-copy small {
    display: block;
    color: #667085;
    line-height: 1.35;
}

.roles-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 32px;
    min-width: 56px;
    cursor: pointer;
}

.roles-switch input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    margin: 0;
}

.roles-switch-ui {
    position: relative;
    width: 56px;
    height: 32px;
    border-radius: 999px;
    background: #d0d5dd;
    transition: all .2s ease;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}

.roles-switch-ui::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
    transition: transform .2s ease;
}

.roles-switch input:checked + .roles-switch-ui {
    background: linear-gradient(90deg, #1B2388, #3140cc);
}

.roles-switch input:checked + .roles-switch-ui::after {
    transform: translateX(24px);
}

.roles-switch input:focus-visible + .roles-switch-ui {
    outline: 3px solid rgba(27,35,136,.18);
    outline-offset: 2px;
}

.roles-state-pill,
.roles-lock-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    justify-content: center;
    min-width: 68px;
    padding: .45rem .75rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
}

.roles-state-pill.is-on {
    background: rgba(25,135,84,.12);
    color: #0f5132;
}

.roles-state-pill.is-off {
    background: rgba(220,53,69,.10);
    color: #842029;
}

.roles-lock-pill {
    background: rgba(108,117,125,.12);
    color: #495057;
}

.roles-save-bar {
    position: sticky;
    bottom: 14px;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    margin-top: 1.15rem;
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(27,35,136,.08);
    box-shadow: 0 18px 45px rgba(21,31,99,.12);
    backdrop-filter: blur(10px);
}

@media (max-width: 1199.98px) {
    .roles-module-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .roles-matrix-shell {
        padding: 1rem !important;
    }

    .roles-group-card,
    .roles-module-card,
    .roles-access-card {
        border-radius: 18px;
    }

    .roles-group-head,
    .roles-save-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .roles-module-access-grid {
        grid-template-columns: 1fr;
    }

    .roles-switch-row {
        padding: .75rem;
    }
}

/* News section */
.news-page-shell,
.news-home-preview {
    position: relative;
}
.news-login-chip,
.news-sidebar-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    padding: .55rem .9rem;
    background: rgba(27,35,136,.08);
    color: #1B2388;
    font-weight: 700;
    font-size: .86rem;
}
.news-hero-card,
.news-card,
.news-sidebar-card,
.news-article-card,
.news-engagement-card,
.news-comments-card {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
    overflow: hidden;
}
.news-hero-card {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    min-height: 360px;
}
.news-hero-card__media,
.news-card__media,
.news-article-cover {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(27,35,136,.16), rgba(255,193,7,.18));
}
.news-hero-card__media img,
.news-card__media img,
.news-article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-hero-card__placeholder,
.news-card__placeholder {
    min-height: 230px;
    display: grid;
    place-items: center;
    font-size: 3rem;
    color: rgba(27,35,136,.6);
}
.news-hero-card__body,
.news-card__body,
.news-article-body,
.news-sidebar-card,
.news-engagement-card,
.news-comments-card {
    padding: 1.5rem;
}
.news-hero-card__body h2,
.news-card__body h3,
.news-article-body h1 {
    color: #0f172a;
    font-weight: 800;
}
.news-card--wide .news-card__media {
    min-height: 280px;
}
.news-card__media {
    display: block;
    min-height: 215px;
}
.news-card__body h3 {
    font-size: 1.2rem;
    margin-bottom: .7rem;
}
.news-card__body h3 a,
.news-card__body a,
.news-trending-item,
.news-back-link {
    color: inherit;
    text-decoration: none;
}
.news-card__body p,
.news-hero-card__body p,
.news-article-excerpt,
.news-comment-item p {
    color: #475569;
}
.news-meta-row,
.news-card__footer,
.news-reaction-summary-inline,
.news-comment-head,
.news-summary-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1rem;
}
.news-meta-row,
.news-card__footer,
.news-reaction-summary-inline {
    color: #64748b;
    font-size: .92rem;
}
.news-meta-row span,
.news-card__footer span,
.news-reaction-summary-inline span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.news-meta-row--compact {
    font-size: .82rem;
}
.news-sidebar-card {
    padding: 1.35rem;
}
.news-trending-list {
    display: grid;
    gap: .85rem;
}
.news-trending-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: .9rem;
    border-radius: 18px;
    background: rgba(27,35,136,.04);
    transition: transform .2s ease, background .2s ease;
}
.news-trending-item:hover {
    transform: translateY(-2px);
    background: rgba(27,35,136,.08);
}
.news-trending-rank {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1B2388, #3140d6);
    color: #fff;
    font-weight: 800;
}
.news-trending-copy {
    display: grid;
    gap: .2rem;
}
.news-trending-copy small {
    color: #64748b;
}
.news-participation-grid {
    display: grid;
    gap: .75rem;
}
.news-participation-pill,
.news-summary-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .9rem 1rem;
    border-radius: 16px;
    background: rgba(27,35,136,.05);
    color: #1e293b;
    font-weight: 700;
}
.news-participation-pill i {
    color: #1B2388;
}
.news-article-cover {
    max-height: 440px;
}
.news-article-excerpt {
    font-size: 1.12rem;
    line-height: 1.75;
    padding: 1rem 1.15rem;
    border-left: 4px solid #ffc107;
    background: rgba(255,193,7,.12);
    border-radius: 16px;
}
.news-article-content {
    font-size: 1rem;
    line-height: 1.9;
    color: #1f2937;
}
.news-article-content p + p {
    margin-top: 1rem;
}
.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #1B2388;
}
.news-reaction-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.news-reaction-buttons form {
    margin: 0;
}
.news-reaction-btn {
    border: 1px solid rgba(27,35,136,.12);
    background: #fff;
    color: #1e293b;
    border-radius: 999px;
    padding: .8rem 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    transition: all .2s ease;
}
.news-reaction-btn:hover,
.news-reaction-btn.is-active {
    background: #1B2388;
    color: #fff;
    border-color: #1B2388;
    transform: translateY(-1px);
}
.news-comment-form textarea {
    min-height: 128px;
}
.news-comments-list {
    display: grid;
    gap: 1rem;
}
.news-comment-item {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(15,23,42,.03);
}
.news-comment-head {
    justify-content: space-between;
    align-items: center;
    margin-bottom: .65rem;
}
.news-comment-role {
    display: inline-flex;
    margin-left: .55rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: rgba(27,35,136,.08);
    color: #1B2388;
    font-size: .75rem;
    font-weight: 700;
}
.news-comment-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: .85rem;
}
.news-comment-report-btn {
    border: 1px solid rgba(220,38,38,.18);
    background: rgba(220,38,38,.06);
    color: #b91c1c;
    border-radius: 999px;
    padding: .55rem .9rem;
    font-size: .85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: all .2s ease;
}
.news-comment-report-btn:hover {
    background: rgba(220,38,38,.12);
    transform: translateY(-1px);
}
.news-summary-grid {
    display: grid;
    gap: .8rem;
}
@media (max-width: 991.98px) {
    .news-hero-card {
        grid-template-columns: 1fr;
    }
}

/* Gamification */
.student-mini-stat--points {
    background: linear-gradient(135deg, rgba(251,157,38,.16), rgba(27,35,136,.08));
    border: 1px solid rgba(251,157,38,.28);
}
.gamification-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.gamification-badge-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(27,35,136,.06), rgba(251,157,38,.10));
    border: 1px solid rgba(27,35,136,.10);
}
.gamification-badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1B2388, #4e58d6);
    color: #fff;
    font-size: 1.2rem;
    flex: 0 0 auto;
}
.gamification-activity-list,
.gamification-rewards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gamification-activity-item,
.gamification-reward-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(27,35,136,.08);
}
.gamification-reward-item.is-unlocked {
    background: linear-gradient(135deg, rgba(251,157,38,.14), rgba(46,204,113,.10));
    border-color: rgba(251,157,38,.24);
}
.gamification-points-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #1B2388;
    color: #fff;
    font-weight: 800;
}
.gamification-rewards-panel {
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(27,35,136,.04), rgba(251,157,38,.08));
    border: 1px solid rgba(27,35,136,.08);
    height: 100%;
}
@media (max-width: 767.98px) {
    .gamification-activity-item,
    .gamification-reward-item {
        flex-direction: column;
        align-items: flex-start;
    }
}


.gamification-user-name,
.gamification-badge-title,
.gamification-reward-title {
    color: #000 !important;
}

/* notifications center */
.nav-notification-toggle,
.admin-toolbar-notification-btn {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    transition: transform .18s ease, opacity .18s ease, color .18s ease;
}

.nav-notification-toggle:hover,
.admin-toolbar-notification-btn:hover,
.nav-notification-toggle:focus,
.admin-toolbar-notification-btn:focus,
.nav-notification-toggle:focus-visible,
.admin-toolbar-notification-btn:focus-visible,
.nav-notification-toggle.show,
.admin-toolbar-notification-btn.show,
.nav-notification-toggle:active,
.admin-toolbar-notification-btn:active {
    color: #fff;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
}

.nav-notification-toggle:hover,
.admin-toolbar-notification-btn:hover,
.nav-notification-toggle.show,
.admin-toolbar-notification-btn.show {
    transform: translateY(-1px) scale(1.03);
}

.nav-notification-toggle:active,
.admin-toolbar-notification-btn:active {
    transform: scale(.96);
}

.nav-notification-toggle::before,
.nav-notification-toggle::after,
.admin-toolbar-notification-btn::before,
.admin-toolbar-notification-btn::after {
    box-shadow: none !important;
}

.nav-notification-bell-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: transform .18s ease;
}

.nav-notification-toggle:hover .nav-notification-bell-wrap,
.admin-toolbar-notification-btn:hover .nav-notification-bell-wrap,
.nav-notification-toggle.show .nav-notification-bell-wrap,
.admin-toolbar-notification-btn.show .nav-notification-bell-wrap {
    transform: translateY(-1px);
}

.nav-notification-badge {
    position: absolute;
    top: -9px;
    right: -11px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff6b6b, #ff3b3b);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(255,59,59,.35);
}

.nav-notification-menu {
    width: min(420px, calc(100vw - 28px));
    border: 1px solid rgba(27,35,136,.12);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(8,12,29,.16);
}

.nav-notification-menu-head,
.nav-notification-menu-footer {
    padding: 14px 16px;
    background: #fff;
}

.nav-notification-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(27,35,136,.08);
}

.nav-notification-menu-list {
    max-height: 380px;
    overflow: auto;
    background: #f8f9ff;
}

.nav-notification-empty {
    padding: 20px 16px;
    color: #6d7691;
    font-weight: 600;
    text-align: center;
}

.nav-notification-item,
.notification-feed-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-decoration: none;
    padding: 15px 16px;
    color: #162033;
    border-bottom: 1px solid rgba(27,35,136,.06);
    background: #fff;
    transition: background .16s ease, transform .16s ease;
}

.nav-notification-item:hover,
.notification-feed-item:hover {
    background: #f6f8ff;
    color: #162033;
}

.nav-notification-item.is-unread,
.notification-feed-item.is-unread {
    background: linear-gradient(180deg, rgba(255,255,255,1), rgba(240,245,255,1));
}

.nav-notification-icon,
.notification-feed-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    font-size: 1rem;
}

.nav-notification-icon--news,
.notification-feed-icon--news {
    background: rgba(27,35,136,.10);
    color: #1b2388;
}

.nav-notification-icon--store,
.notification-feed-icon--store {
    background: rgba(248,177,51,.18);
    color: #9c5f00;
}

.nav-notification-icon--promotion,
.notification-feed-icon--promotion {
    background: rgba(21,176,132,.14);
    color: #0c7d5e;
}

.nav-notification-icon--coupon,
.notification-feed-icon--coupon {
    background: rgba(68,135,255,.14);
    color: #215dd5;
}

.nav-notification-icon--moderation,
.notification-feed-icon--moderation {
    background: rgba(255,102,102,.14);
    color: #c43c3c;
}

.nav-notification-icon--poll,
.notification-feed-icon--poll {
    background: rgba(27,35,136,.10);
    color: #1b2388;
}

.nav-notification-icon--game,
.notification-feed-icon--game {
    background: rgba(103,80,255,.14);
    color: #5b3df5;
}

.nav-notification-icon--points,
.notification-feed-icon--points {
    background: rgba(248,177,51,.18);
    color: #9c5f00;
}

.nav-notification-icon--level,
.notification-feed-icon--level {
    background: rgba(21,176,132,.14);
    color: #0c7d5e;
}

.nav-notification-icon--general,
.notification-feed-icon--general {
    background: rgba(27,35,136,.08);
    color: #1b2388;
}

.nav-notification-copy,
.notification-feed-copy {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    display: grid;
    gap: 5px;
}

.nav-notification-row,
.notification-feed-topline {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
}


.nav-notification-item,
.notification-feed-item {
    overflow: visible;
}

.nav-notification-copy,
.notification-feed-copy,
.nav-notification-title,
.notification-feed-title,
.nav-notification-message,
.notification-feed-message {
    display: block;
}

.nav-notification-title,
.notification-feed-title {
    font-weight: 800;
    color: #0f1728;
    line-height: 1.2;
}

.nav-notification-time,
.notification-feed-time {
    color: #7b8298;
    font-size: .82rem;
    font-weight: 700;
    white-space: normal;
    align-self: flex-end;
    text-align: right;
    display: block;
    margin-bottom: 1px;
}

.nav-notification-message,
.notification-feed-message {
    color: #52607a;
    line-height: 1.45;
    font-size: .95rem;
    white-space: normal;
}

.notifications-page-card {
    border: 1px solid rgba(27,35,136,.10);
}

.notifications-page-list {
    display: grid;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

.notification-feed-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid rgba(27,35,136,.08);
    border-radius: 18px;
    box-sizing: border-box;
}

.notifications-page-card,
.nav-notification-menu-list {
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

.nav-notification-row,
.notification-feed-topline {
    flex-wrap: nowrap;
}

.nav-notification-title,
.notification-feed-title,
.nav-notification-message,
.notification-feed-message {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.nav-notification-time,
.notification-feed-time {
    flex: 0 0 auto;
}

@media (max-width: 575.98px) {
    .nav-notification-item,
    .notification-feed-item {
        gap: 12px;
        padding: 14px 13px;
    }

    .nav-notification-icon,
    .notification-feed-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 12px;
    }

    .nav-notification-row,
    .notification-feed-topline {
        align-items: stretch;
    }

    .nav-notification-time,
    .notification-feed-time {
        white-space: normal;
    }

    .notifications-page-card {
        overflow-x: hidden;
    }
}

.notifications-empty-state {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 18px;
    border: 1px dashed rgba(27,35,136,.18);
    border-radius: 20px;
    color: #5a6782;
    background: #fbfcff;
}

.notifications-empty-state i {
    font-size: 1.6rem;
    color: #1b2388;
}

.notifications-empty-state h2 {
    font-size: 1.15rem;
    margin: 0 0 4px;
    color: #162033;
}

.notifications-empty-state p {
    margin: 0;
}

.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-toolbar-kicker,
.admin-toolbar-title {
    display: none !important;
}

.admin-toolbar--notifications-only {
    justify-content: flex-end;
}

.admin-toolbar--notifications-only.is-relocated {
    display: none;
}

.admin-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-toolbar-notification-btn {
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
}

.dashboard-header,
.auto-badges-hero,
.gamification-hero,
.daily-streak-hero,
.comment-mod-hero,
.store-hero,
.polls-hero,
.games-hero,
.memory-admin-hero,
.ads-hero,
.ads-admin-hero {
    position: relative;
}

.admin-header-has-notification {
    overflow: visible;
    padding-right: 96px;
}

.admin-header-has-notification .admin-toolbar-actions {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 20;
}

.admin-header-has-notification .admin-toolbar-notification-btn {
    border: 1px solid rgba(255,255,255,.18);
    background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
    box-shadow: 0 14px 30px rgba(0,0,0,.22);
}

.admin-header-has-notification .admin-toolbar-notification-btn:hover,
.admin-header-has-notification .admin-toolbar-notification-btn:focus {
    background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.12));
}

@media (max-width: 991.98px) {
    .nav-notification-menu {
        width: min(100vw - 24px, 420px);
    }

    .admin-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-header-has-notification {
        padding-right: 82px;
        padding-top: 72px;
    }

    .admin-header-has-notification .admin-toolbar-actions {
        top: 14px;
        right: 14px;
    }
}

.prom-ads-wrap{
    padding:18px 0 8px;
}
.prom-ads-wrap--top{padding-top:18px;}
.prom-ads-wrap--inline{padding-top:16px;}
.prom-ads-wrap--footer{padding-top:22px;}
.prom-ads-wrap__title{
    margin-bottom:10px;
    color:#6a739e;
    font-size:.8rem;
    font-weight:800;
    letter-spacing:.16em;
    text-transform:uppercase;
}
.prom-ads-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:16px;
}
.prom-ad-card{
    position:relative;
    overflow:hidden;
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);
    gap:18px;
    padding:24px;
    border-radius:28px;
    text-decoration:none;
    color:var(--ad-text,#fff) !important;
    background:linear-gradient(135deg, var(--ad-bg,#0d143d) 0%, color-mix(in srgb, var(--ad-bg,#0d143d) 72%, #050814 28%) 100%);
    box-shadow:0 18px 34px rgba(3,8,28,.16);
    border:1px solid rgba(255,255,255,.08);
}
.prom-ad-card::before{
    content:'';
    position:absolute;
    inset:auto -10% -46% auto;
    width:260px;
    height:260px;
    border-radius:50%;
    background:radial-gradient(circle, color-mix(in srgb, var(--ad-accent,#f8b133) 68%, transparent) 0%, transparent 70%);
    opacity:.72;
    pointer-events:none;
}
.prom-ad-card__copy,
.prom-ad-card__media{position:relative;z-index:1;}
.prom-ad-card__eyebrow{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;}
.prom-ad-card__label,
.prom-ad-card__slot{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:999px;
    font-size:.8rem;
    font-weight:800;
}
.prom-ad-card__label{background:rgba(255,255,255,.14);}
.prom-ad-card__slot{background:color-mix(in srgb, var(--ad-accent,#f8b133) 26%, rgba(255,255,255,.10)); color:var(--ad-text,#fff);}
.prom-ad-card__title{font-size:clamp(1.55rem,2.3vw,2.35rem);line-height:1.02;font-weight:900;max-width:12ch;margin:0 0 12px;}
.prom-ad-card__text{max-width:58ch;color:color-mix(in srgb, var(--ad-text,#fff) 78%, transparent);margin:0;}
.prom-ad-card__foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;}
.prom-ad-card__cta{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:999px;background:var(--ad-accent,#f8b133);color:#111;font-weight:900;box-shadow:0 10px 24px rgba(0,0,0,.16);}
.prom-ad-card__sponsor{font-size:.9rem;font-weight:700;color:color-mix(in srgb, var(--ad-text,#fff) 82%, transparent);}
.prom-ad-card__media{border-radius:22px;overflow:hidden;background:rgba(255,255,255,.08);min-height:180px;display:flex;align-items:center;justify-content:center;}
.prom-ad-card__media img{width:100%;height:100%;object-fit:cover;display:block;}
.prom-ad-card:not(.has-media) .prom-ad-card__media{display:none;}
.prom-ad-card:not(.has-media){grid-template-columns:minmax(0,1fr);}
@media (max-width: 991.98px){
    .prom-ad-card{grid-template-columns:1fr;padding:20px;border-radius:24px;}
    .prom-ad-card__media{min-height:160px;}
    .prom-ad-card__title{max-width:none;}
}

/* Advertising system v2 */
.prom-ads-wrap{width:100%;}
.prom-ads-wrap--sidebar{max-width:300px;margin:0 auto;}
.prom-ad-banner{display:block;position:relative;width:min(100%, calc(var(--ad-width, 970) * 1px));margin:0 auto;border-radius:0;overflow:hidden;background:#0a0f2b;border:1px solid rgba(27,35,136,.10);box-shadow:0 18px 34px rgba(8,12,32,.16);transition:transform .18s ease, box-shadow .18s ease;}
.prom-ad-banner:hover{transform:translateY(-2px);box-shadow:0 22px 38px rgba(8,12,32,.22);}
.prom-ad-banner img{display:block;width:100%;height:auto;aspect-ratio:calc(var(--ad-width,970) / var(--ad-height,90));object-fit:cover;}
.prom-ad-banner__badge{position:absolute;top:10px;left:10px;display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:rgba(8,12,32,.72);color:#fff;font-size:.75rem;font-weight:800;letter-spacing:.02em;z-index:2;}
.prom-ads-slot--edition_side_300x500,.prom-ads-slot--news_sidebar_300x500,.prom-ads-slot--news_article_sidebar_300x500,.prom-ads-slot--poll_side_300x500,.prom-ads-slot--store_after_redemptions_300x500{max-width:300px;margin-left:auto;margin-right:auto;}
@media (max-width: 991.98px){
  .prom-ad-banner{width:100%;}
}

/* Premium alert redesign inspired by stacked status cards */
.alert {
    --alert-accent: #7dd3fc;
    --alert-bg: rgba(20, 24, 32, 0.96);
    --alert-border: rgba(125, 211, 252, 0.42);
    --alert-text: #f8fafc;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: .95rem 1.1rem .95rem 3.55rem !important;
    border-radius: 14px !important;
    border: 1px solid var(--alert-border) !important;
    background: linear-gradient(135deg, color-mix(in srgb, var(--alert-accent) 14%, #10141d 86%), var(--alert-bg)) !important;
    color: var(--alert-text) !important;
    box-shadow: 0 18px 30px rgba(8, 12, 20, .18), inset 0 1px 0 rgba(255,255,255,.03);
    overflow: hidden;
    isolation: isolate;
    font-weight: 600;
    letter-spacing: .01em;
    animation: promAlertIn .35s ease;
}

.alert::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--alert-accent) 78%, white 22%), var(--alert-accent));
    box-shadow: 0 0 18px color-mix(in srgb, var(--alert-accent) 55%, transparent 45%);
}

.alert::before {
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 1.7rem;
    height: 1.7rem;
    margin-top: -.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--alert-accent) 18%, #0b1119 82%);
    color: color-mix(in srgb, var(--alert-accent) 85%, white 15%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--alert-accent) 42%, transparent 58%), 0 0 12px color-mix(in srgb, var(--alert-accent) 28%, transparent 72%);
    font-size: .92rem;
    content: '\F431';
}

.alert strong,
.alert a,
.alert code,
.alert .small,
.alert .form-text {
    color: inherit !important;
}

.alert a {
    text-decoration-color: currentColor;
}

.alert-dismissible {
    padding-right: 3.2rem !important;
}

.alert .btn-close {
    position: absolute;
    right: .95rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: .88;
    filter: invert(1) grayscale(1) brightness(1.25);
    box-shadow: none;
}

.alert .btn-close:hover,
.alert .btn-close:focus {
    opacity: 1;
}

.alert-success {
    --alert-accent: #22c55e;
    --alert-bg: rgba(14, 31, 20, 0.96);
    --alert-border: rgba(34, 197, 94, 0.42);
}

.alert-success::before {
    content: '\F26A';
}

.alert-info,
.alert-primary {
    --alert-accent: #3b82f6;
    --alert-bg: rgba(13, 23, 46, 0.96);
    --alert-border: rgba(59, 130, 246, 0.42);
}

.alert-info::before,
.alert-primary::before {
    content: '\F430';
}

.alert-warning {
    --alert-accent: #f59e0b;
    --alert-bg: rgba(45, 28, 7, 0.96);
    --alert-border: rgba(245, 158, 11, 0.4);
    --alert-text: #fff8ec;
}

.alert-warning::before {
    content: '\F33A';
}

.alert-danger {
    --alert-accent: #ef4444;
    --alert-bg: rgba(43, 11, 15, 0.96);
    --alert-border: rgba(239, 68, 68, 0.42);
}

.alert-danger::before {
    content: '\F623';
}

.alert-light,
.alert-secondary {
    --alert-accent: #94a3b8;
    --alert-bg: rgba(28, 34, 46, 0.96);
    --alert-border: rgba(148, 163, 184, 0.34);
}

.alert-light::before,
.alert-secondary::before {
    content: '\F431';
}

.alert + .alert {
    margin-top: .85rem;
}

@keyframes promAlertIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


