/* =========================================
1. VARIABLES & RESET
========================================= */
:root {
    /* Colors */
    /* Primary: Pink-700 */
    --bs-primary: #be185d; 
    /* RGB Primary untuk transparansi (190, 24, 93) */
    --bs-primary-rgb: 190, 24, 93; 
    
    /* Secondary: Rose-600 */
    --bs-secondary: #e11d48; 
    
    --bs-secondary-text: #64748b; /* Slate 500 */
    
    /* Dark: Violet-900 (Ungu Gelap Mewah) */
    --bs-dark: #4c1d95; 
    
    /* Light: Rose-50 (Putih kemerahan sangat tipis) */
    --bs-light: #fff1f2; 
    
    --text-body: #334155; /* Slate 700 */
    --text-heading: #4c1d95; /* Menggunakan Violet-900 untuk heading */

    /* Shadows (Nuansa Ungu/Pink) */
    --card-shadow: 0 10px 30px rgba(76, 29, 149, 0.08);
    --card-hover-shadow: 0 20px 40px rgba(76, 29, 149, 0.15);
    --nav-shadow: 0 2px 15px rgba(76, 29, 149, 0.05);

    /* Modern Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --blur-amount: 12px;
}

/* Scrollbar Modern */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #fdfdfd;
    color: var(--text-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

/* =========================================
2. UTILITIES & TYPOGRAPHY
========================================= */
.text-primary-gradient {
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    /* Gradient Pink ke Violet */
    background: linear-gradient(135deg, #be185d 0%, #4c1d95 100%);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-weight: 800;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
    color: var(--text-heading);
}

.section-title h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 5px;
    background: linear-gradient(to right, var(--bs-primary), var(--bs-secondary));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
}

.section-title p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

/* =========================================
3. NAVBAR (REFINED & MOBILE OPTIMIZED)
========================================= */
.navbar {
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1030;
}

.navbar-brand img {
    height: 45px;
    transition: transform 0.3s;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

/* --- LOGO LOGIC --- */
.logo-white { display: none; }
.logo-dark { display: block; }

/* --- STATE: TRANSPARENT (HOME TOP - DESKTOP ONLY) --- */
@media (min-width: 992px) {
    .navbar.home-nav:not(.scrolled) {
        background: transparent;
        box-shadow: none;
        padding: 1.5rem 0;
    }

    .navbar.home-nav:not(.scrolled) .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .navbar.home-nav:not(.scrolled) .nav-link:hover,
    .navbar.home-nav:not(.scrolled) .nav-link.active {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.15);
    }

    /* Tukar Logo di Transparent Mode */
    .navbar.home-nav:not(.scrolled) .logo-dark { display: none; }
    .navbar.home-nav:not(.scrolled) .logo-white { display: block; }
    
    .navbar.home-nav:not(.scrolled) .dropdown-toggle::after {
        color: rgba(255, 255, 255, 0.8);
    }

    .navbar.home-nav:not(.scrolled) .navbar-toggler {
        color: white;
    }
}

/* --- STATE: SCROLLED / SOLID (GLASSMORPHISM) --- */
.navbar.scrolled,
.navbar.navbar-solid {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    box-shadow: var(--nav-shadow);
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(190, 24, 93, 0.1);
}

.navbar.scrolled .nav-link,
.navbar.navbar-solid .nav-link {
    color: var(--text-body) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active,
.navbar.navbar-solid .nav-link:hover,
.navbar.navbar-solid .nav-link.active {
    color: var(--bs-primary) !important;
    background: rgba(190, 24, 93, 0.08); /* Pink tint */
}

.navbar.scrolled .logo-white,
.navbar.navbar-solid .logo-white { display: none; }
.navbar.scrolled .logo-dark,
.navbar.navbar-solid .logo-dark { display: block; }


/* --- MOBILE MENU STYLE (< 992px) --- */
@media (max-width: 991.98px) {
    .navbar {
        background: #fff;
        padding: 0.8rem 0;
        box-shadow: var(--nav-shadow);
    }

    .logo-white { display: none !important; }
    .logo-dark { display: block !important; }

    .navbar-collapse {
        background: #fff;
        margin-top: 15px;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(76, 29, 149, 0.05);
        border: 1px solid #fff1f2;
    }

    .nav-link {
        color: var(--text-body) !important;
        margin: 5px 0;
    }

    .nav-link:hover, .nav-link.active {
        color: var(--bs-primary) !important;
        background: #fff1f2;
        transform: translateX(5px);
    }
}

/* --- HAMBURGER MENU (TOGGLER) --- */
.navbar-toggler {
    border: none;
    padding: 0;
    color: var(--bs-dark);
}
.navbar-toggler:focus {
    box-shadow: none;
}

/* --- DROPDOWN MENU (MODERN) --- */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(76, 29, 149, 0.1);
    padding: 8px;
    margin-top: 15px;
    animation: dropdownSlide 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    position: absolute; 
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        display: block;
        margin-top: 0; /* Penting: Menghapus jarak default bootstrap */
    }

    .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -20px; /* Mengisi ruang kosong di atas menu */
        left: 0;
        width: 100%;
        height: 20px; /* Tinggi area jembatan */
        background: transparent; /* Tidak terlihat tapi bisa di-hover */
        display: block;
    }
}

