/**
 * ============================================================================
 * STYLESHEET UTAMA & SISTEM DESAIN (assets/css/style.css)
 * Sistem Pengaduan "SAHABAT BEM POLINEF" - Politeknik Negeri Fakfak
 * Konsep: "Modern Campus Protection & Safe Reporting"
 * ============================================================================
 */

:root {
    --navy-950: #04101e;
    --navy-900: #071a2e;
    --navy-800: #0a2540;
    --navy-700: #12385e;
    --navy-600: #1b4b7c;
    --blue-700: #1e40af;
    --blue-600: #1d4ed8;
    --blue-500: #2563eb;
    --blue-400: #3b82f6;
    --blue-300: #60a5fa;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --white: #ffffff;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --red-700: #b91c1c;
    --red-600: #dc2626;
    --red-100: #fee2e2;
    --red-50: #fef2f2;
    --green-700: #15803d;
    --green-600: #16a34a;
    --green-100: #dcfce7;
    --green-50: #f0fdf4;
    --amber-700: #b45309;
    --amber-100: #fef3c7;
    --amber-50: #fffbeb;
    --orange-700: #c2410c;
    --orange-100: #ffedd5;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --shadow-xs: 0 1px 3px rgba(10, 37, 64, 0.06);
    --shadow-sm: 0 4px 12px rgba(10, 37, 64, 0.06);
    --shadow-md: 0 12px 28px -4px rgba(10, 37, 64, 0.08), 0 4px 10px -2px rgba(10, 37, 64, 0.04);
    --shadow-lg: 0 20px 40px -8px rgba(10, 37, 64, 0.14), 0 8px 16px -4px rgba(10, 37, 64, 0.06);
}

/* ----------------------------------------------------------------------------
 * 1. RESET, BASE TYPOGRAPHY & OFFLINE-SAFE LAYOUT FALLBACKS
 * ---------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-y: scroll;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    background-color: var(--slate-50);
    color: var(--slate-800);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--navy-800);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-top: 0;
}

a {
    color: var(--blue-600);
    text-decoration: none;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

code {
    font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
    background: var(--slate-100);
    color: var(--navy-800);
    padding: 0.18rem 0.45rem;
    border-radius: 6px;
    font-size: 0.88em;
    font-weight: 600;
}

/* Offline-safe fallback layer (lower priority than Bootstrap 5 when CDN is active) */
@layer fallback {
    .container {
        width: 100%;
        max-width: 1240px;
        margin-right: auto;
        margin-left: auto;
        padding-right: 1rem;
        padding-left: 1rem;
    }
    .row {
        display: flex;
        flex-wrap: wrap;
        margin-right: -0.5rem;
        margin-left: -0.5rem;
    }
    .row > * {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
        width: 100%;
    }
    .d-none { display: none; }
    .d-block { display: block; }
    .d-flex { display: flex; }
    .d-inline-flex { display: inline-flex; }
}

/* ----------------------------------------------------------------------------
 * 2. TOP INSTITUTIONAL BAR & MODERN NAVBAR
 * ---------------------------------------------------------------------------- */
.top-institusi-bar {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    padding: 0.38rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
}

@media (min-width: 992px) {
    .top-institusi-bar {
        display: block;
    }
}

.top-institusi-bar .top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1280px;
}

.institusi-logos-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.institusi-logos-inline img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 50%;
    padding: 2px;
}

/* NAVBAR UTAMA & ADMIN */
.navbar-sahabat {
    background: linear-gradient(90deg, #061527 0%, #0a2540 55%, #0f3156 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(147, 197, 253, 0.16);
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 20px rgba(4, 16, 30, 0.24);
}

.navbar-sahabat > .container {
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.navbar-brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none !important;
    padding: 0.15rem 0;
    flex-shrink: 0;
}

.navbar-brand-logo-group {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    background: #ffffff;
    padding: 0.22rem 0.48rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    border: 1.5px solid rgba(147, 197, 253, 0.65);
    flex-shrink: 0;
}

.navbar-brand-logo-group img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.navbar-brand-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 0.94rem;
    line-height: 1.15;
    margin: 0;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.navbar-brand-subtitle {
    color: #93c5fd;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    display: block;
    white-space: nowrap;
    margin-top: 2px;
}

.navbar-sahabat .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0.65rem;
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

.navbar-sahabat .navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.15);
}

