/* style.css */
:root {
    --primary: #0a4b7a;
    --secondary: #1a7a5a;
    --accent: #f4a61d;
    --light-bg: #f0f4f8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--light-bg); }

/* Login */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a4b7a 0%, #1a7a5a 100%);
    padding: 20px;
}
.login-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 35px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
}
.login-card .logo { max-width: 100px; margin-bottom: 15px; }
.login-card h3 { color: var(--primary); font-weight: 700; }
.login-card .sub { color: #666; font-size: 0.9rem; margin-bottom: 25px; }
.login-card .form-control { border-radius: 30px; padding: 12px 20px; }
.btn-login {
    background: var(--primary); color: #fff; border-radius: 30px; padding: 12px;
    font-weight: 600; width: 100%; border: none; transition: 0.3s;
}
.btn-login:hover { background: #06345a; transform: scale(1.02); }

/* Sidebar */
.sidebar {
    position: fixed; top: 0; left: 0; height: 100%; width: 250px;
    background: #0a1e2f; padding: 20px 0; transition: 0.3s; z-index: 1000; overflow-y: auto;
}
.sidebar .brand { text-align: center; padding: 10px 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar .brand img { max-width: 70px; border-radius: 50%; background: #fff; padding: 5px; }
.sidebar .brand h5 { color: #fff; font-size: 0.9rem; margin-top: 8px; font-weight: 600; }
.sidebar .brand small { color: #aac; font-size: 0.65rem; }
.sidebar .nav-item {
    padding: 8px 20px; margin: 2px 10px; border-radius: 10px;
    color: #b0c4de; display: flex; align-items: center; gap: 12px;
    text-decoration: none; transition: 0.3s; font-size: 0.9rem; font-weight: 500;
}
.sidebar .nav-item:hover, .sidebar .nav-item.active { background: rgba(255,255,255,0.1); color: #fff; }
.sidebar .nav-item i { width: 22px; text-align: center; }
.sidebar .nav-item .badge { margin-left: auto; background: var(--accent); color: #000; }
.sidebar .user-info {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.1); color: #aac; font-size: 0.8rem;
}
.sidebar .user-info strong { display: block; color: #fff; }

/* Main */
.main-content { margin-left: 250px; padding: 20px 30px 80px; min-height: 100vh; }
.top-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 20px; flex-wrap: wrap; gap: 10px; }
.top-bar h4 { font-weight: 700; color: var(--primary); margin: 0; }
.top-bar .user-badge { background: #fff; padding: 8px 18px; border-radius: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); font-size: 0.85rem; }
.top-bar .user-badge i { color: var(--primary); margin-right: 6px; }
.menu-toggle { display: none; background: var(--primary); color: #fff; border: none; border-radius: 10px; padding: 8px 14px; font-size: 1.2rem; }

/* Cards */
.stat-card {
    background: #fff; border-radius: 16px; padding: 20px 22px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: 0.3s;
    border-left: 5px solid var(--primary); height: 100%;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.stat-card .num { font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-card .label { color: #777; font-size: 0.85rem; }
.stat-card .icon { font-size: 2.2rem; opacity: 0.15; float: right; }

/* Tables */
.table-wrapper { background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); overflow-x: auto; }
.table-wrapper .table th { background: var(--primary); color: #fff; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.table-wrapper .table td { vertical-align: middle; font-size: 0.85rem; }

/* Buttons */
.btn-primary-custom { background: var(--primary); border: none; color: #fff; border-radius: 30px; padding: 8px 22px; font-weight: 600; transition: 0.3s; }
.btn-primary-custom:hover { background: #06345a; color: #fff; transform: scale(1.03); }
.btn-secondary-custom { background: var(--secondary); border: none; color: #fff; border-radius: 30px; padding: 8px 22px; font-weight: 600; }
.btn-secondary-custom:hover { background: #0f5a40; color: #fff; }
.btn-accent-custom { background: var(--accent); border: none; color: #000; border-radius: 30px; padding: 8px 22px; font-weight: 600; }
.btn-accent-custom:hover { background: #d48f1a; color: #000; }

/* Responsive */
@media (max-width: 768px) {
    .sidebar { width: 0; overflow: hidden; padding: 0; }
    .sidebar.open { width: 250px; padding: 20px 0; }
    .main-content { margin-left: 0; padding: 15px; }
    .top-bar h4 { font-size: 1.1rem; }
    .stat-card .num { font-size: 1.5rem; }
    .menu-toggle { display: inline-block; }
}
.badge.bg-disposed { background-color: #6c757d; }
/* Add these if needed */
.badge-primary { background-color: #0a4b7a; }
.badge-warning { background-color: #ffc107; color: #000; }
.badge-success { background-color: #28a745; }
.badge-info { background-color: #17a2b8; color: #fff; }
.badge-dark { background-color: #343a40; }
.text-purple { color: #6f42c1; }
.btn-success { background: #28a745; border: none; }
.btn-success:hover { background: #1e7e34; }
.btn-info { background: #17a2b8; border: none; }
.btn-info:hover { background: #117a8b; }
.btn-dark { background: #343a40; border: none; }
.btn-dark:hover { background: #1d2124; }
.progress { border-radius: 10px; background: #e9ecef; }
.progress-bar { border-radius: 10px; font-weight: 600; font-size: 0.8rem; }