:root {
    --brand-50: #eff6ff;
    --brand-100: #dbeafe;
    --brand-500: #3b82f6;
    --brand-600: #1b3878;
    --brand-700: #1d4ed8;
    --brand-900: #1e3a8a;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-500: #64748b;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--slate-50);
    color: var(--slate-800);
    -webkit-font-smoothing: antialiased;
}

/* ─── Global Utility ─── */
.text-brand {
    color: var(--brand-600);
}

.bg-brand {
    background-color: var(--brand-600) !important;
    color: white;
}

.btn-brand {
    background-color: var(--brand-600);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background-color: var(--brand-700);
    color: white;
    transform: translateY(-2px);
}

.rounded-xl {
    border-radius: 1rem !important;
}

.rounded-2xl {
    border-radius: 1.5rem !important;
}

.shadow-soft {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, .05),
        0 8px 10px -6px rgba(0, 0, 0, .01);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Navbar ─── */
.navbar-custom {
    background-color: var(--brand-600);
    border-bottom: none;
    padding: 12px 0;
    transition: all 0.3s;
}

/* ✅ Brand area */
.navbar-brand {
    flex-shrink: 1;
    min-width: 0;
}

.navbar-brand img {
    width: auto;
    height: 52px;
    max-width: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.navbar-brand .brand-text {
    min-width: 0;
}

.navbar-brand h1 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    white-space: normal;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.navbar-brand p {
    font-size: 0.65rem;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    color: #e2e8f0;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ✅ Nav link */
.nav-link {
    color: #f8fafc;
    font-weight: 500;
    font-size: 1rem;
    margin: 0 6px;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #93c5fd;
}

/* ─── Footer ─── */
.footer-custom {
    background-color: var(--slate-900);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 1px solid var(--slate-800);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--brand-500);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--brand-500);
    margin-top: 4px;
}

/* ─── Pagination Custom ─── */
.pagination .page-link {
    color: #1b3878;
    border: 1.5px solid #dbeafe;
    background-color: #f8fafc;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: center;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background-color: #1b3878;
    border-color: #1b3878;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(27, 56, 120, 0.25);
}

.pagination .page-item.active .page-link {
    background-color: #1b3878;
    border-color: #1b3878;
    color: white;
    box-shadow: 0 4px 12px rgba(27, 56, 120, 0.35);
}

.pagination .page-item.disabled .page-link {
    color: #cbd5e1;
    background-color: #f8fafc;
    border-color: #e2e8f0;
}

/* ─── SweetAlert2 Fix ─── */
.swal2-icon {
    display: flex !important;
}

.swal2-icon.swal2-warning {
    border-color: #f8bb86 !important;
    color: #f8bb86 !important;
}

.swal2-styled.swal2-confirm {
    background-color: #3085d6 !important;
    color: #fff !important;
    border: none !important;
}

.swal2-styled.swal2-cancel {
    background-color: #d33 !important;
    color: #fff !important;
    border: none !important;
}
