﻿/* ===== BASE ===== */
body {
    background: #0b1220;
    color: #e5e7eb;
    font-family: 'Inter', sans-serif;
}

/* ===== LAYOUT ===== */
.sidebar {
    background: linear-gradient(180deg, #020617, #0f172a);
    min-height: 100vh;
    width: 250px;
    border-right: 1px solid #1e293b;
}

.main-content {
    background: #0b1220;
}

/* ===== SIDEBAR ===== */
.sidebar h5 {
    font-weight: 700;
    letter-spacing: 1px;
}

.sidebar .nav-link {
    color: #94a3b8;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 6px;
    transition: all 0.2s ease;
}

    .sidebar .nav-link:hover {
        background: #1e293b;
        color: #fff;
    }

    .sidebar .nav-link.active {
        background: linear-gradient(90deg, #2563eb, #3b82f6);
        color: white;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    }

/* ===== NAVBAR ===== */
.navbar {
    background: #020617 !important;
    border-bottom: 1px solid #1e293b;
}

/* ===== CARDS ===== */
.card {
    background: linear-gradient(145deg, #111827, #1f2937);
    border-radius: 16px;
    border: none;
    padding: 15px;
    transition: 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.6);
    }

/* ===== DASHBOARD CARDS ===== */
.dashboard-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-icon {
    font-size: 38px;
    opacity: 0.8;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: 10px;
    padding: 8px 14px;
}

.btn-primary {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border: none;
}

    .btn-primary:hover {
        background: linear-gradient(90deg, #1d4ed8, #2563eb);
    }

/* ===== TABLE ===== */
.table {
    color: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

    .table thead {
        background: #1e293b;
    }

    .table tbody tr {
        transition: 0.2s;
    }

        .table tbody tr:hover {
            background: #1f2937;
        }

/* ===== INPUT ===== */
.form-control {
    background: #020617;
    border: 1px solid #334155;
    color: #e5e7eb;
    border-radius: 10px;
}

    .form-control:focus {
        border-color: #3b82f6;
        background: #020617;
        color: white;
        box-shadow: none;
    }

/* ===== BADGES ===== */
.badge {
    padding: 6px 10px;
    border-radius: 8px;
}

/* ===== SECTION TITLE ===== */
h3, h5 {
    font-weight: 600;
}

/* ===== SPACING FIX ===== */
.row {
    margin-bottom: 10px;
}
/* ===== LOGIN PAGE ===== */

.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.login-card {
    width: 360px;
    padding: 30px;
    border-radius: 16px;
    background: linear-gradient(145deg, #111827, #1f2937);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    animation: fadeIn 0.4s ease;
}

    .login-card h2 {
        color: #fff;
    }

    .login-card .form-label {
        font-size: 13px;
        color: #94a3b8;
    }

.otp-box {
    letter-spacing: 10px;
    font-size: 22px;
}

/* animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}