/* ========================================
   Brand Colors & Variables
   ======================================== */
:root {
    --brand-blue: #0090D4;
    --brand-yellow: #FBD106;
    --dark-blue: #006B9F;
    --light-blue: #E6F5FC;
    --dark-gray: #2C3E50;
    --light-gray: #ECF0F1;
    --kat-guru:    #0090D4;
    --kat-kepsek:  #27AE60;
    --kat-pengawas:#8E44AD;
    --kat-tendik:  #E67E22;
}

/* ========================================
   Base Layout - Flexbox Sticky Footer
   ======================================== */
html {
  font-size: 14px;
  scroll-behavior: smooth;
  height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-gray);
  background-color: #f8f9fa;
  height: 100%;
}

/* Page wrapper - Flexbox container for sticky footer */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main content - Grows to fill available space */
.main-content {
  flex: 1 0 auto;
  width: 100%;
}

/* ========================================
   Hero Section - Landing Page
   ======================================== */
.hero-background {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--dark-blue) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(251, 209, 6, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slider-overlay {
    position: absolute;
    inset: 0;
    background-color: rgb(51 98 155 / 75%);
    z-index: 1;
}

.hero-slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.2);
}

.hero-section {
    position: relative;
    z-index: 2;
}

.logo-container {
    animation: fadeInDown 1s ease;
}

.logo-bbgtk {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--brand-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease;
}

.subtitle-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(251, 209, 6, 0.3);
    border-radius: 50px;
    padding: 15px 30px;
    display: inline-block;
    animation: fadeInUp 1s ease 0.2s both;
}

.subtitle-box .lead {
    color: var(--brand-yellow);
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-cta {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    letter-spacing: 0.4px;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Shimmer sweep layer */
.btn-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 80%
    );
    transform: translateX(-100%);
    transition: transform 0.55s ease;
    border-radius: 50px;
    pointer-events: none;
}

/* Top gloss */
.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.18), transparent);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.75);
    color: #ffffff;
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-cta:hover::after {
    transform: translateX(100%);
}

.btn-cta:hover::before {
    opacity: 1.4;
}

.btn-cta:active {
    transform: translateY(-1px) scale(0.99);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition-duration: 0.1s;
}

/* Info Cards */
.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--brand-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--dark-blue);
    box-shadow: 0 10px 30px rgba(251, 209, 6, 0.3);
}

.info-card h5 {
    color: white;
    margin-bottom: 10px;
}

.info-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Form Styles
   ======================================== */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #E0E0E0;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 144, 212, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.is-invalid {
    border-color: #dc3545;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ========================================
   Cards & Components
   ======================================== */
.card {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--dark-blue) 100%);
    border-radius: 20px 20px 0 0 !important;
    border: none;
    padding: 20px 30px;
}

.card-header h3 {
    margin: 0;
    font-weight: 700;
}

.card-body {
    padding: 30px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--dark-blue) 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--brand-blue) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 144, 212, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.btn-secondary {
    background: #6c757d;
}

.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 144, 212, 0.25);
}

/* ========================================
   Progress Bar
   ======================================== */
.progress {
    border-radius: 15px;
    height: 35px;
    background-color: var(--light-gray);
    overflow: visible;
}

.progress-bar {
    background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-yellow) 100%);
    border-radius: 15px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ========================================
   Navigation — Glass Parallax Effect
   ======================================== */
#mainNavbar {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.62) !important;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.52);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition:
        background   0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding      0.38s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow   0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s ease;
}

/* Bottom gradient accent line — visible after scroll */
#mainNavbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--dark-blue)   0%,
        var(--brand-blue)  35%,
        #00c8ff            65%,
        var(--brand-yellow) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

#mainNavbar.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 9px 0;
    border-bottom: none;
    box-shadow:
        0 6px 32px rgba(0, 60, 120, 0.10),
        0 1px 0 rgba(0, 0, 0, 0.04);
}

#mainNavbar.nav-scrolled::after {
    opacity: 1;
}

/* Brand */
.navbar-brand {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark-blue) !important;
    transition: color 0.28s ease, transform 0.28s ease;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    color: var(--brand-blue) !important;
    transform: translateY(-1px);
}

.navbar-brand i {
    color: var(--brand-yellow);
}

/* Nav links — pill style */
.nav-link {
    font-weight: 600;
    font-size: 0.88rem;
    color: #1a3a5c !important;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, background 0.2s ease;
    border-radius: 8px;
    padding: 7px 13px !important;
    margin: 0 1px;
    position: relative;
}

.nav-link::after {
    display: none;
}

.nav-link:hover {
    color: var(--brand-blue) !important;
    background: rgba(0, 144, 212, 0.09);
}

/* Active page highlight */
.nav-link.nav-active {
    color: var(--brand-blue) !important;
    background: rgba(0, 144, 212, 0.12);
    font-weight: 700;
}

/* Toggler */
.navbar-toggler {
    border-color: rgba(0, 107, 159, 0.28);
    border-radius: 8px;
    padding: 6px 10px;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.navbar-toggler:hover {
    background: rgba(0, 144, 212, 0.08);
    border-color: var(--brand-blue);
}

/* Mobile collapsed menu */
@media (max-width: 991.98px) {
    #mainNavbar .navbar-collapse.show,
    #mainNavbar .navbar-collapse.collapsing {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        border-radius: 12px;
        padding: 10px 8px;
        margin-top: 8px;
        box-shadow: 0 8px 32px rgba(0, 60, 120, 0.14);
        border: 1px solid rgba(200, 220, 240, 0.6);
    }
}

/* ========================================
   Table Styles
   ======================================== */
.table {
    border-radius: 15px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--dark-blue) 100%);
}

.table thead th {
    color: white;
    font-weight: 700;
    border: none;
    padding: 15px;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: var(--light-blue);
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* ========================================
   Alerts
   ======================================== */
.alert {
    border-radius: 15px;
    border: none;
    padding: 20px;
    font-weight: 500;
}

.alert-info {
    background: linear-gradient(135deg, var(--light-blue) 0%, #E3F2FD 100%);
    color: var(--dark-blue);
}

.alert-success {
    background: linear-gradient(135deg, #D4EDDA 0%, #C3E6CB 100%);
    color: #155724;
}

.alert-warning {
    background: linear-gradient(135deg, #FFF3CD 0%, #FFE69C 100%);
    color: #856404;
}

.alert-danger {
    background: linear-gradient(135deg, #F8D7DA 0%, #F5C6CB 100%);
    color: #721C24;
}

/* ========================================
   Footer
   ======================================== */
footer.footer {
    flex-shrink: 0;
    background: linear-gradient(160deg, #1d49ad 0%, #0a1f3a 100%);
    color: #ffffff;
    padding: 28px 0 0;

    width: 100%;
}

.footer-logo {
    height: 48px;
    width: auto;
    flex-shrink: 0;
}

.footer-brand {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.footer-brand-sub {
    font-size: 0.75rem;
    color: #ffffff;
    opacity: 0.7;
    margin-top: 1px;
}

.footer-institution {
    font-size: 0.8rem;
    color: #ffffff;
    line-height: 1.5;
}

.footer-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.5;
}

.footer-contact-list li i {
    color: #ffffff;
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--brand-yellow);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 20px 0 0;
}

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 0;
}

/* ========================================
   Utility Classes
   ======================================== */
.shadow-lg {
    box-shadow: 0 15px 50px rgba(0,0,0,0.15) !important;
}

.text-primary {
    color: var(--brand-blue) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--dark-blue) 100%) !important;
}

.badge {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .logo-bbgtk {
        max-width: 120px;
    }

    .display-2 {
        font-size: 2.5rem;
    }

    .btn-cta {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .info-card {
        margin-bottom: 20px;
    }
}

/* ========================================
   Register Page Header
   ======================================== */
.reg-header {
    padding: 32px 0 40px;
    clip-path: none;
}
.reg-header-change-link {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,255,255,0.4);
    transition: color .2s, border-color .2s;
}
.reg-header-change-link:hover {
    color: var(--brand-yellow);
    border-color: var(--brand-yellow);
}

/* Completed step line */
.kat-step-line-done {
    background: var(--brand-yellow) !important;
    opacity: 0.8;
}

/* ========================================
   Register Success Page
   ======================================== */
.success-card {
    border-radius: 20px;
    overflow: hidden;
}

.success-icon-wrap {
    position: relative;
    display: inline-block;
    width: 96px;
    height: 96px;
}
.success-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #e6f7ee;
    animation: success-pulse 2s ease-in-out infinite;
}
@keyframes success-pulse {
    0%,100% { transform: scale(1);   opacity: 1; }
    50%      { transform: scale(1.1); opacity: 0.6; }
}
.success-icon-check {
    position: relative;
    z-index: 1;
    font-size: 4.5rem;
    color: #27AE60;
    line-height: 96px;
}

.success-next-steps {
    background: #f8fafc;
    border-radius: 14px;
    padding: 18px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.success-step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #4a5568;
}
.success-step-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* ========================================
   Kategori Page
   ======================================== */
.kategori-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--brand-blue) 60%, #00b8ff 100%);
    padding: 48px 0 56px;
    text-align: center;
    color: #fff;
    clip-path: ellipse(110% 100% at 50% 0%);
}

