
/* ROOT RESET */
body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    background: #f8fafc;
    color: #1e293b;
}

/* WRAPPER FIX */
.wrapper, .container, .content {
    width: 100%;
}

/* DASHBOARD LAYOUT */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    width: 240px;
    background: #0f172a;
    color: #e2e8f0;
    padding: 20px;
    transition: all 0.3s ease;
}

.sidebar a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #cbd5f5;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar a:hover {
    background: #1e293b;
    color: #fff;
}

/* MAIN */
.main {
    flex: 1;
    padding: 20px;
}

/* TOPBAR */
.topbar {
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* CARDS */
.card, .panel, .box {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* TABLE */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
}

/* BUTTONS */
button, .btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    transition: 0.2s;
}

button:hover, .btn:hover {
    background: #1d4ed8;
}

/* LOGIN */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
}

.login-box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: fadeIn 0.6s ease;
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* ANIMATION */
@keyframes fadeIn {
    from {opacity:0; transform: translateY(10px);}
    to {opacity:1; transform: translateY(0);}
}

/* MOBILE */
@media (max-width: 768px) {
    .dashboard-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
}