.nav-item.dropdown.show .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
    box-shadow: none;
    background: #fff1f2;
    margin-top: 5px;
}

@keyframes dropdownSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.9rem;
    color: var(--text-body);
    font-weight: 500;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: #fce7f3; /* Light Pink Hover */
    color: var(--bs-primary);
    padding-left: 20px;
}

/* =========================================
4. PAGE HEADERS (Inner Pages)
========================================= */
/* Style 1: Gradient Pink-Violet (Standard & Profil) */
.page-header {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #4c1d95 100%);
    padding: 100px 0 60px 0;
    color: white;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://www.transparenttextures.com/patterns/cubes.png");
    opacity: 0.1;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: #fff;
}

/* Style 2: Repo Style */
.repo-header {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #4c1d95 100%);
    color: white;
    padding: 160px 0 60px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.repo-header::after {
    content: "\F35F";
    font-family: "bootstrap-icons";
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 15rem;
    opacity: 0.1;
    transform: rotate(-20deg);
}

/* Style 3: Clean White (For Articles) */
.page-header-clean {
    padding-top: 120px;
    padding-bottom: 30px;
    background: #fff;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.page-header-clean .breadcrumb-item a {
    color: var(--bs-primary);
}

/* =========================================
5. HOMEPAGE COMPONENTS
========================================= */

/* --- HERO SECTION (UPDATED TO PINK NUANCE) --- */
#hero-slider {
    height: 100dvh; 
    min-height: 600px;
    width: 100%;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.slide-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    z-index: 0;
}

/* Overlay Gradient: DOMINAN PINK */
.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient Overlay Pink Primary */
    background: linear-gradient(to right, 
        rgba(190, 24, 93, 0.95) 20%,  /* Pink pekat */
        rgba(190, 24, 93, 0.75) 60%,  /* Pink sedang */
        rgba(190, 24, 93, 0.2) 100%   /* Transparan */
    );
    z-index: 1;
}

@media (max-width: 991px) {
    .swiper-slide::before { 
        background: linear-gradient(to bottom, 
            rgba(190, 24, 93, 0.95), 
            rgba(190, 24, 93, 0.85)
        ); 
    }
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    padding-top: 80px;
}

