/* ============================================================
   PrepNest – Main Stylesheet  (Green Brand Theme 2025)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- Design Tokens ---------- */
:root {
    --pn-primary:      #269B61;  /* green brand */
    --pn-primary-d:    #197A4A;  /* green dark */
    --pn-primary-l:    #E8F7EF;  /* green light */
    --pn-primary-soft: #F3FBF7;  /* green very light */
    --pn-primary-m:    #A7D7BC;  /* green medium */
    --pn-gold:         #f59e0b;  /* amber-500 */
    --pn-gold-l:       #fef3c7;  /* amber-100 */
    --pn-gold-bright:  #fbbf24;  /* amber-400 */
    --pn-dark:         #252B2F;  /* charcoal */
    --pn-dark2:        #252B2F;
    --pn-dark3:        #3D4347;
    --pn-foreground:   #252B2F;
    --pn-muted:        #667085;
    --pn-border:       #E4E7EC;
    --pn-light:        #F9FAFB;
    --pn-background:   #F9FAFB;
    --pn-danger:       #D92D20;
    --pn-warning:      #F79009;
    --pn-radius:       14px;
    --pn-radius-sm:    8px;
    --pn-shadow:       0 4px 24px rgba(37,75,63,.07);
    --pn-shadow-lg:    0 16px 48px rgba(37,75,63,.12);
    --pn-shadow-green: 0 8px 28px rgba(38,155,97,.25);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #fff;
    color: #1e293b;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--pn-primary-soft); }
::-webkit-scrollbar-thumb { background: var(--pn-primary-m); border-radius: 99px; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .65s cubic-bezier(.22,.68,0,1.2), transform .65s cubic-bezier(.22,.68,0,1.2);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left  { opacity:0; transform:translateX(-40px); transition: opacity .65s ease, transform .65s ease; }
.reveal-right { opacity:0; transform:translateX(40px);  transition: opacity .65s ease, transform .65s ease; }
.reveal-left.visible, .reveal-right.visible { opacity:1; transform:translateX(0); }

.reveal-scale { opacity:0; transform:scale(.88); transition: opacity .55s ease, transform .55s ease; }
.reveal-scale.visible { opacity:1; transform:scale(1); }

.delay-1 { transition-delay: .08s !important; }
.delay-2 { transition-delay: .16s !important; }
.delay-3 { transition-delay: .24s !important; }
.delay-4 { transition-delay: .32s !important; }
.delay-5 { transition-delay: .40s !important; }
.delay-6 { transition-delay: .48s !important; }

/* ============================================================
   PUBLIC NAVBAR
   ============================================================ */
.pn-navbar {
    background: #fff !important;
    border-bottom: 1px solid var(--pn-border);
    padding: .8rem 0;
    transition: box-shadow .3s;
}
.pn-navbar.scrolled { box-shadow: 0 4px 24px rgba(15,23,42,.10); }

.pn-navbar .navbar-brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
}
.pn-navbar .brand-text {
    font-size: 1.4rem; font-weight: 800; letter-spacing: -.5px;
    color: var(--pn-dark) !important;
}
.pn-navbar .brand-text span { color: var(--pn-primary); }

.pn-navbar .nav-link {
    color: #475569 !important;
    font-weight: 500; font-size: .88rem;
    padding: .42rem .9rem !important;
    border-radius: var(--pn-radius-sm);
    transition: color .2s, background .2s;
}
.pn-navbar .nav-link:hover { color: var(--pn-primary) !important; background: var(--pn-primary-l); }

.btn-nav-login {
    background: transparent;
    border: 1.5px solid var(--pn-border);
    color: #334155 !important; font-weight: 600; font-size: .85rem;
    padding: .4rem 1.15rem; border-radius: var(--pn-radius-sm);
    transition: background .2s, border-color .2s, color .2s; cursor: pointer;
    text-decoration: none; display: inline-flex; align-items: center;
}
.btn-nav-login:hover { background: var(--pn-primary-l); border-color: var(--pn-primary); color: var(--pn-primary) !important; }

.btn-nav-signup {
    background: var(--pn-primary);
    border: none; color: #fff !important; font-weight: 700; font-size: .85rem;
    padding: .44rem 1.25rem; border-radius: var(--pn-radius-sm);
    box-shadow: var(--pn-shadow-blue);
    transition: transform .18s, box-shadow .2s, background .2s; cursor: pointer;
    text-decoration: none; display: inline-flex; align-items: center;
}
.btn-nav-signup:hover { transform: translateY(-1px); background: var(--pn-primary-d); box-shadow: 0 8px 24px rgba(38,155,97,.38); color: #fff !important; }

.pn-navbar .navbar-toggler {
    border: 1.5px solid var(--pn-border); border-radius: 8px; padding: .35rem .6rem;
}
.pn-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23475569' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.pn-navbar .dropdown-menu {
    border: 1px solid var(--pn-border); border-radius: var(--pn-radius);
    box-shadow: var(--pn-shadow-lg); padding: .45rem; min-width: 185px;
}
.pn-navbar .dropdown-item {
    border-radius: var(--pn-radius-sm); font-size: .87rem;
    font-weight: 500; padding: .55rem .9rem; color: #334155;
}
.pn-navbar .dropdown-item:hover { background: var(--pn-primary-l); color: var(--pn-primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    background: linear-gradient(135deg, #E8F7EF 0%, #F3FBF7 50%, #fafafa 100%);
    padding: 80px 0 70px;
    position: relative; overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(38,155,97,.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute; bottom: -100px; left: -100px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(38,155,97,.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--pn-primary-l);
    border: 1px solid var(--pn-primary-m);
    color: var(--pn-primary); font-size: .78rem; font-weight: 700;
    letter-spacing: .5px; padding: .32rem 1rem; border-radius: 99px;
    margin-bottom: 1.4rem;
}
@keyframes badgePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(38,155,97,.2); }
    50%      { box-shadow: 0 0 0 8px rgba(38,155,97,0); }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900; color: var(--pn-dark);
    line-height: 1.1; letter-spacing: -.8px; margin-bottom: 1.2rem;
}
.hero-title .highlight {
    color: var(--pn-primary);
    background: linear-gradient(90deg, #269B61, #34C879);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem; color: #64748b;
    max-width: 500px; margin-bottom: 2rem; line-height: 1.75;
}

.btn-hero-primary {
    background: var(--pn-primary);
    border: none; color: #fff; font-weight: 700; font-size: .97rem;
    padding: .78rem 2rem; border-radius: 99px;
    box-shadow: var(--pn-shadow-blue);
    transition: transform .2s, box-shadow .2s, background .2s;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-primary:hover { transform: translateY(-3px); background: var(--pn-primary-d); box-shadow: 0 12px 36px rgba(38,155,97,.4); color: #fff; }

.btn-hero-outline {
    background: transparent; border: 2px solid var(--pn-border);
    color: var(--pn-dark2); font-weight: 600; font-size: .93rem;
    padding: .75rem 1.75rem; border-radius: 99px;
    transition: border-color .2s, background .2s, color .2s;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-outline:hover { border-color: var(--pn-primary); background: var(--pn-primary-l); color: var(--pn-primary); }

/* Hero stats */
.hero-stat { text-align: center; }
.hero-stat-value {
    font-size: 1.85rem; font-weight: 900; color: var(--pn-dark);
    line-height: 1; letter-spacing: -1px;
}
.hero-stat-value .num { color: var(--pn-primary); }
.hero-stat-label { font-size: .75rem; color: var(--pn-muted); margin-top: 4px; }

/* Hero visual card */
.hero-visual {
    position: relative;
}
.hero-card {
    background: #fff;
    border: 1px solid var(--pn-border);
    border-radius: 20px; padding: 1.6rem;
    box-shadow: 0 20px 60px rgba(15,23,42,.12);
    animation: heroCardFloat 5s ease-in-out infinite;
    position: relative; z-index: 2;
    max-width: 380px; margin: auto; text-align: left;
}
@keyframes heroCardFloat {
    0%,100% { transform: translateY(0) rotate(-.3deg); }
    50%      { transform: translateY(-10px) rotate(.3deg); }
}

.hero-card .exam-label {
    font-size: .75rem; font-weight: 700; color: var(--pn-primary);
    letter-spacing: .4px; margin-bottom: .9rem;
    display: flex; align-items: center; gap: 6px;
}
.hero-card .live-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
    animation: livePulse 2s infinite;
}
@keyframes livePulse {
    0%,100% { opacity: 1; } 50% { opacity: .4; }
}

.hero-card .question {
    font-size: .9rem; font-weight: 600; color: var(--pn-dark); margin-bottom: .85rem;
}

.mock-option {
    padding: .5rem .85rem; border-radius: 8px; font-size: .83rem;
    border: 1.5px solid var(--pn-border); color: #475569;
    margin-bottom: 6px; cursor: default;
}
.mock-option.correct {
    background: var(--pn-primary-l); border-color: var(--pn-primary); color: var(--pn-primary); font-weight: 600;
}

.hero-card .progress-wrap {
    margin-top: 1rem;
}
.hero-card .progress-info {
    display: flex; justify-content: space-between;
    font-size: .73rem; color: var(--pn-muted); margin-bottom: 5px;
}
.hero-card .prog-bar-bg {
    background: #e2e8f0; border-radius: 99px; height: 6px; overflow: hidden;
}
.hero-card .prog-bar-fill {
    width: 70%; height: 100%;
    background: linear-gradient(90deg, var(--pn-primary), #34C879);
    border-radius: 99px;
}

.hero-card .card-badges {
    display: flex; gap: 6px; margin-top: .85rem;
}
.card-badge {
    font-size: .72rem; font-weight: 700;
    padding: .25rem .7rem; border-radius: 99px;
}
.card-badge.blue { background: var(--pn-primary-l); color: var(--pn-primary); }
.card-badge.green { background: #f0fdf4; color: #16a34a; }

/* floating mini badges */
.floating-badge {
    position: absolute;
    background: #fff;
    border: 1px solid var(--pn-border);
    box-shadow: 0 4px 20px rgba(15,23,42,.10);
    color: var(--pn-dark); font-size: .78rem; font-weight: 700;
    padding: .5rem 1rem; border-radius: 12px;
    white-space: nowrap;
    animation: floatBadge 4s ease-in-out infinite;
    z-index: 3;
}
@keyframes floatBadge {
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-8px); }
}

/* ============================================================
   TRUST / TAGS BAR
   ============================================================ */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid var(--pn-border);
    padding: 1.1rem 0;
}

/* ============================================================
   FEATURE HIGHLIGHTS (below hero)
   ============================================================ */
.highlights-section {
    background: var(--pn-dark);
    padding: 2.2rem 0;
}
.highlight-item {
    display: flex; align-items: center; gap: 1rem;
    color: rgba(255,255,255,.85);
}
.highlight-icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section-pill {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .72rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; color: var(--pn-primary);
    background: var(--pn-primary-l); padding: .3rem .9rem;
    border-radius: 99px; margin-bottom: .9rem;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800; color: var(--pn-dark); letter-spacing: -.5px;
}
.section-sub { color: var(--pn-muted); font-size: .97rem; max-width: 520px; margin: .5rem auto 0; }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-card {
    background: #fff; border: 1.5px solid var(--pn-border);
    border-radius: var(--pn-radius); cursor: pointer;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, border-color .3s;
    overflow: hidden; position: relative;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(38,155,97,.12);
    border-color: var(--pn-primary);
}

.cat-icon-wrap {
    width: 60px; height: 60px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin: 0 auto 1rem;
    background: var(--pn-primary-l); color: var(--pn-primary);
    transition: background .3s, transform .3s;
}
.category-card:hover .cat-icon-wrap {
    background: var(--pn-primary); color: #fff; transform: scale(1.1) rotate(-4deg);
}

/* ============================================================
   FEATURE ITEMS
   ============================================================ */
.feature-item {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.25rem; border-radius: var(--pn-radius);
    border: 1.5px solid var(--pn-border);
    background: #fff;
    transition: background .25s, transform .25s, box-shadow .25s;
}
.feature-item:hover { background: var(--pn-primary-l); transform: translateY(-3px); box-shadow: var(--pn-shadow-green); border-color: var(--pn-primary-m); }

.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--pn-primary-l); color: var(--pn-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
    transition: background .25s, transform .25s;
}
.feature-item:hover .feature-icon { background: var(--pn-primary); color: #fff; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.step-card {
    background: #fff; border: 1.5px solid var(--pn-border);
    border-radius: var(--pn-radius); padding: 2rem 1.5rem;
    text-align: center; position: relative;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--pn-shadow-lg); border-color: var(--pn-primary); }

.step-number {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--pn-primary);
    color: #fff; font-weight: 800; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.1rem;
    box-shadow: var(--pn-shadow-green);
}

/* step connector arrow */
.step-connector { position: relative; }
.step-connector::after {
    content: '';
    position: absolute; top: 38px; right: -10%;
    width: 20%; height: 2px;
    background: linear-gradient(90deg, var(--pn-primary-m), transparent);
    z-index: 0;
}
.step-connector:last-child::after { display: none; }

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-card {
    border: 2px solid var(--pn-border); border-radius: var(--pn-radius);
    background: #fff; overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--pn-shadow-lg); border-color: var(--pn-primary); }
.pricing-card.featured {
    border-color: var(--pn-primary);
    background: linear-gradient(160deg, #0D5C38 0%, #197A4A 100%);
    transform: scale(1.04);
    box-shadow: 0 24px 64px rgba(38,155,97,.3);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }

.pricing-popular-badge {
    background: linear-gradient(90deg, var(--pn-gold), var(--pn-gold-bright));
    color: #fff; text-align: center; padding: .45rem;
    font-size: .75rem; font-weight: 700; letter-spacing: .5px;
}

.pricing-price { font-size: 2.6rem; font-weight: 900; line-height: 1; letter-spacing: -1.5px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: #fff; border: 1.5px solid var(--pn-border);
    border-radius: var(--pn-radius); padding: 1.75rem;
    transition: transform .3s, box-shadow .3s;
    position: relative;
}
.testimonial-card::before {
    content: '\201C'; position: absolute;
    top: .5rem; left: 1.25rem;
    font-size: 4rem; color: var(--pn-primary-l);
    font-family: Georgia, serif; line-height: 1;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--pn-shadow-lg); border-color: var(--pn-primary-m); }

.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--pn-primary), #34C879);
    color: #fff; font-weight: 700; font-size: .95rem;
    display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, #0D5C38 0%, #269B61 60%, #34C879 100%);
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 28px 28px;
}
.cta-section .btn-cta-white {
    background: #fff; color: var(--pn-primary) !important;
    font-weight: 700; border-radius: 99px; padding: .8rem 2.2rem;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 8px 28px rgba(15,23,42,.15);
}
.cta-section .btn-cta-white:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(15,23,42,.22); }
.cta-section .btn-cta-outline {
    background: transparent; border: 2px solid rgba(255,255,255,.4);
    color: #fff !important; font-weight: 600; border-radius: 99px; padding: .78rem 2rem;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    transition: border-color .2s, background .2s;
}
.cta-section .btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ============================================================
   FOOTER
   ============================================================ */
