/* =============================================
   E-Arsip Mahasiswa - Custom Styles
   Minimal overrides of Bootstrap 5
   ============================================= */

body {
    background-color: #f4f6f9;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ── Sidebar (Desktop) ── */
.sidebar {
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    min-height: calc(100vh - 56px);
}

.sidebar .nav-link {
    color: #212529;
    border-radius: 0.375rem;
    padding: 0.625rem 1rem;
    transition: background-color 0.15s ease;
}

.sidebar .nav-link:hover {
    background-color: #e3f2fd;
}

.sidebar .nav-link.active {
    background-color: #0d6efd;
    color: #ffffff;
}

.sidebar .nav-link i {
    margin-right: 0.75rem;
}

/* ── Dashboard Statistics Cards ── */
.card-value {
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 0.25rem;
    color: #212529;
}

/* ── Login Card ── */
.login-card {
    max-width: 400px;
    width: 100%;
}

/* ── Table Hover ── */
.table-hover tbody tr:hover {
    background-color: #e3f2fd;
}

/* ── Main Content ── */
.main-content {
    padding: 1.5rem;
    width: 100%;
    min-height: calc(100vh - 56px);
}

/* ── Breadcrumb ── */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

/* ── Category Badge ── */
.badge.bg-primary.bg-opacity-10 {
    font-weight: 500;
}

/* ── Responsive Adjustments ── */
@media (max-width: 767.98px) {
    .main-content {
        padding: 1rem;
    }

    .card-value {
        font-size: 2rem;
    }

    /* Full-width buttons on mobile */
    .btn-mobile-full {
        width: 100%;
    }
}

/* ── Offcanvas Sidebar Styles ── */
.offcanvas .nav-link {
    color: #212529;
    border-radius: 0.375rem;
    padding: 0.625rem 1rem;
}

.offcanvas .nav-link:hover {
    background-color: #e3f2fd;
}

.offcanvas .nav-link.active {
    background-color: #0d6efd;
    color: #ffffff;
}

.offcanvas .nav-link i {
    margin-right: 0.75rem;
}

/* ── Card Header ── */
.card-header {
    border-bottom: 1px solid #dee2e6;
}

/* ── Alert Improvements ── */
.alert {
    border-radius: 0.375rem;
}

/* ── Footer ── */
footer {
    background-color: #f8f9fa;
}
