:root {
    --sidebar-bg: #3c314a;
    --sidebar-text: #a19ba8;
    --sidebar-active: #fcd05b;
    --main-bg: #ffffff;
    --right-bg: #fcd05b;
    --banner-pink: #f87d85;
    --text-dark: #201e23;
    --text-muted: #8b8b8b;
    --card-bg: #ffffff;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #f5f0e6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 30px 20px; /* Sedikit padding agar tidak mepet atas/bawah */
}

/* Container Utama - Lengkungan Ekstrem */
.dashboard-wrapper {
    background-color: var(--main-bg);
    border-radius: 50px; /* Dari 40px jadi 50px */
    box-shadow: 0 30px 60px rgba(0,0,0,0.1); /* Shadow lebih lembut */
    display: flex;
    width: 100%;
    max-width: 1400px;
    min-height: 85vh;
    /* overflow: hidden; DIHAPUS agar panel kanan bisa punya padding mandiri */
}

/* --- SIDEBAR --- */
.sidebar {
    background-color: var(--sidebar-bg);
    width: 260px;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    color: white;
    border-top-left-radius: 50px; /* Menyesuaikan container */
    border-bottom-left-radius: 50px;
}

.user-profile {
    text-align: center;
    margin-bottom: 40px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.nav-item {
    margin-bottom: 10px;
}

.nav-link {
    display: flex;
    align-items: center;
    color: var(--sidebar-text);
    text-decoration: none;
    font-weight: 700;
    padding: 15px 25px;
    border-radius: 20px; /* Tombol menu lebih membulat */
    transition: 0.3s;
}

.nav-link i { margin-right: 15px; font-size: 1.2rem; }

.nav-link:hover, .nav-link.active {
    color: var(--sidebar-active);
    background-color: rgba(255, 255, 255, 0.08);
}

/* .nav-link.active { border-left: 4px solid var(--sidebar-active); }  Dihapus biar clean seperti referensi */

.btn-login-admin {
    margin-top: auto;
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 15px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-login-admin:hover {
    background: var(--sidebar-active);
    color: var(--sidebar-bg);
}

/* --- MAIN CONTENT (TENGAH) --- */
.main-content {
    flex-grow: 1;
    padding: 50px 60px;
    background-color: var(--main-bg);
    overflow-y: auto;
}

.header-title { margin-bottom: 40px; }
.header-title h1 { font-weight: 800; color: var(--text-dark); margin-bottom: 5px; font-size: 2.2rem; letter-spacing: -0.5px;}
.header-title p { color: var(--text-muted); font-weight: 600; font-size: 1rem; }

/* Banner Pink - Lebih Rounded */
.hero-banner {
    background-color: var(--banner-pink);
    border-radius: 35px; /* Dari 25px jadi 35px */
    padding: 35px 40px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(248, 125, 133, 0.2);
}

.hero-banner h2 { font-weight: 800; font-size: 2rem; margin-bottom: 10px; letter-spacing: -0.5px;}
.hero-banner p { margin: 0; font-size: 1.05rem; opacity: 0.9; font-weight: 600; }

.banner-icon {
    font-size: 6rem;
    opacity: 0.15;
    position: absolute;
    right: 20px;
    top: -15px;
    transform: rotate(15deg);
}

/* Kartu Aset */
.section-title { font-weight: 800; color: var(--text-dark); margin-bottom: 25px; font-size: 1.3rem; }

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Kolom sedikit diperbesar */
    gap: 25px;
    margin-bottom: 40px;
}

.action-card {
    background: var(--card-bg);
    border: 1.5px solid #f0f4f8; /* Border lebih soft */
    border-radius: 30px; /* LENGKUNGAN EKSTREM untuk kartu */
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: #e2e8f0;
}

.action-card .icon-wrapper {
    width: 65px;
    height: 65px;
    background: #f8fafc;
    border-radius: 20px; /* Icon membulat */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.action-card .card-text { font-weight: 800; font-size: 1.05rem; line-height: 1.4;}

/* --- RIGHT PANEL (KUNING) - KONSEP KOTAK DALAM KOTAK --- */
/* Panel utama tidak dikasih warna kuning langsung */
.right-panel-container {
    width: 360px;
    padding: 30px 30px 30px 0; /* Padding kanan, atas, bawah. Kiri 0 biar nempel main content */
}

/* Ini kotak kuningnya (Kotak di dalam kotak) */
.inner-yellow-box {
    background-color: var(--right-bg);
    border-radius: 40px; /* Melengkung mandiri di dalam */
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 15px 40px rgba(252, 208, 91, 0.3); /* Glowing kuning */
}

.right-title { font-weight: 800; color: var(--text-dark); font-size: 1.4rem; letter-spacing: -0.5px;}

/* List Sosmed / Link di panel kanan */
.link-item-right {
    background: rgba(255,255,255,0.7); /* Transparan putih */
    border-radius: 25px; /* Kartu lebih membulat */
    padding: 15px 20px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    text-decoration: none;
    color: var(--text-dark);
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.link-item-right:hover {
    background: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.link-item-left { display: flex; align-items: center; gap: 15px; }

.link-icon-bg {
    background: white;
    width: 45px; height: 45px;
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

.link-text { font-weight: 800; font-size: 1rem; }

/* =========================================
   MOBILE RESPONSIVE (UNTUK TAMPILAN HP)
   ========================================= */
@media (max-width: 992px) {
    body { padding: 10px; }
    
    .dashboard-wrapper {
        flex-direction: column;
        border-radius: 40px;
    }

    .sidebar {
        width: 100%;
        border-radius: 40px 40px 0 0;
        padding: 40px 20px;
    }

    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .main-content {
        width: 100%;
        padding: 40px 25px;
    }
    
    .hero-banner {
        padding: 30px 25px;
        border-radius: 30px;
    }
    .banner-icon { display: none; }

    /* Penyesuaian Panel Kuning di HP */
    .right-panel-container {
        width: 100%;
        padding: 0 25px 40px 25px; /* Padding dipindah ke bawah */
    }
    .inner-yellow-box {
        border-radius: 35px;
        padding: 30px 20px;
    }
}