/* Animasi Teks Hero */
.hero-text h1,
.hero-text p,
.hero-text .btn,
.hero-text .badge,
.hero-text .bupati-info {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.hero-text h1 {
    text-wrap: balance;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.swiper-slide-active .hero-text .badge { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.swiper-slide-active .hero-text h1 { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.swiper-slide-active .hero-text p { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }
.swiper-slide-active .hero-text .btn { opacity: 1; transform: translateY(0); transition-delay: 0.9s; }
.swiper-slide-active .hero-text .bupati-info { opacity: 1; transform: translateY(0); transition-delay: 1.1s; }

.hero-person-img {
    position: absolute;
    bottom: 0;
    right: 5%;
    height: 85dvh; 
    width: auto;
    object-fit: contain;
    z-index: 2;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
    filter: drop-shadow(-10px 0 20px rgba(0, 0, 0, 0.3));
}

.swiper-slide-active .hero-person-img {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.5s;
}

.btn-hero {
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 700;
    transition: transform 0.3s;
    background: #fff;
    color: var(--bs-primary);
}

.btn-hero:hover {
    transform: translateY(-3px);
    background: #fdf2f8;
    color: #be185d;
}

.section-padding {
    padding: 80px 0;
}

@media (max-width: 991px) {
    .hero-person-img { display: none; }
    .hero-text { text-align: center; }
    .hero-content-wrapper { padding-top: 60px; }
    .d-flex.gap-3 { justify-content: center; }
}

.misi-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 1rem;
    text-align: left;
}

@media (min-width: 768px) {
    .misi-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Pimpinan & Visi Misi */
.leader-img-container {
    position: relative;
    padding: 20px;
}

.leader-img {
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--bs-light), 20px 20px 0px 2px var(--bs-primary);
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.leader-img:hover {
    transform: scale(1.02);
}

.quote-box {
    background: #fff;
    border-left: 5px solid var(--bs-primary);
    padding: 30px;
    box-shadow: var(--card-shadow);
    border-radius: 0 15px 15px 0;
    margin-top: 30px;
    font-style: italic;
}

.visi-card {
    background: var(--bs-primary);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.list-check li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.list-check li::before {
    content: "\F26B";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--bs-secondary);
    font-weight: bold;
}

/* Unit Kerja */
.unit-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.unit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--bs-primary);
}

.unit-icon {
    width: 70px;
    height: 70px;
    background: rgba(190, 24, 93, 0.1); /* Pink tint */
    color: var(--bs-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: 0.3s;
}

.unit-card:hover .unit-icon {
    background: var(--bs-primary);
    color: white;
}

/* --- Section Decoration --- */
#layanan {
    position: relative;
    /* Ganti background polos dengan gradasi halus keabu-abuan/merah muda tipis */
    background: linear-gradient(135deg, #ffffff 0%, #fcf0f1 100%); 
    overflow: hidden; /* Agar ornamen tidak keluar dari section */
    z-index: 1;
}

/* Ornamen Lingkaran Pudar di Pojok Kanan Atas */
.ornament-circle {
    position: absolute;
    top: -100px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1; /* Ditaruh di belakang konten */
    pointer-events: none;
}

/* Ornamen Pola Titik di Pojok Kiri Bawah */
.ornament-dots {
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: 200px;
    height: 200px;
    /* Membuat pola titik-titik dengan CSS */
    background-image: radial-gradient(rgba(220, 53, 69, 0.2) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

/* Styling Card agar lebih menonjol */
.unit-card {
    transition: all 0.3s ease;
    background: #ffffff;
    border-radius: 15px !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
}

.unit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(220, 53, 69, 0.1) !important; /* Shadow kemerahan halus */
    border-color: rgba(220, 53, 69, 0.3) !important;
}

/* Icon styling enhancement */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: rgba(220, 53, 69, 0.05); /* Latar merah sangat muda */
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

/* Statistik & Layanan */
#statistik {
    background: url("https://via.placeholder.com/1920x600.png?text=Background+Map") no-repeat center center;
    background-size: cover;
    position: relative;
}

#statistik::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(76, 29, 149, 0.9); /* Overlay Violet */
}

.stat-item {
    position: relative;
    z-index: 2;
    color: white;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fda4af; /* Light Rose */
}

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    height: 100%;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--bs-primary);
}

.service-card .icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    /* Gradient Pink to Rose */
    background: linear-gradient(135deg, var(--bs-primary) 0%, #e11d48 100%);
    color: white;
    font-size: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(15deg);
}

/* Berita Home */
.news-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: 0.3s;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--bs-primary);
}

.news-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--bs-secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Galeri */
.galeri-swiper {
    padding-bottom: 50px;
}