.navbar-sahabat .navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-sahabat .nav-item {
    display: flex;
    align-items: center;
}

.navbar-sahabat .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.44rem 0.76rem !important;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    white-space: nowrap;
    transition: all 0.18s ease;
    text-decoration: none !important;
    border: 1px solid transparent;
}

.navbar-sahabat .nav-link i {
    font-size: 0.92rem;
    color: #93c5fd;
    transition: color 0.18s ease;
}

.navbar-sahabat .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-sahabat .nav-link:hover i,
.navbar-sahabat .nav-link.active i {
    color: #ffffff;
}

.navbar-sahabat .nav-link.active {
    color: #ffffff !important;
    background: rgba(37, 99, 235, 0.4);
    border-color: rgba(147, 197, 253, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.navbar-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.18);
    margin: 0 0.35rem;
    display: inline-block;
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 0.46rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.38);
    transition: all 0.2s ease;
}

.btn-nav-cta:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5);
}

.admin-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(147, 197, 253, 0.24);
    color: #f1f5f9;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    max-width: 220px;
}

.admin-user-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-nav-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(220, 38, 38, 0.18);
    border: 1px solid rgba(252, 165, 165, 0.4);
    color: #fecaca !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-nav-logout:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff !important;
}

/* Mobile & Tablet Navbar Collapse (< 992px) */
@media (max-width: 991.98px) {
    .navbar-sahabat > .container {
        flex-wrap: wrap;
    }

    .navbar-sahabat .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        background: rgba(6, 21, 39, 0.98);
        border: 1px solid rgba(147, 197, 253, 0.18);
        border-radius: 14px;
        margin-top: 0.65rem;
        padding: 0.85rem;
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
    }

    .navbar-sahabat .navbar-nav {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.35rem !important;
        width: 100%;
    }

    .navbar-sahabat .nav-item {
        width: 100%;
    }

    .navbar-sahabat .nav-link {
        padding: 0.6rem 0.95rem !important;
        border-radius: 10px;
        width: 100%;
    }

    .navbar-sahabat .btn-nav-cta,
    .navbar-sahabat .btn-nav-logout,
    .navbar-sahabat .admin-user-pill {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        margin-top: 0.25rem;
    }
}

/* Desktop Single-Line Navbar (>= 992px) */
@media (min-width: 992px) {
    .navbar-sahabat > .container {
        flex-wrap: nowrap !important;
    }

    .navbar-sahabat .navbar-toggler {
        display: none !important;
    }

    .navbar-sahabat .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        flex-grow: 1;
        justify-content: flex-end;
        align-items: center;
        margin-top: 0 !important;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .navbar-sahabat .navbar-nav {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.25rem !important;
        margin-left: auto !important;
        margin-top: 0 !important;
    }
}

/* Compact Laptop Adjustment (992px - 1199px) so links never wrap */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-brand-title {
        font-size: 0.86rem;
    }
    .navbar-brand-subtitle {
        font-size: 0.6rem;
    }
    .navbar-sahabat .nav-link {
        font-size: 0.79rem;
        padding: 0.38rem 0.58rem !important;
        gap: 0.28rem;
    }
    .btn-nav-cta {
        font-size: 0.79rem;
        padding: 0.4rem 0.82rem;
    }
}

/* ----------------------------------------------------------------------------
 * 3. HERO SECTION & INSTITUTIONAL 4-LOGO SHOWCASE
 * ---------------------------------------------------------------------------- */