.kat-step-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
}

.kat-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.kat-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: 2px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    transition: all .3s;
}

.kat-step.done .kat-step-circle {
    background: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.9);
    color: var(--brand-blue, #2563eb);
}

.kat-step.active .kat-step-circle {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #1a1a1a;
    box-shadow: 0 0 0 4px rgba(251,209,6,0.3);
}

.kat-step.active.done .kat-step-circle {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #1a1a1a;
    box-shadow: 0 0 0 4px rgba(251,209,6,0.3);
}

.kat-step-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.kat-step.active .kat-step-label {
    color: #fff;
    font-weight: 700;
}

.kat-step-line {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    margin: 0 8px;
    margin-bottom: 22px;
}

.kategori-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.kategori-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    max-width: 560px;
    margin: 0 auto;
}

/* Accordion wrapper */
.kategori-accordion {
    max-width: 960px;
    margin: 0 auto;
}

.kat-accordion-item {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Group header buttons */
.kat-group-btn {
    display: flex !important;
    align-items: center !important;
    gap: 16px;
    padding: 18px 24px !important;
    border: none !important;
    border-radius: 16px 16px 0 0 !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: none !important;
    background-size: 200% 100%;
    background-position: left center;
    transition: background-position .4s ease, box-shadow .3s;
}

.kat-group-btn:not(.collapsed) {
    background-position: right center;
}

.kat-group-btn::after {
    filter: brightness(10);
    margin-left: auto;
}

.kat-guru    { background-image: linear-gradient(120deg, #006B9F, #0090D4, #00b8ff); }
.kat-kepsek  { background-image: linear-gradient(120deg, #1a7a45, #27AE60, #2ecc71); }
.kat-pengawas{ background-image: linear-gradient(120deg, #6c2f9e, #8E44AD, #a855f7); }
.kat-tendik  { background-image: linear-gradient(120deg, #b55a10, #E67E22, #f97316); }

.kat-group-icon {
    font-size: 2rem;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kat-group-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kat-group-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.kat-group-count {
    font-size: 0.8rem;
    opacity: 0.85;
    font-weight: 400;
}

.kat-group-badge {
    margin-left: auto;
    margin-right: 12px;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    white-space: nowrap;
    display: none;
}

@media (min-width: 576px) {
    .kat-group-badge { display: inline; }
}

/* Accordion body */
.kat-body {
    background: #f8fafc;
    padding: 24px !important;
}

/* Sub-category cards */
.subkat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 12px 16px;
    background: #fff;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, border-color .25s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.subkat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 14px 14px 0 0;
    transition: height .25s;
}

.subkat-guru::before    { background: var(--kat-guru); }
.subkat-kepsek::before  { background: var(--kat-kepsek); }
.subkat-pengawas::before{ background: var(--kat-pengawas); }
.subkat-tendik::before  { background: var(--kat-tendik); }

.subkat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.subkat-guru:hover    { border-color: var(--kat-guru); }
.subkat-kepsek:hover  { border-color: var(--kat-kepsek); }
.subkat-pengawas:hover{ border-color: var(--kat-pengawas); }
.subkat-tendik:hover  { border-color: var(--kat-tendik); }

.subkat-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.subkat-guru .subkat-icon    { background: #e6f4fc; color: var(--kat-guru); }
.subkat-kepsek .subkat-icon  { background: #e6f7ee; color: var(--kat-kepsek); }
.subkat-pengawas .subkat-icon{ background: #f3ecfa; color: var(--kat-pengawas); }
.subkat-tendik .subkat-icon  { background: #fdf0e6; color: var(--kat-tendik); }

.subkat-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: #1a2a3a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.subkat-desc {
    font-size: 0.74rem;
    color: #7a8a9a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.subkat-arrow {
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .2s, transform .25s cubic-bezier(.34,1.56,.64,1);
}

.subkat-guru .subkat-arrow    { color: var(--kat-guru); }
.subkat-kepsek .subkat-arrow  { color: var(--kat-kepsek); }
.subkat-pengawas .subkat-arrow{ color: var(--kat-pengawas); }
.subkat-tendik .subkat-arrow  { color: var(--kat-tendik); }

.subkat-card:hover .subkat-arrow {
    opacity: 1;
    transform: translateX(0);
}

.subkat-wide {
    flex-direction: row;
    text-align: left;
    padding: 20px 24px;
    gap: 16px;
    align-items: flex-start;
}

.subkat-wide .subkat-icon { flex-shrink: 0; margin-bottom: 0; }
.subkat-wide .subkat-name { font-size: 0.95rem; }
.subkat-wide .subkat-desc { margin-bottom: 0; }
.subkat-wide .subkat-arrow { margin-left: auto; align-self: center; margin-bottom: 0; flex-shrink: 0; }

/* Category badge on Register page */
.kat-selected-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-left: 5px solid;
}

.kat-selected-banner .kat-change-link {
    margin-left: auto;
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0.8;
    text-decoration: none;
}

.kat-selected-banner .kat-change-link:hover { opacity: 1; text-decoration: underline; }

.kat-banner-guru     { background: #e6f4fc; color: #005580; border-color: var(--kat-guru); }
.kat-banner-kepsek   { background: #e6f7ee; color: #145a32; border-color: var(--kat-kepsek); }
.kat-banner-pengawas { background: #f3ecfa; color: #5b1f85; border-color: var(--kat-pengawas); }
.kat-banner-tendik   { background: #fdf0e6; color: #7e3600; border-color: var(--kat-tendik); }

/* ========================================
   Landing Page — Main Content Sections
   ======================================== */

/* ── Scroll Hint ── */
.lp-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.lp-scroll-arrow {
    font-size: 1.1rem;
    animation: lp-bounce 1.6s ease-in-out infinite;
}
@keyframes lp-bounce {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

/* ── Scroll Reveal base ── */
.lp-reveal,
.lp-reveal-right {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}
.lp-reveal-right {
    transform: translateX(36px);
}
.lp-reveal.lp-visible,
.lp-reveal-right.lp-visible {
    opacity: 1;
    transform: none;
}

/* ── Section base ── */
.lp-section {
    padding: 96px 0;
    position: relative;
}

.lp-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.lp-tag {
    display: inline-block;
    background: var(--light-blue);
    color: var(--dark-blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0,144,212,0.2);
}
.lp-tag-light {
    background: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.25);
}

.lp-section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1.25;
}
.lp-title-light { color: #fff; }

.lp-highlight {
    color: var(--brand-blue);
}

.lp-section-subtitle {
    font-size: 1rem;
    color: #6c7a89;
    line-height: 1.75;
    margin-top: 12px;
}
.lp-subtitle-light { color: rgba(255,255,255,0.8); }

.lp-body-text {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.8;
}

/* ── Buttons ── */
.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--brand-blue), var(--dark-blue));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,144,212,0.3);
    transition: transform .25s ease, box-shadow .25s ease;
}
.lp-btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0,144,212,0.4);
}
.lp-btn-primary.lp-btn-large {
    font-size: 1.1rem;
    padding: 16px 40px;
}

.lp-btn-outline {
    display: inline-flex;
    align-items: center;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 11px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all .25s ease;
}
.lp-btn-outline:hover {
    background: var(--brand-blue);
    color: #fff;
}

/* ── Wave dividers ── */
.lp-section-wave-top,
.lp-section-wave-bottom {
    position: absolute;
    left: 0; right: 0;
    height: 60px;
    pointer-events: none;
}
.lp-section-wave-top  { top: -1px; }
.lp-section-wave-bottom { bottom: -1px; }
.lp-section-wave-top::before,
.lp-section-wave-bottom::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: var(--wave-color, #fff);
    clip-path: ellipse(55% 100% at 50% 0%);
}
.lp-section-wave-bottom::before {
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.lp-about {
    background: #fff;
}

.lp-stats-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.lp-stat-item { text-align: center; }
.lp-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1;
}
.lp-stat-label {
    font-size: 0.8rem;
    color: #6c7a89;
    font-weight: 500;
    margin-top: 4px;
}
.lp-stat-divider {
    width: 1px;
    height: 40px;
    background: #dde3ea;
}

/* About visual orbit */
.lp-about-visual {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 380px;
    margin: 0 auto;
    will-change: transform;
}
.lp-about-center-logo {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 50%;
    width: 110px; height: 110px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px rgba(0,144,212,0.15);
    z-index: 2;
}
.lp-about-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
    min-width: 110px;
    animation: lp-orbit-float 4s ease-in-out infinite;
    border: 2px solid transparent;
    transition: transform .3s ease, box-shadow .3s ease;
}
.lp-about-card:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}
.lp-about-card i { font-size: 1.6rem; }

.lp-about-card-1 { top: 6%;  left: 0%;   border-color: rgba(0,144,212,.2);  animation-delay: 0s;    }
.lp-about-card-2 { top: 6%;  right: 0%;  border-color: rgba(39,174,96,.2);  animation-delay: 1s;    }
.lp-about-card-3 { bottom: 6%; left: 0%; border-color: rgba(142,68,173,.2); animation-delay: 2s;    }
.lp-about-card-4 { bottom: 6%; right: 0%;border-color: rgba(230,126,34,.2); animation-delay: 0.5s;  }

.lp-about-card-1 i { color: var(--kat-guru); }
.lp-about-card-2 i { color: var(--kat-kepsek); }
.lp-about-card-3 i { color: var(--kat-pengawas); }
.lp-about-card-4 i { color: var(--kat-tendik); }

@keyframes lp-orbit-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ============================================================
   CATEGORIES SECTION
   ============================================================ */
.lp-categories {
    background: #f0f7ff;
    padding-top: 120px;
    padding-bottom: 120px;
}

/* Override tag & titles for light bg */
.lp-categories .lp-tag-light {
    background: rgba(0,144,212,0.1);
    color: var(--dark-blue);
    border-color: rgba(0,144,212,0.2);
}
.lp-categories .lp-title-light  { color: var(--dark-gray); }
.lp-categories .lp-subtitle-light { color: #6c7a89; }

/* ============================================================
   FORM VALIDATION & CHARACTER COUNTER - MOBILE OPTIMIZED
   ============================================================ */

/* Character Counter - Base Styles */
.char-counter {
    display: block;
    font-size: 0.8rem;
    margin-top: 4px;
    line-height: 1.4;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.char-counter.text-muted {
    color: #6c757d;
    font-weight: 400;
}

.char-counter.text-danger {
    color: #dc3545;
}

.char-counter.fw-semibold {
    font-weight: 600;
}

/* Form Control - Enhanced Mobile */
.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    min-height: 44px; /* Mobile touch target */
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 144, 212, 0.25);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #198754;
    background-image: none;
}

.form-control.is-valid:focus,
.form-select.is-valid:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Textarea - Mobile Specific */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    max-height: 400px;
}

/* Validation Messages */
.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 4px;
    font-weight: 500;
}

.valid-feedback {
    display: block;
    color: #198754;
    font-size: 0.85rem;
    margin-top: 4px;
    font-weight: 500;
}

/* Form Label */
.form-label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    font-size: 0.95rem;
}

.form-label .text-danger {
    color: #dc3545;
    margin-left: 2px;
}

/* Form Text (Helper) */
.form-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 4px;
    display: block;
}

/* ── Mobile Specific Optimizations ── */
@media (max-width: 576px) {
    /* Stack form groups properly */
    .form-group,
    .mb-3 {
        margin-bottom: 1rem;
    }

    /* Larger touch targets on mobile */
    .form-control,
    .form-select,
    .btn {
        min-height: 48px;
        font-size: 1rem;
    }

    /* Bigger character counter on mobile */
    .char-counter {
        font-size: 0.85rem;
        margin-top: 6px;
        line-height: 1.5;
    }

    /* Make labels more readable */
    .form-label {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    /* Validation messages more visible */
    .invalid-feedback,
    .valid-feedback {
        font-size: 0.8rem;
        margin-top: 6px;
    }

    /* Form text more prominent */
    .form-text {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-top: 4px;
    }

    /* Alert boxes more readable */
    .alert {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    /* Textarea better for typing */
    textarea.form-control {
        min-height: 140px;
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Row column stacking */
    .row > [class*="col-"] {
        margin-bottom: 1rem;
    }

    /* Button sizing */
    .btn {
        padding: 12px 16px;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .btn-lg {
        padding: 14px 20px;
        font-size: 1rem;
    }

    /* Progress bar text sizing */
    .progress-bar {
        font-size: 0.75rem;
    }
}

/* ── Tablet Optimization ── */
@media (min-width: 577px) and (max-width: 768px) {
    .form-control,
    .form-select {
        min-height: 44px;
        font-size: 0.95rem;
    }

    .char-counter {
        font-size: 0.8rem;
    }

    textarea.form-control {
        min-height: 130px;
    }
}

/* ── Landscape Mobile ── */
@media (max-height: 500px) and (orientation: landscape) {
    textarea.form-control {
        min-height: 100px;
    }

    .form-control,
    .form-select {
        padding: 8px 12px;
    }

    .char-counter {
        font-size: 0.75rem;
        margin-top: 2px;
    }
}

/* ── Character Counter Warning Animation ── */
@keyframes pulse-warning {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.char-counter.text-danger {
    animation: pulse-warning 1.5s ease-in-out infinite;
}

/* ── Accessible Focus States ── */
.form-control:focus,
.form-select:focus,
.btn:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .form-control,
    .form-select {
        border-width: 2px;
    }

    .char-counter {
        font-weight: 600;
    }

    .invalid-feedback,
    .valid-feedback {
        font-weight: 600;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .form-control,
    .form-select,
    .char-counter,
    .invalid-feedback {
        transition: none !important;
    }

    .char-counter.text-danger {
        animation: none !important;
    }
}

.lp-cat-card {
    background: #fff;
    border: 1.5px solid #e2ecf5;
    border-radius: 20px;
    padding: 32px 24px;
    color: var(--dark-gray);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,144,212,0.07);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, border-color .3s;
    cursor: default;
}
.lp-cat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--cat-color);
    border-radius: 20px 20px 0 0;
}
.lp-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,144,212,0.14);
    border-color: var(--cat-color);
}
.lp-cat-icon {
    font-size: 2.2rem;
    width: 62px; height: 62px;
    background: color-mix(in srgb, var(--cat-color) 10%, white);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    color: var(--cat-color);
}
.lp-cat-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 8px;
}
.lp-cat-desc {
    font-size: 0.85rem;
    color: #6c7a89;
    line-height: 1.6;
    flex-grow: 1;
}
.lp-cat-count {
    display: inline-block;
    background: color-mix(in srgb, var(--cat-color) 10%, white);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.78rem;
    color: var(--cat-color);
    font-weight: 700;
    margin: 12px 0;
    border: 1px solid color-mix(in srgb, var(--cat-color) 25%, white);
}
.lp-cat-btn {
    display: inline-flex;
    align-items: center;
    color: var(--cat-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    padding: 8px 0;
    border-bottom: 1.5px solid color-mix(in srgb, var(--cat-color) 30%, transparent);
    transition: border-color .2s, gap .2s;
    gap: 4px;
    width: fit-content;
}
.lp-cat-btn:hover {
    border-color: var(--cat-color);
    gap: 10px;
}

/* ============================================================
   TIMELINE SECTION
   ============================================================ */
.lp-timeline-section {
    background: #fff;
}

.lp-timeline {
    position: relative;
    max-width: 720px;
    margin: 56px auto 0;
    padding-left: 0;
}
.lp-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-blue), var(--brand-yellow));
}
@media (min-width: 768px) {
    .lp-timeline::before { left: 32px; }
}