.galeri-swiper .swiper-slide img {
    border-radius: 15px;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* =========================================
6. SIDEBAR & NAVIGATION (Inner Pages)
========================================= */
.sidebar-nav,
.doc-sidebar {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(76, 29, 149, 0.03);
    border: 1px solid #fff1f2;
    position: sticky;
    top: 100px; /* Sticky effect */
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-nav .nav-link,
.doc-nav .nav-link {
    padding: 12px 20px;
    color: #6b7280 !important;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-nav .nav-link:hover,
.doc-nav .nav-link:hover {
    background: #fff1f2;
    color: var(--bs-primary) !important;
    margin-left: 0;
}

.sidebar-nav .nav-link.active,
.doc-nav .nav-link.active {
    background: var(--bs-primary);
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(190, 24, 93, 0.3);
}

.sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #eee;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(76, 29, 149, 0.03);
}

.widget-title {
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    position: relative;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--bs-primary);
}

/* =========================================
7. DOCUMENT & REPOSITORY STYLES
========================================= */
.doc-header {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(76, 29, 149, 0.03);
    margin-bottom: 30px;
    border-left: 5px solid var(--bs-primary);
}

.doc-definition {
    font-size: 1.05rem;
    line-height: 1.7;
}

.filter-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(76, 29, 149, 0.05);
    margin-top: -80px;
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.table-container {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(76, 29, 149, 0.03);
    border: 1px solid #eee;
}

.table thead th {
    background: #f8f9fa;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 15px;
    border-bottom: 2px solid #eee;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.table tbody tr:hover {
    background-color: #fff1f2;
}

.doc-type-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 50px;
}

.badge-regulasi { background: #e0f2fe; color: #0284c7; }
.badge-sop { background: #dcfce7; color: #16a34a; }
.badge-umum { background: #f3f4f6; color: #4b5563; }

.action-btn {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: 0.2s;
}

.btn-view {
    background: #fff1f2;
    color: var(--bs-primary);
}

.btn-view:hover {
    background: var(--bs-primary);
    color: white;
}

.file-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.file-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(76, 29, 149, 0.05);
    border-color: var(--bs-primary);
}

.file-icon {
    font-size: 2.5rem;
    color: var(--bs-secondary); /* Rose */
    margin-right: 20px;
}

.btn-download {
    background: rgba(190, 24, 93, 0.1);
    color: var(--bs-primary);
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-download:hover {
    background: var(--bs-primary);
    color: #fff;
}

/* Document Content */
.doc-cover-wrapper {
    background: #eee;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}
.doc-cover-icon {
    font-size: 5rem;
    color: #dc3545; /* Warna PDF */
    filter: drop-shadow(0 10px 15px rgba(220, 53, 69, 0.2));
}

.meta-table th { width: 30%; color: #64748b; font-weight: 600; }
.meta-table td { color: #1e293b; font-weight: 500; }

/* Sidebar / Action Card */
.action-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px; /* Sticky effect */
}

.file-info-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-btn {
    width: 40px; height: 40px; border-radius: 50%; display: inline-flex;
    align-items: center; justify-content: center; border: 1px solid #e2e8f0;
    color: #64748b; transition: 0.3s; margin-right: 5px;
}
.share-btn:hover { background: var(--bs-primary); color: white; border-color: var(--bs-primary); }

/* =========================================
8. ARTICLE & AGENDA DETAILS
========================================= */
.article-category {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bs-primary);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.3;
    margin: 15px 0;
}

.article-meta {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.article-meta img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.featured-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-body);
}

.article-body p { margin-bottom: 1.5rem; }

.article-body h2,
.article-body h3 {
    color: var(--text-heading);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body blockquote {
    border-left: 4px solid var(--bs-primary);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-heading);
    background: #fff1f2;
    padding: 20px;
    border-radius: 0 10px 10px 0;
}

.recent-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.recent-post-item:last-child { margin-bottom: 0; }

.recent-post-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 15px;
    flex-shrink: 0;
}

.recent-post-content h6 a {
    color: var(--text-heading);
    text-decoration: none;
    transition: 0.2s;
    font-weight: 600;
}

.recent-post-content h6 a:hover { color: var(--bs-primary); }

.small-date {
    font-size: 0.75rem;
    color: #9ca3af;
}

.date-badge-lg {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    overflow: hidden;
    width: 80px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.date-badge-month {
    background: var(--bs-primary);
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 0;
}

.date-badge-day {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bs-dark);
    line-height: 1.2;
    padding: 8px 0;
}

.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
    border-left: 2px solid #e5e7eb;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -36px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid var(--bs-primary);
    border-radius: 50%;
}

/* =========================================
9. STAFF & PROGRAMS
========================================= */
.kabid-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(76, 29, 149, 0.08);
    text-align: center;
    padding-bottom: 20px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.kabid-card:hover { transform: translateY(-5px); }

.kabid-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top;
}

