@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #EFF6FF;
    --primary-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-primary: #0F172A;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08);
    --shadow-blue: 0 10px 25px -5px rgba(37, 99, 235, 0.22);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-primary);
    overflow-x: hidden;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.serif-title {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.04em;
}

/* Tombol Elegan Modern */
.btn-primary-blue {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #FFFFFF !important;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.btn-primary-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
    color: #FFFFFF !important;
}

.btn-outline-blue {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary) !important;
    font-weight: 600;
    padding: 0.6rem 1.3rem;
    border-radius: 10px;
    transition: var(--transition);
}

.btn-outline-blue:hover {
    background: var(--primary);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Input Form Modern */
.form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
}

.form-control, .form-select {
    background-color: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    padding: 0.65rem 1rem;
    color: var(--text-primary);
    font-size: 0.92rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    outline: none;
}

.input-group-text {
    border: 1.5px solid #CBD5E1;
    border-radius: 10px 0 0 10px;
    background-color: #F8FAFC;
    color: #64748B;
}

/* Authentication (Login & Register) Card Terpusat */
.auth-wrapper {
    background: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.08) 0, transparent 50%), 
                radial-gradient(at 100% 100%, rgba(15, 23, 42, 0.04) 0, transparent 50%), #F1F5F9;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
}

.auth-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
    width: 100%;
    max-width: 440px;
    padding: 2.75rem 2.5rem;
    margin: auto;
}

.auth-card h2 span {
    color: var(--primary);
}

/* Sidebar Clean Tech Light */
.sidebar {
    background: #FFFFFF !important;
    min-height: 100vh;
    box-shadow: 2px 0 12px rgba(15, 23, 42, 0.04);
    border-right: 1px solid #E2E8F0;
    z-index: 100;
}

.sidebar-brand {
    border-bottom: 1px solid #E2E8F0;
    padding: 1.5rem 1rem !important;
    background: #FFFFFF;
}

.sidebar-brand h4 {
    color: #0F172A !important;
    font-weight: 800;
    font-size: 1.35rem;
}

.sidebar-brand h4 span {
    color: #2563EB !important;
}

.sidebar-brand small, .sidebar-brand p {
    color: #64748B !important;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar .nav-link {
    color: #475569 !important;
    padding: 0.75rem 1.25rem !important;
    margin: 4px 10px;
    border-radius: 8px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar .nav-link i {
    color: #64748B !important;
    font-size: 1.1rem;
    transition: var(--transition);
}

.sidebar .nav-link:hover {
    color: #2563EB !important;
    background: #EFF6FF !important;
    transform: translateX(3px);
}

.sidebar .nav-link:hover i {
    color: #2563EB !important;
}

.sidebar .nav-link.active {
    color: #FFFFFF !important;
    background: var(--primary-gradient) !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    font-weight: 600;
}

.sidebar .nav-link.active i {
    color: #FFFFFF !important;
}

/* Main Content Area */
.main-content {
    background-color: #F8FAFC;
    min-height: 100vh;
    padding: 2rem 2.5rem;
}

/* Cards & Containers */
.card, .dashboard-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.dashboard-card {
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.card-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    padding: 1.15rem 1.5rem;
    font-weight: 600;
}

/* Table Styling */
.table th {
    background: #F8FAFC;
    color: #475569;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.95rem 1.25rem;
    border-bottom: 1px solid #E2E8F0;
}

.table td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    color: #334155;
    font-size: 0.88rem;
    border-bottom: 1px solid #F1F5F9;
}

.table tbody tr:hover {
    background-color: #F8FAFC;
}

/* Stat & Icon Circles */
.icon-box-blue {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.bg-blue-light {
    background-color: #EFF6FF !important;
}

.fs-7 { font-size: 0.875rem !important; }
.fs-8 { font-size: 0.8rem !important; }
.fs-9 { font-size: 0.725rem !important; }

/* Status Badges */
.badge {
    padding: 0.45em 0.8em;
    font-weight: 600;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* Navbar Landing Page */
nav.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    padding: 1rem 0;
}

nav.navbar .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--text-primary);
}

nav.navbar .navbar-brand span {
    color: var(--primary);
}

nav.navbar .nav-link {
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

nav.navbar .nav-link:hover {
    color: var(--primary);
}

/* Hero Section Spacing */
.hero-section {
    padding-top: 6rem;
    padding-bottom: 2rem;
}

/* ==================== FOOTER STYLING ==================== */
footer {
    background-color: #FFFFFF;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem 0 !important;
    margin-top: 4rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 0.75rem;
    max-width: 90%;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-contact-list li {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0.85rem !important;
    line-height: 1.5;
}

.footer-contact-list i {
    color: var(--primary);
    font-size: 1.15rem;
}

footer hr {
    border-color: var(--border-color);
    opacity: 0.8;
    margin: 3rem 0 2rem 0 !important;
}

.footer-bottom {
    color: var(--text-muted);
    font-size: 0.875rem;
}