.hero-sahabat {
    background:
        radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.20) 0%, transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(37, 99, 235, 0.28) 0%, transparent 50%),
        linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
    color: #ffffff;
    padding: 3.5rem 0 4.25rem;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--blue-500);
}

.official-logos-bar {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.98);
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    margin-bottom: 1.2rem;
    border: 1.5px solid rgba(147, 197, 253, 0.5);
}

.official-logos-bar .logo-item {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.official-logos-bar .logo-divider {
    width: 1px;
    height: 26px;
    background: var(--slate-200);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #e0f2fe;
    padding: 0.38rem 0.95rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.hero-title {
    color: #ffffff;
    font-size: clamp(2rem, 4.2vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.hero-tagline {
    color: #93c5fd;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 600;
    margin-bottom: 1.35rem;
}

.hero-quote-box {
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-left: 4px solid #38bdf8;
    padding: 1.15rem 1.4rem;
    border-radius: 0 14px 14px 0;
    margin: 0 0 1.75rem 0;
    font-size: 1.05rem;
    color: #f8fafc;
    font-weight: 500;
}

.hero-trust-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl);
    padding: 1.85rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.hero-trust-card .trust-logo-circle {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    padding: 4px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ----------------------------------------------------------------------------
 * 4. BUTTONS
 * ---------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1.5px solid transparent;
    padding: 0.68rem 1.25rem;
    font-size: 0.94rem;
    border-radius: 11px;
    transition: all 0.2s ease;
}

.btn-sm {
    padding: 0.45rem 0.95rem;
    font-size: 0.84rem;
    border-radius: 9px;
}

.btn-primary-sahabat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    padding: 0.78rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary-sahabat:hover,
.btn-primary-sahabat:focus {
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.4);
}

.btn-navy-sahabat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    padding: 0.75rem 1.4rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.2);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-navy-sahabat:hover {
    background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 100%);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-outline-light-sahabat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.75rem 1.4rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-outline-light-sahabat:hover {
    background: #ffffff;
    color: var(--navy-800) !important;
    border-color: #ffffff;
}

.btn-outline-primary {
    border-color: var(--blue-500);
    color: var(--blue-600);
    background: #ffffff;
}

.btn-outline-primary:hover {
    background: var(--blue-600);
    color: #ffffff;
}

.btn-outline-secondary {
    border-color: var(--slate-300);
    color: var(--slate-700);
    background: #ffffff;
}

.btn-outline-secondary:hover {
    background: var(--slate-100);
    color: var(--slate-900);
}

.btn-outline-danger {
    border-color: #fca5a5;
    color: var(--red-600);
    background: #ffffff;
}

.btn-outline-danger:hover {
    background: var(--red-600);
    color: #ffffff;
}

/* ----------------------------------------------------------------------------
 * 5. CARDS, ICON BOXES, & PAGE HEADERS
 * ---------------------------------------------------------------------------- */
.card-sahabat {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
}

.card-sahabat-hover:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: #93c5fd;
}

.category-card-accent {
    border-top: 4px solid var(--blue-500);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
    color: var(--blue-600);
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.page-hero-mini {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: #ffffff;
    padding: 2.1rem 0;
    border-bottom: 3px solid var(--blue-500);
    margin-bottom: 2rem;
}

.page-hero-mini h1 {
    color: #ffffff;
}

/* ----------------------------------------------------------------------------
 * 6. ALERTS & BADGES
 * ---------------------------------------------------------------------------- */
.alert-emergency {
    background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 100%);
    border: 1px solid #fecaca;
    border-left: 5px solid var(--red-600);
    color: #7f1d1d;
    border-radius: var(--radius-md);
    padding: 1.1rem 1.3rem;
}