.kabid-name {
    font-weight: 700;
    color: var(--bs-dark);
    margin-top: 15px;
    font-size: 1.2rem;
}

.kabid-nip {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 10px;
}

.program-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 10px 25px rgba(190, 24, 93, 0.1);
}

.program-icon {
    width: 60px;
    height: 60px;
    background: rgba(190, 24, 93, 0.1);
    color: var(--bs-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* =========================================
10. FOOTER (Global)
========================================= */
footer {
    background: var(--bs-dark); /* Violet 900 */
    color: #cbd5e1;
    padding-top: 80px;
    margin-top: 80px;
}

footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
}

footer a {
    text-decoration: none;
    color: #cbd5e1;
    transition: 0.3s;
}

footer a:hover {
    color: var(--bs-secondary);
    padding-left: 5px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
}

.social-icon:hover {
    background: var(--bs-primary);
    color: white;
}

/* =========================================
11. PROFILE PAGE & ACCORDION SIDEBAR
========================================= */
.profil-nav-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: 100px;
    z-index: 10;
    box-shadow: 0 4px 6px -1px rgba(76, 29, 149, 0.05);
}

.profil-nav-header {
    background: #f1f5f9;
    padding: 15px 20px;
    font-weight: 700;
    color: var(--bs-dark);
    border-bottom: 1px solid #e2e8f0;
}

/* Accordion Menu Styling */
.accordion-button {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-body);
    background-color: #fff;
    padding: 12px 20px;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background-color: #fff1f2;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.accordion-button:focus { box-shadow: none; }

