:root {
    --sidebar-bg: #b91c1c; /* Deep Red */
    --sidebar-text: #ffffff;
    --sidebar-active-bg: rgba(255, 255, 255, 0.15);
    --sidebar-hover-bg: rgba(255, 255, 255, 0.1);
    --body-bg: #ffffff;
    --card-bg: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --border-radius: 16px;
    --primary-color: #b91c1c;
}

/* Global Body Override */
body {
    background-color: var(--body-bg);
}

.profile-settings-area {
    background-color: var(--body-bg) !important;
}

/* Sidebar Styling */
.profile-settings-menu {
    background-color: var(--sidebar-bg) !important;
    border-radius: 24px !important;
    padding: 24px !important;
    color: var(--sidebar-text);
    box-shadow: var(--card-shadow);
    height: calc(100vh - 40px);
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
}

.profile-settings-menu-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* User Profile in Sidebar */
.sidebar-user-profile {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
}

.sidebar-user-name {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
}

.sidebar-user-email {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--sidebar-bg);
}

/* Menu Items */
.profile-settings-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-settings-menu-item {
    margin-bottom: 8px;
    border: none !important;
}

.profile-settings-menu-item-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    background: transparent;
    border: none !important;
}

.profile-settings-menu-item-link:hover,
.profile-settings-menu-item.active .profile-settings-menu-item-link {
    background-color: var(--sidebar-active-bg);
    color: white !important;
    transform: translateX(5px);
}

.profile-settings-menu-item-link i {
    width: 24px;
    margin-right: 12px;
    font-size: 18px;
    text-align: center;
}

/* Logout Button */
.profile-settings-menu-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.profile-settings-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-settings-logout-btn:hover {
    background-color: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* Dashboard Stat Cards */
.dashboard-stat-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    align-items: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.dashboard-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
}

.stat-icon.pink {
    background-color: #fce7f3;
    color: #db2777;
}

.stat-icon.purple {
    background-color: #ede9fe;
    color: #7c3aed;
}

.stat-icon.green {
    background-color: #dcfce7;
    color: #16a34a;
}

.stat-icon.orange {
    background-color: #ffedd5;
    color: #ea580c;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* Toggle Switch Red Styling */
.custom_switch input:checked + .slider {
    background-color: #dc2626 !important;
}

.custom_switch input:focus + .slider {
    box-shadow: 0 0 1px #dc2626 !important;
}