.alert-emergency .emergency-title {
    color: var(--red-600);
    font-weight: 800;
    font-size: 0.96rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.alert-privacy-info {
    background: linear-gradient(135deg, #f0f7ff 0%, #eff6ff 100%);
    border: 1px solid #bfdbfe;
    border-left: 5px solid var(--blue-600);
    color: var(--navy-800);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.3rem;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-status-baru {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.badge-status-ditinjau {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.badge-status-penanganan {
    background-color: #ffedd5;
    color: #c2410c;
    border: 1px solid #fdba74;
}

.badge-status-selesai {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.badge-status-ditolak {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.bg-primary-subtle {
    background-color: var(--blue-100) !important;
    color: var(--blue-700) !important;
    font-weight: 700;
}

.bg-secondary-subtle {
    background-color: var(--slate-200) !important;
    color: var(--slate-700) !important;
    font-weight: 700;
}

.bg-success-subtle {
    background-color: var(--green-100) !important;
    color: var(--green-700) !important;
}

/* Visual Progress Stepper on status.php */
.status-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 1.75rem 0;
    padding: 0;
    list-style: none;
}

.status-stepper::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--slate-200);
    z-index: 1;
}

.status-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.status-step .step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--slate-300);
    color: var(--slate-400);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.45rem;
    font-weight: 800;
    font-size: 0.9rem;
}

.status-step.done .step-circle {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: #ffffff;
}

.status-step.current .step-circle {
    background: var(--navy-800);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
}

.status-step .step-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-500);
    display: block;
}

.status-step.done .step-label,
.status-step.current .step-label {
    color: var(--navy-800);
}

/* ----------------------------------------------------------------------------
 * 7. FORMS, INPUTS & TABLES
 * ---------------------------------------------------------------------------- */
.form-label {
    display: block;
    font-weight: 700;
    color: var(--navy-800);
    font-size: 0.92rem;
    margin-bottom: 0.42rem;
}

.form-control,
.form-select {
    display: block;
    width: 100%;
    border: 1.5px solid var(--slate-300);
    border-radius: 11px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--slate-900);
    background-color: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
    outline: none;
}

.form-control:disabled,
.form-select:disabled {
    background-color: var(--slate-100);
    color: var(--slate-500);
    cursor: not-allowed;
}

.section-divider-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy-800);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--slate-100);
    margin-bottom: 1.25rem;
}

.report-code-display {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.35rem 1.5rem;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    border: 2px dashed rgba(56, 189, 248, 0.6);
    box-shadow: 0 10px 25px rgba(10, 37, 64, 0.16);
}

.stat-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-200);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card .stat-value {
    font-size: 1.95rem;
    font-weight: 800;
    color: var(--navy-800);
    line-height: 1.1;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-500);
    margin-top: 0.35rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead th {
    background-color: var(--slate-50);
    color: var(--navy-800);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--slate-200);
    padding: 0.9rem 1rem;
}

.table tbody td {
    padding: 0.9rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--slate-100);
}

/* ----------------------------------------------------------------------------
 * 8. MODERN CAMPUS PROTECTION & SAFE REPORTING (pengaduan.php & berhasil.php)
 * ---------------------------------------------------------------------------- */
.safe-reporting-body {
    background-color: #f4f7fb;
}

.safe-report-container {
    max-width: 880px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.safe-report-header {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
    color: #ffffff;
    padding: 1.85rem 0 1.75rem;
    border-bottom: 3px solid var(--blue-500);
}

.safe-header-org {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #93c5fd;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.safe-header-brand {
    font-size: clamp(1.1rem, 2.3vw, 1.4rem);
    color: #ffffff;
    font-weight: 600;
}

.safe-header-brand .fw-extrabold {
    font-weight: 800;
}

.safe-header-divider {
    margin: 0 0.45rem;
    color: #60a5fa;
}

.safe-trust-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.safe-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f1f5f9;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.safe-form-main-title {
    font-size: clamp(1.6rem, 3vw, 2.05rem);
    font-weight: 800;
    color: var(--navy-800);
    margin-bottom: 0.3rem;
}

.safe-form-empathy-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-600);
    margin-bottom: 0;
}

.safe-info-calm-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid var(--blue-500);
    border-radius: 12px;
    padding: 0.9rem 1.15rem;
    color: var(--slate-700);
}