.pn-footer {
    background: var(--pn-dark);
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 0;
}
.pn-footer .footer-brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -.4px;
}
.pn-footer .footer-brand span { color: #34C879; }
.pn-footer .footer-tagline { color: var(--pn-muted); font-size: .9rem; line-height: 1.7; }
.pn-footer .footer-divider { border-color: rgba(255,255,255,.08); margin: 0 0 1.5rem; }
.pn-footer .footer-bottom { color: rgba(255,255,255,.3); font-size: .8rem; }

/* Stats */
.pn-footer .footer-stat { text-align: center; }
.pn-footer .footer-stat-num { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; }
.pn-footer .footer-stat-lbl { font-size: .72rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .8px; margin-top: 3px; }
.pn-footer .footer-stat-divider { width: 1px; background: rgba(255,255,255,.1); align-self: stretch; margin: 4px 0; }

/* Features strip */
.pn-footer .footer-features-row {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 1.5rem;
}
.pn-footer .footer-feature {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 28px; font-size: .82rem; color: rgba(255,255,255,.45);
    border-right: 1px solid rgba(255,255,255,.06);
}
.pn-footer .footer-feature:last-child { border-right: none; }
.pn-footer .footer-feature i { color: #34C879; font-size: .85rem; }

/* ============================================================
   USER PANEL NAVBAR
   ============================================================ */
.pn-user-nav {
    background: #fff !important;
    border-bottom: 1px solid var(--pn-border);
    box-shadow: 0 1px 8px rgba(15,23,42,.06);
}
.pn-user-nav .navbar-brand { font-weight: 800; font-size: 1.2rem; color: var(--pn-dark) !important; letter-spacing: -.4px; display: flex; align-items: center; gap: 8px; }
.pn-user-nav .brand-text { color: var(--pn-dark) !important; font-weight: 800; }
.pn-user-nav .brand-text span { color: var(--pn-primary); }
.pn-user-nav .nav-link { color: #475569 !important; font-weight: 500; font-size: .88rem; padding: .42rem .85rem !important; border-radius: var(--pn-radius-sm); transition: color .2s, background .2s; }
.pn-user-nav .nav-link:hover, .pn-user-nav .nav-link.active { color: var(--pn-primary) !important; background: var(--pn-primary-l); }
.pn-user-nav .dropdown-menu { border: 1px solid var(--pn-border); border-radius: var(--pn-radius); box-shadow: var(--pn-shadow-lg); padding: .4rem; }
.pn-user-nav .dropdown-item { border-radius: var(--pn-radius-sm); font-size: .875rem; font-weight: 500; padding: .55rem .85rem; color: #334155; }
.pn-user-nav .dropdown-item:hover { background: var(--pn-primary-l); color: var(--pn-primary); }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--pn-primary), #34C879); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .82rem; }

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */
.card { border: 1px solid var(--pn-border); border-radius: var(--pn-radius); box-shadow: var(--pn-shadow); background: #fff; }

.btn { border-radius: var(--pn-radius-sm); font-weight: 600; font-size: .9rem; transition: transform .15s, box-shadow .2s; }
.btn-primary { background: var(--pn-primary); border-color: var(--pn-primary); }
.btn-primary:hover { background: var(--pn-primary-d); border-color: var(--pn-primary-d); transform: translateY(-1px); box-shadow: var(--pn-shadow-green); }
.btn-outline-primary { border-color: var(--pn-primary); color: var(--pn-primary); }
.btn-outline-primary:hover { background: var(--pn-primary); color: #fff; transform: translateY(-1px); }

.form-control, .form-select { border-radius: var(--pn-radius-sm); border: 1.5px solid var(--pn-border); padding: .6rem .9rem; font-size: .92rem; transition: border-color .2s, box-shadow .2s; }
.form-control:focus, .form-select:focus { border-color: var(--pn-primary); box-shadow: 0 0 0 3px rgba(38,155,97,.10); outline: none; }
.form-label { font-weight: 600; font-size: .87rem; color: #334155; margin-bottom: .4rem; }

.badge { border-radius: 6px; font-weight: 600; font-size: .73rem; }
.alert { border-radius: var(--pn-radius-sm); border: none; font-size: .9rem; }
.progress { border-radius: 99px; background: var(--pn-border); height: 8px; }
.progress-bar { border-radius: 99px; background: var(--pn-primary); }

.table th { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .6px; color: var(--pn-muted); border-bottom: 2px solid var(--pn-border); padding: .85rem 1rem; }
.table td { padding: .85rem 1rem; vertical-align: middle; }

.page-header { background: #fff; border-bottom: 1px solid var(--pn-border); padding: 1.1rem 0; margin-bottom: 2rem; }
.stat-card { border-radius: var(--pn-radius); border: 1px solid var(--pn-border); background: #fff; transition: transform .2s, box-shadow .2s; }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--pn-shadow-lg); }

.option-btn { text-align: left; transition: background .15s, border-color .15s, color .15s; }
.option-btn:hover { background: var(--pn-primary-l); border-color: var(--pn-primary); color: var(--pn-primary-d); }
.option-btn.selected { background: var(--pn-primary-l); border-color: var(--pn-primary); color: var(--pn-primary-d); font-weight: 600; }

.exam-header { position: sticky; top: 0; z-index: 1000; }
.notif-dot { width: 8px; height: 8px; background: #ef4444; border-radius: 50%; display: inline-block; margin-left: 4px; }

@media print {
    nav, footer, .btn, .no-print { display: none !important; }
    .card { border: 1px solid var(--pn-border) !important; box-shadow: none !important; }
}

/* ============================================================
   ADMIN SIDEBAR / LAYOUT
   ============================================================ */
.pn-admin-sidebar { background: var(--pn-dark); min-height: 100vh; width: 250px; position: fixed; top: 0; left: 0; z-index: 1000; overflow-y: auto; }
.pn-admin-sidebar .sidebar-brand { padding: 1.4rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; gap: 10px; }
.pn-admin-sidebar .sidebar-brand .brand-text { font-size: 1.2rem; font-weight: 800; color: #fff; }
.pn-admin-sidebar .sidebar-brand .brand-text span { color: #34C879; }
.pn-admin-sidebar .sidebar-brand svg { flex-shrink: 0; }
