/* =====================
   General & Background
   ===================== */
body, .wrapper {
    background-color: #f0f2f5 !important;
}

/* =====================
   Sidebar
   ===================== */
.main-sidebar {
    background-color: #ffffff !important;
    box-shadow: 2px 0 8px rgba(0,0,0,0.06) !important;
}

.brand-link {
    background-color: #ffffff !important;
    border-bottom: 1px solid #f0f2f5 !important;
}

.brand-link .brand-text {
    color: #333333 !important;
    font-weight: 600;
}

.brand-image {
    max-height: 100px !important;
    width: auto !important;
    margin-top: 0 !important;
}

.nav-sidebar .nav-link {
    color: #555555 !important;
    font-weight: 400;
    border-radius: 6px;
    margin: 2px 8px;
}

.nav-sidebar .nav-link:hover,
.nav-sidebar .nav-link.active {
    background-color: #f0f2f5 !important;
    color: #333333 !important;
}

.nav-sidebar .nav-link p {
    color: #555555 !important;
}

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

/* =====================
   Top Navbar
   ===================== */
.main-header.navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #f0f2f5 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
}

/* =====================
   Cards
   ===================== */
.card {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}

.card-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #f5f5f5 !important;
    border-radius: 12px 12px 0 0 !important;
}

/* =====================
   Stat Cards
   ===================== */
.info-box {
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    border: none !important;
}

/* =====================
   Buttons
   ===================== */
.btn {
    border-radius: 8px !important;
    font-weight: 500;
}

.btn-primary {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
}

.btn-primary:hover {
    background-color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
}

/* =====================
   Badges / Status
   ===================== */
.badge {
    border-radius: 20px !important;
    padding: 5px 12px !important;
    font-weight: 500 !important;
    font-size: 12px !important;
}

.badge-success {
    background-color: #d1fae5 !important;
    color: #065f46 !important;
}

.badge-warning {
    background-color: #fef3c7 !important;
    color: #92400e !important;
}

.badge-info {
    background-color: #dbeafe !important;
    color: #1e40af !important;
}

.badge-danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
}

/* =====================
   Tables
   ===================== */
.table thead th {
    background-color: #f8f9fa !important;
    border-bottom: 2px solid #e9ecef !important;
    color: #666666 !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    vertical-align: middle !important;
    color: #444444;
}

.table-bordered td,
.table-bordered th {
    border-color: #f0f2f5 !important;
}

/* =====================
   Forms
   ===================== */
.form-control {
    border-radius: 8px !important;
    border-color: #e2e8f0 !important;
    color: #444444 !important;
}

.form-control:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1) !important;
}

/* =====================
   Content Header
   ===================== */
.content-header h1 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #333333 !important;
}