/* 5-STEP WIZARD PROGRESS STEPPER */
.wizard-stepper-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 1.15rem 1rem;
    box-shadow: var(--shadow-sm);
}

.wizard-stepper-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

.wizard-stepper-list::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--slate-200);
    z-index: 1;
}

.wizard-step-item {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    list-style: none !important;
}

.wizard-step-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.38rem;
    color: var(--slate-500);
    font-family: inherit;
}

.wizard-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid var(--slate-300);
    color: var(--slate-500);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.wizard-step-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--slate-500);
    background: #ffffff;
    padding: 0 0.25rem;
}

.wizard-step-item.active .wizard-step-circle {
    background: var(--navy-800);
    border-color: var(--blue-500);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.wizard-step-item.active .wizard-step-name {
    color: var(--navy-800);
    font-weight: 800;
}

.wizard-step-item.completed .wizard-step-circle {
    background: var(--green-600);
    border-color: var(--green-600);
    color: #ffffff;
}

.wizard-step-item.completed .wizard-step-name {
    color: var(--green-700);
}

/* FORM CARD & PANES */
.safe-form-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-top: 4px solid var(--navy-800);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.wizard-step-pane {
    display: none;
}

.wizard-step-pane.active {
    display: block;
    animation: safeFadeIn 0.2s ease;
}

@keyframes safeFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.safe-step-header {
    padding-bottom: 1.1rem;
    margin-bottom: 1.4rem;
    border-bottom: 1.5px solid var(--slate-100);
}

.safe-step-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--blue-600);
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.4rem;
}

.safe-step-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-800);
    margin-bottom: 0.25rem;
}

.safe-step-desc {
    font-size: 0.9rem;
    color: var(--slate-600);
}

/* ANONYMOUS SPECIAL CARD */
.anon-special-card {
    background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 100%);
    border: 1.5px solid #bfdbfe;
    border-radius: 14px;
    padding: 1.25rem;
    transition: all 0.2s ease;
}

.anon-special-card.active-anon {
    background: #eff6ff;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.anon-card-heading {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--navy-800);
}

.anon-card-desc {
    font-size: 0.88rem;
    color: var(--slate-600);
}

.anon-active-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--green-50);
    border: 1px solid #86efac;
    color: var(--green-700);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
}

.anon-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.anon-large-checkbox {
    width: 1.3rem !important;
    height: 1.3rem !important;
    margin-top: 0 !important;
    cursor: pointer;
    flex-shrink: 0;
}

/* COMFORTABLE INPUTS FOR MOBILE & DESKTOP */
.form-control-safe {
    min-height: 46px;
    font-size: 0.95rem;
    border-radius: 11px;
    border: 1.5px solid var(--slate-300);
    padding: 0.65rem 0.95rem;
}

textarea.form-control-safe {
    min-height: 150px;
}

/* WITNESS CARDS */
.no-witness-box {
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: 12px;
    padding: 0.95rem 1.15rem;
}

.witness-item-card {
    background: #fcfdff;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 1.2rem;
}

/* MODERN UPLOAD DROPZONE */
.evidence-type-chip {
    display: inline-flex;
    align-items: center;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    color: var(--slate-700);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
}

.modern-dropzone-box {
    border: 2px dashed #93c5fd;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 1.85rem 1.35rem;
    text-align: center;
    transition: all 0.2s ease;
}

.modern-dropzone-box:hover,
.modern-dropzone-box.dragover {
    border-color: var(--blue-600);
    background: #eff6ff;
}

.dropzone-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.recorder-calm-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 1.2rem;
}

/* STEP 05 CONFIRMATION SUMMARY */
.confirmation-summary-card {
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: 14px;
    padding: 1.25rem;
}

.summary-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--slate-500);
    margin-bottom: 0.15rem;
}

.summary-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-800);
    word-break: break-word;
}

.statement-check-card {
    background: #f8fbff;
    border: 1.5px solid #bfdbfe;
    border-radius: 12px;
    padding: 1rem 1.2rem;
}