/* Submenu Items */
.list-group-item {
    border: none;
    padding: 10px 20px 10px 3rem;
    font-size: 0.9rem;
    color: var(--bs-secondary-text);
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.list-group-item:hover {
    color: var(--bs-primary);
    background-color: #fff1f2;
}

.list-group-item.active {
    background-color: #fff1f2;
    color: var(--bs-primary);
    border-left-color: var(--bs-primary);
    font-weight: 600;
}

/* Area Konten Artikel Profil */
.content-area {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    min-height: 500px;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

/* Lampiran Dokumen */
.attachment-card {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 20px;
    margin-top: 40px;
}

/* Share Buttons */
.share-box { margin-top: 30px; }

.btn-share {
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 0.85rem;
    margin-right: 5px;
    border: 1px solid #e2e8f0;
    color: var(--bs-secondary-text);
    transition: 0.3s;
}

.btn-share:hover {
    background: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
}

/* General Card & List Styling */
.info-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.info-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}
.info-list-item:last-child { border-bottom: none; }
.info-label { font-weight: 600; color: var(--bs-secondary); }
.info-value { text-align: right; color: var(--bs-dark); }

/* Maklumat & Motto */
.motto-box {
    background: #e0f7fa; /* Warna latar belakang kontras */
    border-left: 5px solid var(--bs-primary);
    padding: 25px;
    border-radius: 0 10px 10px 0;
}

/* Media Sosial */
.social-link {
    transition: 0.3s;
    color: var(--bs-dark);
    text-decoration: none;
}
.social-link:hover {
    color: var(--bs-primary);
    padding-left: 5px;
}

/* Profile Card Styling */
.profile-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.photo-wrapper {
    width: 200px;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    margin: 0 auto 30px;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #f3f4f6;
}
.detail-label {
    width: 35%;
    font-weight: 600;
    color: var(--bs-primary);
}
.detail-value {
    width: 65%;
    color: var(--bs-dark);
}

/* News Card Style */
        .news-card {
            border: none;
            border-radius: 12px;
            overflow: hidden;
            background: #fff;
            box-shadow: 0 5px 15px rgba(0,0,0,0.03);
            transition: transform 0.3s, box-shadow 0.3s;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.08);
        }
        .news-img-wrapper {
            position: relative;
            height: 220px;
            overflow: hidden;
        }
        .news-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        .news-card:hover .news-img-wrapper img { transform: scale(1.05); }
        
        .category-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--bs-primary);
            color: white;
            padding: 5px 12px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
        }

        .news-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
        .news-date { font-size: 0.85rem; color: #94a3b8; margin-bottom: 10px; display: block; }
        .news-title { font-weight: 700; color: var(--bs-dark); font-size: 1.15rem; margin-bottom: 15px; line-height: 1.4; }
        .news-title a { text-decoration: none; color: inherit; transition: 0.3s; }
        .news-title a:hover { color: var(--bs-primary); }
        .news-excerpt { color: #64748b; font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
        .btn-read-more { color: var(--bs-primary); font-weight: 600; text-decoration: none; font-size: 0.9rem; }
        .btn-read-more:hover { text-decoration: underline; }

        /* Sidebar Widgets */
        .sidebar-widget {
            background: #fff;
            border-radius: 12px;
            padding: 25px;
            margin-bottom: 30px;
            border: 1px solid #e2e8f0;
        }
        .widget-title {
            font-weight: 700;
            color: var(--bs-dark);
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        .widget-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--bs-primary);
            border-radius: 2px;
        }

        /* Recent Post Item (Sidebar) */
        .recent-item { display: flex; align-items: center; margin-bottom: 15px; }
        .recent-thumb { width: 70px; height: 70px; border-radius: 8px; object-fit: cover; margin-right: 15px; flex-shrink: 0; }
        .recent-title { font-size: 0.9rem; font-weight: 600; line-height: 1.4; margin-bottom: 5px; }
        .recent-title a { text-decoration: none; color: var(--bs-dark); }
        .recent-title a:hover { color: var(--bs-primary); }
        .recent-date { font-size: 0.75rem; color: #94a3b8; }

        /* --- Glassmorphism Cards --- */
        .glass-card {
            background: var(--card-bg);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.6);
            box-shadow: 0 15px 35px rgba(0,0,0,0.05), 0 5px 15px rgba(0,0,0,0.03);
            border-radius: 20px;
        }

        /* Filter Card (Overlap Header) */
        .filter-wrapper {
            margin-top: -60px; /* Tarik ke atas menutupi header */
            position: relative;
            z-index: 10;
        }
        
        .filter-card {
            padding: 30px;
        }
        
        /* Input Styling */
        .form-control, .form-select {
            border-radius: 10px;
            border: 1px solid #e2e8f0;
            padding: 12px 15px;
            background-color: #f9fafb;
        }
        .form-control:focus, .form-select:focus {
            background-color: #fff;
            border-color: var(--bs-primary);
            box-shadow: 0 0 0 4px rgba(15, 82, 186, 0.1);
        }
        .input-group-text { border-radius: 10px 0 0 10px; background: #fff; border-color: #e2e8f0; }

        /* --- Table Styling Premium --- */
        .table-container {
            padding: 20px;
            margin-top: 30px;
        }
        .table { margin-bottom: 0; border-collapse: separate; border-spacing: 0 10px; }
        .table thead th {
            background: transparent;
            color: #6b7280;
            font-weight: 700;
            text-transform: uppercase;
            font-size: 0.8rem;
            letter-spacing: 1px;
            border: none;
            padding: 15px;
        }
        
        /* Style untuk Baris Tabel seperti Kartu */
        .table tbody tr {
            background: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.02);
            transition: all 0.3s ease;
        }
        .table tbody tr td {
            padding: 20px;
            vertical-align: middle;
            border-top: 1px solid rgba(0,0,0,0.02);
            border-bottom: 1px solid rgba(0,0,0,0.02);
        }
        .table tbody tr td:first-child {
            border-top-left-radius: 12px;
            border-bottom-left-radius: 12px;
            border-left: 1px solid rgba(0,0,0,0.02);
        }
        .table tbody tr td:last-child {
            border-top-right-radius: 12px;
            border-bottom-right-radius: 12px;
            border-right: 1px solid rgba(0,0,0,0.02);
        }

        /* Hover Effect pada Baris */
        .table tbody tr:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(15, 82, 186, 0.08);
            background: #fff;
            position: relative;
            z-index: 5;
        }
        .table tbody tr:hover td {
            border-color: transparent;
        }
        /* Border kiri warna primary saat hover */
        .table tbody tr:hover td:first-child {
            border-left: 4px solid var(--bs-primary);
        }

        /* Badge & Button Styles */
        .doc-icon-box {
            width: 50px; height: 50px;
            background: rgba(15, 82, 186, 0.1);
            color: var(--bs-primary);
            border-radius: 12px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.5rem;
            margin-right: 15px;
            transition: 0.3s;
        }
        .table tbody tr:hover .doc-icon-box {
            background: var(--bs-primary);
            color: #fff;
        }

        .badge-custom { font-size: 0.75rem; font-weight: 700; padding: 8px 15px; border-radius: 30px; letter-spacing: 0.5px; }
        .badge-regulasi { background: rgba(15, 82, 186, 0.1); color: var(--bs-primary); }
        .badge-sop { background: rgba(25, 135, 84, 0.1); color: #198754; }
        .badge-umum { background: rgba(108, 117, 125, 0.1); color: #6c757d; }

        .action-btn {
            width: 40px; height: 40px;
            border-radius: 10px;
            display: inline-flex; align-items: center; justify-content: center;
            transition: 0.3s;
            background: #f1f5f9; color: var(--bs-dark);
            text-decoration: none;
        }
        .action-btn:hover {
            background: var(--bs-primary);
            color: #fff;
            box-shadow: 0 5px 15px rgba(15, 82, 186, 0.3);
        }

        /* Pagination Modern */
        .page-link {
            border: none;
            margin: 0 5px;
            border-radius: 8px;
            color: var(--bs-dark);
            font-weight: 600;
            background: transparent;
        }
        .page-link:hover { background: #e2e8f0; color: var(--bs-primary); }
        .page-item.active .page-link {
            background: var(--bs-primary);
            color: white;
            box-shadow: 0 5px 15px rgba(15, 82, 186, 0.3);
        }

        /* =========================================
   PREMIUM FORM STYLING (ELEGANT)
========================================= */

/* 1. Label Styling (Typography Mewah) */
.form-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b; /* Slate 500 */
    margin-bottom: 8px;
    display: block;
}

/* 2. Base Input & Select Style */
.form-control, 
.form-select {
    background-color: #f1f5f9; /* Abu-abu Kebiruan Soft (Slate 100) */
    border: 1px solid transparent; /* Border transparan agar terlihat clean */
    color: var(--text-body);
    font-weight: 600;
    border-radius: 12px;
    padding: 14px 18px; /* Padding lega */
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: none;
}

/* Placeholder Color */
.form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* 3. Hover State (Sedikit menggelap) */
.form-control:hover, 
.form-select:hover {
    background-color: #e2e8f0; /* Slate 200 */
}

/* 4. Focus State (The "Glow" Effect) */
.form-control:focus, 
.form-select:focus {
    background-color: #ffffff;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(190, 24, 93, 0.15); /* Glow Pink Halus */
    color: var(--bs-dark);
}

/* 5. Input Group (Search Bar Fusion) */
.input-group .input-group-text {
    background-color: #f1f5f9;
    border: 1px solid transparent;
    border-right: none;
    color: #94a3b8;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    padding-left: 18px;
    transition: all 0.3s ease;
}

.input-group .form-control {
    border-left: none;
    padding-left: 12px; /* Jarak teks dengan icon */
}

/* Saat Input Search di-Hover */
.input-group:hover .input-group-text,
.input-group:hover .form-control {
    background-color: #e2e8f0;
}

/* Saat Input Search Fokus (Aktif) */
.input-group:focus-within .input-group-text {
    background-color: #ffffff;
    border-color: var(--bs-primary);
    color: var(--bs-primary); /* Icon jadi pink */
    box-shadow: 0 0 0 4px rgba(190, 24, 93, 0.15); /* Glow ikut menyala */
    box-shadow: inset 0 0 0 1px var(--bs-primary); /* Trik agar border kiri icon menyala */
    clip-path: inset(-5px 0 -5px -5px); /* Agar shadow tidak tertutup */
}

.input-group:focus-within .form-control {
    box-shadow: 0 0 0 4px rgba(190, 24, 93, 0.15);
}

/* 6. Custom Select Arrow (Panah Pink) */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23be185d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-size: 16px 12px;
}

/* 7. Button Styling (Menyesuaikan tinggi input) */
.btn-primary {
    padding: 14px 20px; /* Tinggi disamakan dengan input */
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    background: var(--bs-primary);
    border: none;
    box-shadow: 0 4px 6px -1px rgba(190, 24, 93, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    background-color: #9d174d; /* Pink lebih gelap */
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(190, 24, 93, 0.4);
}

/* --- 2. Glassmorphism Card --- */
        .login-card {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.8);
            border-radius: 24px;
            padding: 40px;
            width: 100%;
            max-width: 450px;
            box-shadow: 0 20px 50px rgba(76, 29, 149, 0.1);
            position: relative;
            animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes slideUp {
            from { transform: translateY(30px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .login-header { text-align: center; margin-bottom: 30px; }
        .login-logo { height: 50px; margin-bottom: 15px; }
        .login-title { font-weight: 800; color: var(--bs-dark); font-size: 1.5rem; letter-spacing: -0.5px; }
        .login-subtitle { color: #64748b; font-size: 0.9rem; }

        /* --- 3. Form Inputs (Menggunakan Style Premium Anda) --- */
        .form-label {
            font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #64748b; margin-bottom: 8px;
        }
        
        .form-control {
            background-color: #f1f5f9; border: 1px solid transparent; color: #334155;
            font-weight: 600; border-radius: 12px; padding: 14px 18px; font-size: 0.95rem;
            transition: all 0.3s ease;
        }
        .form-control:focus {
            background-color: #fff; border-color: var(--bs-primary); box-shadow: 0 0 0 4px rgba(190, 24, 93, 0.1);
        }
        
        /* Input Group untuk Password */
        .input-group-text {
            background-color: #f1f5f9; border: 1px solid transparent; color: #94a3b8;
            border-top-right-radius: 12px; border-bottom-right-radius: 12px; border-left: none; cursor: pointer;
        }
        .input-group .form-control { border-right: none; }
        .input-group:focus-within .input-group-text {
            background-color: #fff; border-color: var(--bs-primary); color: var(--bs-primary);
            box-shadow: 0 0 0 4px rgba(190, 24, 93, 0.1);
        }

        /* --- 4. Button & Links --- */
        .btn-login {
            background: var(--bs-primary); color: white; width: 100%; padding: 14px;
            border-radius: 12px; font-weight: 700; letter-spacing: 0.5px; border: none;
            box-shadow: 0 4px 15px rgba(190, 24, 93, 0.3); transition: 0.3s;
            margin-top: 10px;
        }
        .btn-login:hover {
            background: #9d174d; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(190, 24, 93, 0.4); color: white;
        }

        .form-check-input:checked {
            background-color: var(--bs-primary); border-color: var(--bs-primary);
        }

        .back-link {
            position: absolute; top: 30px; left: 30px; text-decoration: none;
            color: #64748b; font-weight: 600; font-size: 0.9rem; display: flex; align-items: center;
            transition: 0.3s;
        }
        .back-link:hover { color: var(--bs-primary); transform: translateX(-3px); }