html, body {
    background-color: #f8fafc;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.text-decoration-none {
    color: inherit !important;
}

/* ===== Navbar ===== */
.navbar-dashboard {
    background: linear-gradient(90deg, #6cc3e8 0%, #4a9bd6 100%);
    padding: 12px 20px;
}

.brand-crown {
    font-size: 30px;
    color: #f4b942;
}

.brand-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 22px;
}

.brand-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}

.btn-hamburger {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
}

.admin-toggle {
    color: #ffffff !important;
}

.admin-toggle::after {
    color: #fff;
}

.admin-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #4a9bd6;
}

.admin-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
}

.admin-role {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
}

/* ===== Judul Dashboard ===== */
.dashboard-title {
    color: #1e3a5f;
    font-weight: 800;
}

/* ===== Layout ===== */
.wrapper {
    display: flex;
    align-items: stretch;
}

/* ===== Sidebar ===== */
.sidebar {
    width: 250px;
    min-height: calc(100vh - 66px);
    background: #ffffff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.06);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
}

.sidebar a {
    display: flex;
    align-items: center;
    padding: 13px 22px;
    color: #45526e;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.sidebar a i {
    font-size: 20px;
    margin-right: 14px;
    width: 22px;
    text-align: center;
}

.sidebar a:hover {
    background-color: #eaf4fd;
    color: #3f8fd1;
}

.sidebar a.active {
    background-color: #eaf4fd;
    color: #3f8fd1;
    font-weight: 700;
    border-left: 4px solid #3f8fd1;
    padding-left: 18px;
}

/* Ilustrasi bawah sidebar */
.sidebar-illustration {
    margin-top: auto;
    position: relative;
    height: 170px;
    overflow: hidden;
}

.illu-ground {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 34px;
    background: #bfe8c8;
}

.illu-building {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.illu-building i.bi-bank2 {
    font-size: 72px;
    color: #6cc3e8;
}

.illu-flag {
    position: absolute;
    top: -14px;
    right: 6px;
    font-size: 16px;
    color: #f4b942;
}

.illu-cloud {
    position: absolute;
    color: #eaf4fd;
    font-size: 26px;
}

.illu-cloud-1 { top: 10px; left: 20px; }
.illu-cloud-2 { top: 30px; right: 24px; font-size: 20px; }

/* ===== Area konten ===== */
.main-content {
    flex: 1;
    padding: 24px 28px;
    min-width: 0;
}

/* ===== Card Statistik ===== */
.card-dashboard {
    border: none;
    border-radius: 16px;
    padding: 20px;
    transition: 0.25s;
    height: 100%;
}

.card-dashboard:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.card-dashboard .card-title {
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 6px;
    font-size: 16px;
}

.card-dashboard h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 6px;
}

.card-dashboard .card-link {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

/* Warna hijau */
.card-green {
    background-color: #e5f6ec;
}
.card-green h2, .card-green .card-link { color: #2fa66a; }
.card-green .card-icon { background: #c9ecd7; color: #2fa66a; }

/* Warna kuning */
.card-yellow {
    background-color: #fef6e3;
}
.card-yellow h2, .card-yellow .card-link { color: #d99a1f; }
.card-yellow .card-icon { background: #fbe6b6; color: #d99a1f; }

/* ===== Info & Aktivitas ===== */
.info-card, .activity-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
}

.info-card h5, .activity-card h5 {
    color: #1e3a5f;
    font-weight: 700;
    margin-bottom: 16px;
}

.info-card .info-icon {
    width: 90px;
    height: 90px;
    border-radius: 14px;
    background: #eaf4fd;
    color: #4a9bd6;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card p {
    color: #5a6478;
    font-size: 14px;
    margin-bottom: 14px;
}

.btn-info-more {
    background-color: #4a9bd6;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.btn-info-more:hover {
    background-color: #3a80b8;
    color: #fff;
}

.activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f6;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-left {
    display: flex;
    align-items: center;
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

.activity-text {
    font-size: 14px;
    color: #2d3436;
}

.activity-time {
    font-size: 12px;
    color: #9aa3b2;
    white-space: nowrap;
}

/* ===== Footer ===== */
.footer-dashboard {
    background-color: #eef4fb;
    padding: 14px 0;
    margin-top: 30px;
    font-size: 13px;
    color: #5a6478;
}

.footer-heart {
    color: #e2566d;
}

/* ===== Responsive sidebar ===== */
@media (max-width: 767.98px) {
    .sidebar {
        position: fixed;
        left: -260px;
        top: 66px;
        bottom: 0;
        z-index: 1000;
        transition: 0.25s;
    }
    .sidebar.sidebar-open {
        left: 0;
    }
}