/* SOFT SAFETY ALERT */
.safety-soft-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #9b2c2c;
    border-radius: 12px;
    padding: 0.9rem 1.15rem;
}

.safety-soft-alert .safety-icon {
    font-size: 1.05rem;
    line-height: 1.4;
    flex-shrink: 0;
}

/* WIZARD BOTTOM NAVIGATION BAR */
.wizard-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.btn-lg-submit {
    padding: 0.85rem 1.85rem;
    font-size: 0.98rem;
}

.btn-cancel-subtle {
    color: var(--slate-500);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.btn-cancel-subtle:hover {
    color: var(--slate-800);
    text-decoration: underline;
}

/* ----------------------------------------------------------------------------
 * 9. FOOTER, STICKY ADMIN PANEL & PRINT MEDIA
 * ---------------------------------------------------------------------------- */
.footer-sahabat {
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
    color: rgba(255, 255, 255, 0.78);
    padding: 2.75rem 0 1.65rem;
    margin-top: 3.5rem;
    font-size: 0.88rem;
    border-top: 4px solid var(--blue-600);
}

.footer-sahabat h6 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.footer-sahabat a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.footer-sahabat a:hover {
    color: #38bdf8;
}

.footer-logos-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}

.footer-logos-pill img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

@media (min-width: 992px) {
    .sticky-admin-panel {
        position: sticky;
        top: 5.25rem;
    }
}

@media (max-width: 767.98px) {
    .hero-sahabat {
        padding: 2.25rem 0 2.75rem;
    }

    .official-logos-bar {
        padding: 0.42rem 0.8rem;
        gap: 0.45rem;
    }

    .official-logos-bar .logo-item {
        width: 32px;
        height: 32px;
    }

    .status-stepper .step-label {
        font-size: 0.68rem;
    }

    .safe-form-card {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .wizard-step-circle {
        width: 34px;
        height: 34px;
        font-size: 0.76rem;
    }

    .wizard-stepper-list::before {
        top: 16px;
    }

    .wizard-step-name {
        font-size: 0.68rem;
    }

    .wizard-nav-bar {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .wizard-nav-bar .btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.15rem;
    }

    .wizard-nav-bar .btn-cancel-subtle {
        text-align: center;
        padding: 0.35rem 0;
    }
}

/* ----------------------------------------------------------------------------
 * 10. FLOATING EMERGENCY WHATSAPP SOS BUTTON
 * ---------------------------------------------------------------------------- */
.floating-sos-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 8px 24px rgba(18, 140, 126, 0.38), 0 2px 6px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(6px);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.floating-sos-btn .sos-icon-wrap {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.floating-sos-btn .sos-badge-pulse {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #ef4444;
    border: 2px solid #ffffff;
    border-radius: 50%;
    animation: sosPulse 1.8s infinite;
}

@keyframes sosPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.75);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.floating-sos-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(18, 140, 126, 0.48), 0 4px 10px rgba(0, 0, 0, 0.18);
    background: linear-gradient(135deg, #2fe671 0%, #159c8c 100%);
    color: #ffffff !important;
}

@media (max-width: 576px) {
    .floating-sos-btn {
        bottom: 18px;
        right: 16px;
        padding: 0.65rem 0.95rem;
        font-size: 0.85rem;
        gap: 0.45rem;
    }
    .floating-sos-btn .sos-text-long {
        display: none;
    }
    .floating-sos-btn .sos-text-short {
        display: inline;
    }
}
@media (min-width: 577px) {
    .floating-sos-btn .sos-text-short {
        display: none;
    }
}

@media print {
    .top-institusi-bar,
    .navbar-sahabat,
    .footer-sahabat,
    .floating-sos-btn,
    .no-print {
        display: none !important;
    }

    body {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .card-sahabat,
    .safe-form-card {
        box-shadow: none !important;
        border: 1px solid #cbd5e1 !important;
        break-inside: avoid;
    }
}