.lp-tl-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
    align-items: flex-start;
}
.lp-tl-item:last-child { margin-bottom: 0; }

.lp-tl-dot {
    flex-shrink: 0;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--tl-color);
    color: #fff;
    font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    position: relative;
    z-index: 1;
    transition: transform .3s ease, box-shadow .3s ease;
}
.lp-tl-item:hover .lp-tl-dot {
    transform: scale(1.12);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.lp-tl-content {
    background: #f8fafc;
    border-radius: 14px;
    padding: 18px 22px;
    flex-grow: 1;
    border-left: 3px solid var(--tl-color, var(--brand-blue));
    transition: box-shadow .3s ease;
}
.lp-tl-item:hover .lp-tl-content {
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.lp-tl-date {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-blue);
    margin-bottom: 4px;
}
.lp-tl-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark-gray);
    margin-bottom: 4px;
}
.lp-tl-desc {
    font-size: 0.875rem;
    color: #6c7a89;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   PRIZES SECTION
   ============================================================ */
.lp-prizes {
    background: linear-gradient(160deg, #003d5c 0%, #005a87 40%, var(--brand-blue) 100%);
    padding-top: 120px;
    padding-bottom: 120px;
}

.lp-prize-card {
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
}
.lp-prize-card:hover { transform: translateY(-8px); }

.lp-prize-gold {
    background: linear-gradient(160deg, #7B4F00, #C8860A, #F5C842);
    color: #fff;
    box-shadow: 0 16px 48px rgba(197,133,7,0.4);
}
.lp-prize-silver {
    background: linear-gradient(160deg, #4a4a5a, #6e7285, #9da3b4);
    color: #fff;
    box-shadow: 0 12px 32px rgba(80,80,100,0.3);
}
.lp-prize-bronze {
    background: linear-gradient(160deg, #5c3010, #8B4513, #CD7F32);
    color: #fff;
    box-shadow: 0 12px 32px rgba(90,52,16,0.3);
}

.lp-prize-featured {
    transform: scale(1.06);
    z-index: 2;
}
.lp-prize-featured:hover { transform: scale(1.06) translateY(-8px); }

.lp-prize-crown {
    position: absolute;
    top: -2px; left: 50%;
    transform: translateX(-50%);
    font-size: 1.4rem;
    color: var(--brand-yellow);
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.lp-prize-badge {
    position: absolute;
    top: 14px; right: -22px;
    background: var(--brand-yellow);
    color: #1a1a1a;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 28px;
    transform: rotate(45deg);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lp-prize-rank { font-size: 2.8rem; margin-bottom: 8px; }
.lp-prize-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.lp-prize-tier {
    font-size: 0.8rem;
    opacity: 0.75;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.lp-prize-perks {
    list-style: none;
    padding: 0; margin: 0;
    text-align: left;
}
.lp-prize-perks li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.lp-prize-perks li:last-child { border-bottom: none; }
.lp-prize-perks i { color: var(--brand-yellow); flex-shrink: 0; }

/* Extra awards */
.lp-extra-awards {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid rgba(255,255,255,0.12);
}
.lp-extra-title {
    color: var(--brand-yellow);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.lp-extra-card {
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background .2s, border-color .2s;
}
.lp-extra-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
}
.lp-extra-card i {
    color: var(--brand-yellow);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ============================================================
   TERMS SECTION
   ============================================================ */
.lp-terms-section {
    background: #fff;
}

.lp-terms-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.lp-term-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #eef1f4;
    align-items: flex-start;
}
.lp-term-item:first-child { padding-top: 0; }
.lp-term-item:last-child  { border-bottom: none; }

.lp-term-icon {
    flex-shrink: 0;
    width: 42px; height: 42px;
    background: var(--light-blue);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--brand-blue);
}
.lp-term-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-bottom: 3px;
}
.lp-term-item p {
    font-size: 0.855rem;
    color: #6c7a89;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   HOW TO JOIN SECTION
   ============================================================ */
.lp-howtojoin {
    background: linear-gradient(160deg, var(--dark-blue) 0%, #003d5c 100%);
    padding-top: 120px;
    padding-bottom: 96px;
}

.lp-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    position: relative;
}
@media (max-width: 767px) {
    .lp-steps-grid { grid-template-columns: 1fr; gap: 8px; }
}

.lp-step {
    padding: 32px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    position: relative;
    transition: background .3s, border-color .3s, transform .3s ease;
    margin: 6px;
}
.lp-step:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-6px);
}
.lp-step-connector {
    display: none;
}
@media (min-width: 768px) {
    .lp-step-connector {
        display: block;
        position: absolute;
        top: 52px;
        right: -20px;
        width: 20px; height: 2px;
        background: rgba(255,255,255,0.2);
        z-index: 1;
    }
}

.lp-step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    position: absolute;
    top: 12px; right: 16px;
}
.lp-step-icon {
    font-size: 2rem;
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    color: var(--brand-yellow);
    border: 2px solid rgba(255,255,255,0.12);
    transition: background .3s, border-color .3s;
}
.lp-step:hover .lp-step-icon {
    background: rgba(251,209,6,0.15);
    border-color: var(--brand-yellow);
}
.lp-step-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.lp-step-desc {
    font-size: 0.825rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 575px) {
    .lp-section      { padding: 64px 0; }
    .lp-about-visual { height: 280px; }
    .lp-timeline     { padding-left: 0; }
    .lp-prize-featured { transform: scale(1); }
    .lp-prize-featured:hover { transform: translateY(-6px); }
}

/* ── CekRegistrasi ────────────────────────────────────────────────── */
.cek-hero {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 60%, #2563eb 100%);
    padding: 3rem 0 2.5rem;
    color: white;
}
.cek-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.section-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6b7280;
    margin-bottom: .5rem;
}
.data-row {
    display: flex;
    gap: 1rem;
    padding: .55rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: .9rem;
}
.data-row:last-child { border-bottom: none; }
.data-key {
    min-width: 160px;
    color: #64748b;
    flex-shrink: 0;
}
.data-val { color: #1e293b; font-weight: 500; word-break: break-word; }
.doc-badge {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .3rem .7rem; border-radius: 20px; font-size: .78rem;
    font-weight: 600;
}
.doc-ok   { background: #dcfce7; color: #166534; }
.doc-miss { background: #fee2e2; color: #991b1b; }
.sosmed-link { font-size: .85rem; }

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — Apresiasi section (Pages/Index.cshtml)
   ═══════════════════════════════════════════════════════════ */
.lp-apres-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}
.lp-apres-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.lp-apres-featured { background: rgba(255,255,255,0.14); border-color: rgba(251,191,36,0.5); box-shadow: 0 8px 32px rgba(251,191,36,0.15); }
.lp-apres-crown {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24, #f59e0b); color: white;
    border-radius: 50px; padding: 3px 14px; font-size: .78rem; font-weight: 700;
    letter-spacing: .04em; white-space: nowrap;
}
.lp-apres-num {
    font-size: 3rem; font-weight: 900; line-height: 1; color: rgba(255,255,255,0.1);
    position: absolute; top: 1rem; right: 1.25rem; font-family: monospace;
}
.lp-apres-icon {
    width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; color: var(--apres-color, #fbbf24); margin-bottom: 1.25rem; flex-shrink: 0;
}
.lp-apres-title { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: .75rem; }
.lp-apres-desc { color: rgba(255,255,255,0.72); font-size: .88rem; line-height: 1.65; margin: 0; }
.lp-apres-desc strong { color: rgba(255,255,255,0.95); }
.lp-apres-quote { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; position: relative; }
.lp-apres-quote-icon { font-size: 2.5rem; color: rgba(251,191,36,0.4); display: block; margin-bottom: .5rem; }
.lp-apres-quote p { color: rgba(255,255,255,0.65); font-size: .95rem; font-style: italic; line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════
   PORTAL LOGIN PAGE (Pages/PortalLogin.cshtml)
   ═══════════════════════════════════════════════════════════ */
.portal-login-bg {
    min-height: 80vh; display: flex; align-items: center; justify-content: center;
    padding: 40px 16px; background: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 60%, #f0fdf4 100%);
}
.portal-login-wrap { width: 100%; max-width: 560px; }
.portal-login-brand { text-align: center; margin-bottom: 40px; }
.portal-login-logo { height: 64px; object-fit: contain; margin-bottom: 16px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.12)); }
.portal-login-title { font-size: 1.6rem; font-weight: 800; color: #0f172a; letter-spacing: -.02em; margin: 0 0 6px; }
.portal-login-subtitle { font-size: .88rem; color: #64748b; margin: 0; }
.portal-login-cards { display: flex; flex-direction: column; gap: 14px; }
.portal-entry-card {
    display: flex; align-items: center; gap: 18px; padding: 20px 22px;
    background: white; border: 1.5px solid #e2e8f0; border-radius: 16px;
    text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.portal-entry-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.10); text-decoration: none; }
.portal-entry-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.portal-entry-body { flex: 1; min-width: 0; }
.portal-entry-title { font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.portal-entry-desc { font-size: .8rem; color: #64748b; line-height: 1.4; }
.portal-entry-arrow { font-size: 1.4rem; opacity: .35; flex-shrink: 0; transition: opacity .18s, transform .18s; }
.portal-entry-card:hover .portal-entry-arrow { opacity: .8; transform: translateX(3px); }
.portal-entry-admin { border-color: #bfdbfe; }
.portal-entry-admin:hover { border-color: #2563eb; }
.portal-entry-admin .portal-entry-icon { background: #eff6ff; color: #2563eb; }
.portal-entry-admin .portal-entry-title { color: #1d4ed8; }
.portal-entry-admin .portal-entry-arrow { color: #2563eb; }
.portal-entry-team { border-color: #fde68a; }
.portal-entry-team:hover { border-color: #d97706; }
.portal-entry-team .portal-entry-icon { background: #fffbeb; color: #d97706; }
.portal-entry-team .portal-entry-title { color: #b45309; }
.portal-entry-team .portal-entry-arrow { color: #d97706; }
.portal-entry-judge { border-color: #e9d5ff; }
.portal-entry-judge:hover { border-color: #7c3aed; }
.portal-entry-judge .portal-entry-icon { background: #f5f3ff; color: #7c3aed; }
.portal-entry-judge .portal-entry-title { color: #6d28d9; }
.portal-entry-judge .portal-entry-arrow { color: #7c3aed; }
.portal-login-footer { text-align: center; margin-top: 32px; }
.portal-back-link { font-size: .85rem; color: #64748b; text-decoration: none; transition: color .15s; }
.portal-back-link:hover { color: #2563eb; }
@media (max-width: 480px) {
    .portal-login-title { font-size: 1.3rem; }
    .portal-entry-card { padding: 16px; gap: 14px; }
    .portal-entry-icon { width: 44px; height: 44px; font-size: 1.2rem; border-radius: 10px; }
    .portal-entry-title { font-size: .9rem; }
}

/* ═══════════════════════════════════════════════════════════
   JUDGE LAYOUT (Pages/Judge/_JudgeLayout.cshtml)
   ═══════════════════════════════════════════════════════════ */
:root {
    --judge-primary: #2563eb;
    --judge-primary-dark: #1d4ed8;
    --judge-primary-light: #dbeafe;
    --judge-sidebar-width: 260px;
}
body.judge-body { background-color: #f1f5f9; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; margin: 0; padding: 0; overflow-x: hidden; }
.judge-wrapper { min-height: 100vh; }
.judge-sidebar {
    width: var(--judge-sidebar-width); min-height: 100vh;
    background: linear-gradient(180deg, var(--judge-primary) 0%, var(--judge-primary-dark) 100%);
    position: fixed; top: 0; left: 0; z-index: 1000; display: flex; flex-direction: column; transition: transform 0.3s ease;
}
.judge-sidebar .sidebar-header { padding: 24px 20px 20px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.15); }
.judge-sidebar .sidebar-logo { width: 60px; height: 60px; object-fit: contain; border-radius: 12px; background: white; padding: 6px; margin-bottom: 12px; }
.judge-sidebar .sidebar-title { color: #fff; font-size: 1rem; font-weight: 700; margin: 0 0 2px; letter-spacing: 0.3px; }
.judge-sidebar .sidebar-subtitle { color: rgba(255,255,255,0.7); font-size: 0.75rem; margin: 0; }
.judge-sidebar .sidebar-nav { padding: 16px 12px; flex: 1; overflow-y: auto; }
.judge-sidebar .sidebar-section-title { color: rgba(255,255,255,0.5); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 8px 8px 4px; display: block; }
.judge-sidebar .nav-item {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 2px 0; border-radius: 8px;
    color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.875rem; font-weight: 500;
    transition: background 0.15s, color 0.15s; cursor: pointer; border: none; background: transparent; width: 100%; text-align: left;
}
.judge-sidebar .nav-item:hover { background: rgba(255,255,255,0.15); color: #fff; }
.judge-sidebar .nav-item.active { background: rgba(255,255,255,0.2); color: #fff; font-weight: 600; }
.judge-sidebar .nav-item i { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.judge-sidebar .nav-item.logout { color: rgba(255,180,180,0.9); }
.judge-sidebar .nav-item.logout:hover { background: rgba(220,38,38,0.25); color: #fca5a5; }
.judge-sidebar .nav-divider { height: 1px; background: rgba(255,255,255,0.15); margin: 10px 8px; }
.judge-content { margin-left: var(--judge-sidebar-width); min-height: 100vh; display: flex; flex-direction: column; width: calc(100% - var(--judge-sidebar-width)); overflow-x: hidden; }
.judge-header { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 900; box-shadow: 0 1px 3px rgba(0,0,0,0.07); }
.judge-header .header-left { display: flex; align-items: center; gap: 12px; }
.judge-header .btn-sidebar-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: #64748b; padding: 4px 8px; cursor: pointer; border-radius: 6px; line-height: 1; }
.judge-header .btn-sidebar-toggle:hover { background: #f1f5f9; color: var(--judge-primary); }
.judge-header .page-title { font-size: 1rem; font-weight: 600; color: #1e293b; }
.judge-header .judge-user { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: #64748b; font-weight: 500; }
.judge-header .judge-user i { font-size: 1.2rem; color: var(--judge-primary); }
.page-content { padding: 28px; flex: 1; overflow-x: auto; width: 100%; }
.page-content > * { max-width: 100%; }
.judge-footer { background: #fff; border-top: 1px solid #e2e8f0; padding: 14px 28px; text-align: center; font-size: 0.8rem; color: #94a3b8; }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999; }
.sidebar-overlay.show { display: block; }
@media (max-width: 991.98px) {
    .judge-sidebar { transform: translateX(-100%); }
    .judge-sidebar.show { transform: translateX(0); }
    .judge-content { margin-left: 0; }
    .judge-header .btn-sidebar-toggle { display: inline-flex; }
    .page-content { padding: 20px 16px; }
}

/* ═══════════════════════════════════════════════════════════
   PENGUMUMAN WAWANCARA (Pages/Pengumuman/Wawancara.cshtml)
   ═══════════════════════════════════════════════════════════ */
.wav-filter-pill {
    display: inline-block; padding: 0.35rem 1rem; border-radius: 2rem; font-size: 0.8rem; font-weight: 600;
    cursor: pointer; text-decoration: none; border: 1.5px solid #e2e8f0; transition: all 0.15s; color: #64748b; background: #f8fafc;
}
.wav-filter-pill:hover { border-color: #0090D4; color: #005a8e; background: #eff6ff; text-decoration: none; }
.wav-filter-pill.active { background: linear-gradient(90deg, #1e3a8a, #0090D4); color: #fff; border-color: transparent; }
.winner-table { border-collapse: collapse; width: auto; }
.winner-table tbody tr { border-bottom: 1px solid #f1f5f9; background: #fff; transition: background 0.12s; }
.winner-table tbody tr:last-child { border-bottom: none; }
.winner-table tbody tr:hover { background: #f8fafc; }
.winner-table tbody tr.rank-gold   { border-left: 3px solid #f59e0b; background: #fffdf0; }
.winner-table tbody tr.rank-silver { border-left: 3px solid #94a3b8; background: #fafbfc; }
.winner-table tbody tr.rank-bronze { border-left: 3px solid #f97316; background: #fffaf6; }
.winner-table tbody tr.rank-other  { border-left: 3px solid #cbd5e1; }
.winner-table td { padding: 0.85rem; vertical-align: middle; }
.winner-table td:first-child { padding-left: 1.25rem; }
.winner-table td:last-child { padding-right: 1.25rem; white-space: nowrap; }
.rank-badge { width: 44px; height: 44px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.badge-gold   { background: linear-gradient(135deg,#fbbf24,#f59e0b); color:#fff; box-shadow:0 3px 10px rgba(245,158,11,0.4); }
.badge-silver { background: linear-gradient(135deg,#94a3b8,#64748b); color:#fff; box-shadow:0 3px 8px rgba(100,116,139,0.3); }
.badge-bronze { background: linear-gradient(135deg,#f97316,#ea580c); color:#fff; box-shadow:0 3px 10px rgba(249,115,22,0.35); }
.badge-other  { background: #f1f5f9; color: #64748b; }
.rank-label { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 1px; color: #64748b; text-align: center; flex-shrink: 0; width: 56px; }
.winner-name { font-weight: 700; font-size: 0.95rem; color: #1e293b; line-height: 1.3; }
.winner-name.gold-text   { color: #d97706; }
.winner-name.silver-text { color: #64748b; }
.winner-name.bronze-text { color: #ea580c; }
.winner-school { font-size: 0.78rem; color: #94a3b8; margin-top: 2px; }
.winner-city { font-size: 0.73rem; color: #475569; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 0.2rem 0.65rem; white-space: nowrap; }
.sparkle { animation: sparkle-anim 2s ease-in-out infinite alternate; }
@keyframes sparkle-anim {
    from { opacity: 0.8; transform: scale(1); }
    to   { opacity: 1;   transform: scale(1.06); }
}
.congrats-banner-gold { background: linear-gradient(135deg, #1e3a8a, #0090D4); border-radius: 0.85rem; color: #fff; padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; position: relative; overflow: hidden; }
.congrats-banner-gold::after { content: "🏆"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 3rem; opacity: 0.12; pointer-events: none; }
.card-header-blue { background: linear-gradient(90deg,#1e3a8a,#0090D4); color: #fff; padding: 0.9rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }

/* ═══════════════════════════════════════════════════════════
   PENGUMUMAN SUBSTANSI (Pages/Pengumuman/Substansi.cshtml)
   ═══════════════════════════════════════════════════════════ */
.subst-filter-pill {
    display: inline-block; padding: 0.35rem 1rem; border-radius: 2rem; font-size: 0.8rem; font-weight: 600;
    cursor: pointer; text-decoration: none; border: 1.5px solid #e2e8f0; transition: all 0.15s; color: #64748b; background: #f8fafc;
}
.subst-filter-pill:hover { border-color: #0090D4; color: #005a8e; background: #eff6ff; text-decoration: none; }
.subst-filter-pill.active { background: linear-gradient(90deg, #1e3a8a, #0090D4); color: #fff; border-color: transparent; }
.result-table { border-collapse: collapse; width: auto; }
.result-table tbody tr { border-bottom: 1px solid #f1f5f9; background: #fff; transition: background 0.12s; }
.result-table tbody tr:last-child { border-bottom: none; }
.result-table tbody tr:hover { background: #f8fafc; }
.result-table tbody tr.top1 { border-left: 3px solid #f59e0b; background: #fffdf0; }
.result-table tbody tr.top2 { border-left: 3px solid #94a3b8; background: #fafbfc; }
.result-table tbody tr.top3 { border-left: 3px solid #f97316; background: #fffaf6; }
.result-table td { padding: 0.7rem 0.85rem; vertical-align: middle; }
.result-table td:first-child { padding-left: 1.25rem; }
.result-table td:last-child { padding-right: 1.25rem; white-space: nowrap; }
.result-name { font-weight: 600; font-size: 0.92rem; color: #1e293b; line-height: 1.3; }
.result-school { font-size: 0.78rem; color: #94a3b8; margin-top: 1px; }
.result-city { font-size: 0.73rem; color: #475569; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 0.2rem 0.65rem; white-space: nowrap; }
.congrats-banner { background: linear-gradient(135deg, #1e3a8a, #0090D4); border-radius: 0.85rem; color: #fff; padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; position: relative; overflow: hidden; }
.congrats-banner::after { content: "🎉"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 2.5rem; opacity: 0.15; pointer-events: none; }

/* ═══════════════════════════════════════════════════════════
   ADMIN TEAM REVIEW DETAIL (Pages/AdminTeam/Review/Detail.cshtml)
   ═══════════════════════════════════════════════════════════ */
.at-detail-card { background: white; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 1px 4px rgba(0,0,0,.06); overflow: hidden; }
.at-detail-header { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.25rem; border-bottom: 1px solid #f1f5f9; font-weight: 700; font-size: .88rem; color: var(--at-section-color, var(--portal-primary)); background: #fafbfc; border-radius: 12px 12px 0 0; }
.at-detail-badge { margin-left: auto; font-size: .72rem; font-weight: 600; padding: 2px 10px; border-radius: 50px; background: var(--portal-primary-light); color: var(--portal-primary); }
.at-detail-body { padding: .25rem 0; }
.at-detail-field { display: grid; grid-template-columns: 170px 1fr; gap: .5rem 1rem; padding: .6rem 1.25rem; border-bottom: 1px solid #f8fafc; align-items: baseline; font-size: .875rem; }
.at-detail-label { color: #64748b; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.at-detail-value { color: #1e293b; }
@media (max-width: 576px) {
    .at-detail-field { grid-template-columns: 1fr; gap: .15rem; }
    .at-detail-label { font-size: .7rem; }
}

/* ═══════════════════════════════════════════════════════════
   JUDGE LOGIN (Pages/Judge/Login.cshtml) — scoped to body.judge-login-page
   ═══════════════════════════════════════════════════════════ */
body.judge-login-page { min-height: 100vh; margin: 0; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%); display: flex; align-items: center; justify-content: center; padding: 20px; }
body.judge-login-page .login-wrapper { width: 100%; max-width: 440px; }
body.judge-login-page .login-card { background: #fff; border-radius: 20px; box-shadow: 0 25px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.1); overflow: hidden; }
body.judge-login-page .login-header { background: linear-gradient(135deg, #1e40af, #2563eb); padding: 36px 32px 28px; text-align: center; }
body.judge-login-page .login-header .logo-wrap { width: 72px; height: 72px; background: rgba(255,255,255,0.15); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; border: 2px solid rgba(255,255,255,0.25); }
body.judge-login-page .login-header .logo-wrap img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: white; padding: 4px; }
body.judge-login-page .login-header h4 { color: #fff; font-weight: 700; font-size: 1.1rem; margin: 0 0 6px; letter-spacing: 0.3px; }
body.judge-login-page .login-header p { color: rgba(255,255,255,0.75); font-size: 0.8rem; margin: 0; }
body.judge-login-page .login-body { padding: 32px; }
body.judge-login-page .form-label { font-size: 0.85rem; font-weight: 600; color: #374151; margin-bottom: 6px; }
body.judge-login-page .input-group-text { background: #f1f5f9; border-color: #d1d5db; color: #6b7280; }
body.judge-login-page .form-control { border-color: #d1d5db; font-size: 0.9rem; padding: 10px 14px; }
body.judge-login-page .form-control:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
body.judge-login-page .btn-login { background: linear-gradient(135deg, #2563eb, #1d4ed8); border: none; color: white; font-weight: 600; font-size: 0.95rem; padding: 12px; border-radius: 10px; width: 100%; cursor: pointer; transition: opacity 0.2s, transform 0.1s; display: flex; align-items: center; justify-content: center; gap: 8px; }
body.judge-login-page .btn-login:hover { opacity: 0.92; transform: translateY(-1px); }
body.judge-login-page .btn-login:active { transform: translateY(0); }
body.judge-login-page .alert-danger { background: #fef2f2; border-color: #fca5a5; color: #991b1b; border-radius: 10px; font-size: 0.875rem; }
body.judge-login-page .login-footer { text-align: center; padding: 0 32px 24px; font-size: 0.78rem; color: #94a3b8; }
body.judge-login-page .password-toggle { cursor: pointer; background: #f1f5f9; border-color: #d1d5db; border-left: none; color: #6b7280; }
body.judge-login-page .password-toggle:hover { background: #e2e8f0; }

/* ═══════════════════════════════════════════════════════════
   JUDGE PERINGKAT — shared ranking pages
   ═══════════════════════════════════════════════════════════ */
.cat-pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.9rem; border-radius: 2rem; font-size: 0.8rem; font-weight: 600; cursor: pointer; text-decoration: none; border: 1.5px solid #e2e8f0; transition: all 0.15s; color: #64748b; background: #fff; white-space: nowrap; }
.cat-pill:hover { border-color: #2563eb; color: #2563eb; text-decoration: none; }
.cat-pill.active { background: #2563eb; color: #fff; border-color: transparent; }
.cat-pill .stage-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); flex-shrink: 0; }
.cat-pill.active .stage-dot { background: rgba(255,255,255,0.7); }
.cat-pill:not(.active) .stage-dot { background: #94a3b8; }
.stage-tab { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 1.1rem; border-radius: 2rem; font-size: 0.82rem; font-weight: 700; text-decoration: none; border: 2px solid #e2e8f0; transition: all 0.15s; color: #64748b; background: #fff; }
.stage-tab:hover { text-decoration: none; }
.stage-tab.active { background: #2563eb; color: #fff; border-color: transparent; }
.stage-tab.inactive-waw { border-color: #fde68a; color: #b45309; background: #fffbeb; }
.stage-tab.inactive-waw:hover { border-color: #f59e0b; color: #92400e; }
.stage-tab.inactive-subst { border-color: #bfdbfe; color: #1d4ed8; background: #eff6ff; }
.stage-tab.inactive-subst:hover { border-color: #2563eb; color: #1d4ed8; }
/* Wawancara peringkat — amber overrides */
.waw-pgrk .stage-tab.active { background: #d97706; color: #fff; border-color: transparent; }
.waw-pgrk .cat-pill:hover { border-color: #d97706; color: #d97706; }
.waw-pgrk .cat-pill.active { background: #d97706; }
.waw-pgrk .score-mine { color: #d97706; }
.waw-pgrk .search-box:focus { border-color: #d97706; }
.rank-table { font-size: 0.83rem; }
.rank-table thead th { background: #f8fafc; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #64748b; padding: 0.55rem 0.75rem; border-bottom: 2px solid #e2e8f0; white-space: nowrap; position: sticky; top: 0; z-index: 1; }
.rank-table tbody td { padding: 0.55rem 0.75rem; vertical-align: middle; border-color: #f1f5f9; }
.rank-table tbody tr:hover td { background: #f8fafc; }
.rank-table tbody tr.row-top10 td { background: #f0fdf4; }
.rank-table tbody tr.row-top5 td { background: #fffbeb; }
.rank-table tbody tr.row-tidaklolos td { background: #fff1f2; }
.rank-table tbody tr.row-unscored td { background: #fafafa; color: #94a3b8; }
.rank-num { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 700; flex-shrink: 0; }
.rn-gold   { background: linear-gradient(135deg,#fbbf24,#f59e0b); color:#fff; box-shadow:0 2px 6px rgba(245,158,11,0.4); }
.rn-silver { background: linear-gradient(135deg,#94a3b8,#64748b); color:#fff; }
.rn-bronze { background: linear-gradient(135deg,#f97316,#ea580c); color:#fff; }
.rn-normal { background: #e2e8f0; color: #475569; }
.rn-unscored { background: #f1f5f9; color: #cbd5e1; }
.p-name { font-weight: 600; color: #1e293b; line-height: 1.3; }
.p-school { font-size: 0.75rem; color: #94a3b8; }
.score-cell { font-variant-numeric: tabular-nums; font-weight: 600; color: #1e293b; }
.score-mine { color: #2563eb; }
.score-na { color: #cbd5e1; font-weight: 400; }
.badge-lolos    { background: #dcfce7; color: #16a34a; font-size:.72rem; padding:.2rem .6rem; border-radius:1rem; font-weight:600; white-space:nowrap; }
.badge-terbaik  { background: #fef9c3; color: #a16207; font-size:.72rem; padding:.2rem .6rem; border-radius:1rem; font-weight:700; white-space:nowrap; }
.badge-lolos-w  { background: #dbeafe; color: #1d4ed8; font-size:.72rem; padding:.2rem .6rem; border-radius:1rem; font-weight:600; white-space:nowrap; }
.badge-belum    { background: #f1f5f9; color: #94a3b8; font-size:.72rem; padding:.2rem .6rem; border-radius:1rem; font-weight:500; white-space:nowrap; }
.badge-tidaklolos { background: #fee2e2; color: #dc2626; font-size:.72rem; padding:.2rem .6rem; border-radius:1rem; font-weight:600; white-space:nowrap; }
.section-card { border: 1px solid #e2e8f0; border-radius: 0.75rem; overflow: hidden; margin-bottom: 1.5rem; }
.section-header { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; background: #f8fafc; border-bottom: 1px solid #e2e8f0; cursor: pointer; }
.section-header:hover { background: #f1f5f9; }
.section-title { font-size: 0.9rem; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 0.5rem; }
.table-wrapper { max-height: 520px; overflow-y: auto; }
.search-box { border: 1.5px solid #e2e8f0; border-radius: 0.5rem; padding: 0.35rem 0.75rem 0.35rem 2rem; font-size: 0.83rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.099zm-5.242 1.156a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11z'/%3E%3C/svg%3E") no-repeat 0.6rem center; outline: none; width: 200px; transition: border-color .15s; }
.search-box:focus { border-color: #2563eb; }
.legend-item { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; color: #64748b; }

/* ═══════════════════════════════════════════════════════════
   REGISTER PERSIAPAN (Pages/Register/Persiapan.cshtml)
   ═══════════════════════════════════════════════════════════ */
.persiapan-doc-list { padding: 0; }
.persiapan-doc-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid #f1f5f9; }
.persiapan-doc-num { width: 28px; height: 28px; border-radius: 50%; background: #dbeafe; color: #1e40af; font-weight: 700; font-size: .78rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.persiapan-doc-badge { font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; white-space: nowrap; flex-shrink: 0; margin-top: 3px; }
.persiapan-doc-badge.wajib { background: #fee2e2; color: #dc2626; }
.persiapan-doc-badge.opsional { background: #d1fae5; color: #059669; }
.persiapan-check-item { display: flex; align-items: flex-start; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid #f1f5f9; cursor: pointer; font-size: .9rem; color: #374151; width: 100%; }
.persiapan-check-item input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: #2563eb; cursor: pointer; }
.kat-step.done .kat-step-circle { background: #16a34a; color: #fff; }
.kat-step-line-done { background: #16a34a; opacity: 0.5; }
#btnLanjut.disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }
#btnLanjut:not(.disabled) { opacity: 1; cursor: pointer; pointer-events: auto; }

/* ═══════════════════════════════════════════════════════════
   ADMIN DETAIL (Pages/Admin/Detail.cshtml)
   ═══════════════════════════════════════════════════════════ */
.detail-section-header { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.25rem; border-bottom: 1px solid #f1f5f9; font-weight: 700; font-size: .88rem; color: var(--section-color, #2563eb); background: #fafbfc; border-radius: 12px 12px 0 0; letter-spacing: .01em; }
.detail-section-header i { font-size: 1rem; }
.detail-section-badge { margin-left: auto; font-size: .72rem; font-weight: 600; padding: 2px 10px; border-radius: 50px; background: #eff6ff; color: #2563eb; }
.detail-body { padding: .25rem 0; }
.detail-field { display: grid; grid-template-columns: 180px 1fr; gap: .5rem 1rem; padding: .65rem 1.25rem; border-bottom: 1px solid #f8fafc; align-items: baseline; font-size: .875rem; }
.detail-label { color: #64748b; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.detail-value { color: #1e293b; }
@media (max-width: 576px) {
    .detail-field { grid-template-columns: 1fr; gap: .15rem; }
    .detail-label { font-size: .72rem; }
}
.social-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 50px; border: 1.5px solid var(--sp-color); color: var(--sp-color); background: var(--sp-bg); font-size: .83rem; font-weight: 600; text-decoration: none; transition: filter .15s; }
.social-pill:hover { filter: brightness(.92); color: var(--sp-color); }
.social-pill i { font-size: .95rem; }

/* ═══════════════════════════════════════════════════════════
   ADMIN HASIL PLENO (Pages/Admin/HasilPleno/Index.cshtml)
   ═══════════════════════════════════════════════════════════ */
.hp-page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.25rem; gap: 1rem; flex-wrap: wrap; }
.hp-stats { display: flex; gap: .75rem; flex-wrap: wrap; }
.hp-stat { display: flex; align-items: center; gap: .6rem; background: white; border: 1px solid #e2e8f0; border-radius: 10px; padding: .6rem 1rem; font-size: .83rem; }
.hp-stat-icon { font-size: 1.1rem; }
.hp-stat-val  { font-size: 1.15rem; font-weight: 800; }
.hp-stat-lbl  { color: #94a3b8; font-size: .75rem; }
.hp-tabs { display: flex; gap: 0; background: #f1f5f9; border-radius: 10px; padding: 4px; margin-bottom: 1.25rem; width: fit-content; }
.hp-tab { display: flex; align-items: center; gap: .5rem; padding: .55rem 1.25rem; border-radius: 7px; cursor: pointer; font-size: .85rem; font-weight: 600; color: #64748b; border: none; background: transparent; transition: all .18s; text-decoration: none; }
.hp-tab.active { background: white; color: #1e293b; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.hp-tab .hp-tab-badge { font-size: .7rem; font-weight: 700; padding: 1px 7px; border-radius: 20px; background: #e2e8f0; color: #64748b; }
.hp-tab.active .hp-tab-badge.badge-all  { background: #dcfce7; color: #16a34a; }
.hp-tab.active .hp-tab-badge.badge-part { background: #fef3c7; color: #92400e; }
.hp-grid { display: grid; gap: .6rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1200px) { .hp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .hp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px)  { .hp-grid { grid-template-columns: 1fr; } }
.hp-cell { background: white; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; transition: box-shadow .15s; }
.hp-cell:hover { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.hp-cell.state-done    { border-color: #bbf7d0; }
.hp-cell.state-partial { border-color: #fde68a; }
.hp-cell.state-empty   { border-color: #e2e8f0; }
.hp-cell-header { display: flex; align-items: center; justify-content: space-between; padding: .65rem .85rem; cursor: pointer; gap: .5rem; user-select: none; }
.hp-cell.state-done    .hp-cell-header { background: #f0fdf4; }
.hp-cell.state-partial .hp-cell-header { background: #fffbeb; }
.hp-cell.state-empty   .hp-cell-header { background: #fafafa; }
.hp-cell-name { font-weight: 700; font-size: .82rem; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.hp-cell-cat  { font-size: .68rem; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-badge { font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.hp-badge-done    { background: #dcfce7; color: #16a34a; }
.hp-badge-partial { background: #fef3c7; color: #92400e; }
.hp-badge-empty   { background: #f1f5f9; color: #94a3b8; }
.hp-cell-progress { display: flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-top: 1px solid rgba(0,0,0,.04); flex-wrap: wrap; }
.hp-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.hp-dot-done    { background: #22c55e; }
.hp-dot-pending { background: #d1d5db; }
.hp-progress-label { font-size: .7rem; color: #94a3b8; margin-left: auto; white-space: nowrap; }
.hp-cell-body { border-top: 1px solid #f1f5f9; }
.hp-judge-row { display: flex; align-items: center; gap: .6rem; padding: .4rem .85rem; border-bottom: 1px solid #f8fafc; font-size: .78rem; }
.hp-judge-row:last-child { border-bottom: none; }
.hp-judge-row.finalized { background: #f9fefb; }
.hp-judge-name { font-weight: 600; color: #374151; flex: 1; }
.hp-judge-time { font-size: .68rem; color: #94a3b8; white-space: nowrap; }
.hp-cancel-btn { font-size: .68rem; padding: 1px 6px; border: 1px solid #fecaca; border-radius: 5px; background: #fff8f8; color: #dc2626; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.hp-cancel-btn:hover { background: #fee2e2; }
.hp-chevron { font-size: .72rem; color: #94a3b8; transition: transform .2s; flex-shrink: 0; }
.hp-cell-header[aria-expanded="true"] .hp-chevron { transform: rotate(180deg); }
.hp-empty { grid-column: 1 / -1; text-align: center; padding: 2.5rem 1rem; color: #94a3b8; font-size: .88rem; }

/* ═══════════════════════════════════════════════════════════
   JUDGE ASSIGNMENT MODAL (Pages/Admin/JudgeAssignment/Index.cshtml)
   ═══════════════════════════════════════════════════════════ */
.judge-pick-item { display: flex; align-items: center; gap: .75rem; padding: .6rem 1rem; cursor: pointer; border-bottom: 1px solid #f1f5f9; transition: background .12s; }
.judge-pick-item:last-child { border-bottom: none; }
.judge-pick-item:hover { background: #f8fafc; }
.judge-pick-item:has(.judge-pick-check:checked) { background: #eff6ff; }
.judge-pick-check { flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; }
.judge-pick-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; font-weight: 700; font-size: .75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.judge-pick-item.hidden { display: none; }

/* ═══════════════════════════════════════════════════════════
   INTERVIEW SCHEDULE (Pages/Admin/InterviewSchedule/Index.cshtml)
   ═══════════════════════════════════════════════════════════ */
.is-container { display: flex; gap: 1.5rem; max-width: 1400px; margin: 0 auto; }
.is-sidebar { width: 280px; flex-shrink: 0; position: sticky; top: 1rem; align-self: flex-start; max-height: calc(100vh - 2rem); overflow-y: auto; }
.is-subcat-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1rem; border-radius: 0.6rem; cursor: pointer; text-decoration: none; transition: background 0.15s; color: #374151; font-size: 0.83rem; font-weight: 500; margin-bottom: 2px; }
.is-subcat-item:hover { background: #f1f5f9; text-decoration: none; color: #1e293b; }
.is-subcat-item.active { background: var(--portal-primary-light); color: var(--portal-primary); font-weight: 700; }
.is-subcat-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.is-subcat-dot.none     { background: #e2e8f0; }
.is-subcat-dot.partial  { background: #f59e0b; }
.is-subcat-dot.complete { background: #16a34a; }
.is-subcat-dot.emailed  { background: #2563eb; }
.is-main { flex: 1; min-width: 0; }
.quickfill-bar { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 0.75rem; padding: 1rem 1.25rem; margin-bottom: 1rem; }
.sched-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; color: #64748b; background: #f8fafc; }
.sched-table td { vertical-align: middle; padding: 0.6rem 0.75rem; }
.sched-table .form-control, .sched-table .form-control-sm { font-size: .85rem; }
.sched-row-complete { background: #f0fdf4; }
.sched-row-partial  { background: #fffbeb; }
.badge-emailed  { background: #dbeafe; color: #1d4ed8; font-size: .7rem; }
.badge-complete { background: #dcfce7; color: #166534; font-size: .7rem; }
.badge-partial  { background: #fef3c7; color: #92400e; font-size: .7rem; }
.badge-empty    { background: #f1f5f9; color: #64748b;  font-size: .7rem; }
@media (max-width: 768px) {
    .is-container { flex-direction: column; }
    .is-sidebar { width: 100%; position: static; max-height: 200px; }
}
