* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --success-color: #4cc9f0;
    --danger-color: #f72585;
    --warning-color: #f8961e;
    --dark-color: #1e1e2f;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --border-radius: 10px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    
    /* Light Theme Variables */
    --bg-body: linear-gradient(135deg, #f5f7fc 0%, #eef2f8 100%);
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --bg-sidebar-card: #ffffff;
    --bg-section-alt: #f8fafc;
    --bg-hover: #f7fafc;
    --bg-active: linear-gradient(135deg, #eef2ff, #e8edff);
    --bg-payment-icon: linear-gradient(135deg, #eef2ff, #e8edff);
    --bg-history-icon: linear-gradient(135deg, #eef2ff, #e8edff);
    --bg-delete-consequences: #fff8f8;
    --bg-delete-note: #fff3cd;
    --bg-delete-user-info: #f8fafc;
    --bg-delete-final-warning: #fff0f0;
    --bg-modal-header: linear-gradient(135deg, #f8fafc, #eef2f8);
    --bg-notification-settings: #f8fafc;
    --bg-preferences-settings: #f8fafc;
    --bg-access-card: rgba(255,255,255,0.05);
    --bg-access-overlay: linear-gradient(135deg, #1e1e2f 0%, #2d2b55 50%, #1a1a3e 100%);
    --bg-delete-modal-header: linear-gradient(135deg, #fff5f5, #ffe8e8);
    --bg-delete-modal-header-danger: linear-gradient(135deg, #1e1e2f, #3d0000);
    
    --text-primary: #333333;
    --text-secondary: #6c757d;
    --text-heading: #1e1e2f;
    --text-dark: #1e1e2f;
    --text-muted: #6c757d;
    --text-delete-header: #8b0000;
    --text-delete-header-p: #666;
    --text-delete-consequences-title: #8b0000;
    --text-delete-consequences-li: #5a0000;
    --text-delete-note: #856404;
    --text-delete-final-warning: #6b0000;
    
    --border-color: #e2e8f0;
    --border-light: #eef2f8;
    --border-delete-consequences: #ffd0d0;
    --border-delete-note: #ffc107;
    --border-delete-modal-header: #ffd5d5;
    --border-delete-modal-header-danger: #8b0000;
    --border-delete-user-info: #e2e8f0;
    --border-delete-final-warning: #ffd0d0;
    --border-modal: #e2e8f0;
    --border-access-card: rgba(255,255,255,0.1);
    
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.2);
    --shadow-sidebar: -5px 0 20px rgba(0,0,0,0.2);
    --shadow-access-card: 0 25px 60px rgba(0,0,0,0.4);
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-sidebar: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-user-header: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    
    --footer-text: rgba(255,255,255,0.8);
    --footer-text-hover: #ffffff;
    --footer-border: rgba(255,255,255,0.1);
    --footer-heading-border: #ffffff;
    --footer-social-bg: rgba(255,255,255,0.1);
    
    --status-completed-bg: #d4edda;
    --status-completed-text: #155724;
    --status-pending-bg: #fff3cd;
    --status-pending-text: #856404;
    --status-cancelled-bg: #f8d7da;
    --status-cancelled-text: #721c24;
    --status-in-progress-bg: #cce5ff;
    --status-in-progress-text: #004085;
    
    --scrollbar-track: #f1f1f1;
    --scrollbar-thumb: #cbd5e0;
    --scrollbar-thumb-hover: #a0aec0;
}

/* Dark Theme Overrides */
[data-theme="dark"] {
    --bg-body: linear-gradient(135deg, #121212 0%, #1a1a2e 100%);
    --bg-white: #1e1e2f;
    --bg-card: #1e1e2f;
    --bg-input: #2a2a3e;
    --bg-sidebar-card: #1e1e2f;
    --bg-section-alt: #2a2a3e;
    --bg-hover: #2a2a3e;
    --bg-active: linear-gradient(135deg, #2a2a4e, #2a2a3e);
    --bg-payment-icon: linear-gradient(135deg, #2a2a4e, #2a2a3e);
    --bg-history-icon: linear-gradient(135deg, #2a2a4e, #2a2a3e);
    --bg-delete-consequences: #2a1a1a;
    --bg-delete-note: #2a2a1a;
    --bg-delete-user-info: #2a2a3e;
    --bg-delete-final-warning: #2a1a1a;
    --bg-modal-header: linear-gradient(135deg, #2a2a3e, #1e1e2f);
    --bg-notification-settings: #2a2a3e;
    --bg-preferences-settings: #2a2a3e;
    --bg-access-card: rgba(255,255,255,0.03);
    --bg-access-overlay: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a1e 100%);
    --bg-delete-modal-header: linear-gradient(135deg, #2a1a1a, #1e1a1a);
    --bg-delete-modal-header-danger: linear-gradient(135deg, #1a0a0a, #2a0a0a);
    
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0b0;
    --text-heading: #e0e0e0;
    --text-dark: #e0e0e0;
    --text-muted: #a0a0b0;
    --text-delete-header: #ff6b6b;
    --text-delete-header-p: #b0b0c0;
    --text-delete-consequences-title: #ff6b6b;
    --text-delete-consequences-li: #ffaaaa;
    --text-delete-note: #ffcc00;
    --text-delete-final-warning: #ffaaaa;
    
    --border-color: #3a3a4e;
    --border-light: #2a2a3e;
    --border-delete-consequences: #3a1a1a;
    --border-delete-note: #3a3a1a;
    --border-delete-modal-header: #3a1a1a;
    --border-delete-modal-header-danger: #5a0a0a;
    --border-delete-user-info: #3a3a4e;
    --border-delete-final-warning: #3a1a1a;
    --border-modal: #3a3a4e;
    --border-access-card: rgba(255,255,255,0.05);
    
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.3);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.5);
    --shadow-sidebar: -5px 0 20px rgba(0,0,0,0.5);
    --shadow-access-card: 0 25px 60px rgba(0,0,0,0.6);
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-sidebar: linear-gradient(135deg, #1a1a2e 0%, #2a1a3e 100%);
    --gradient-user-header: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    
    --footer-text: rgba(255,255,255,0.75);
    --footer-text-hover: #ffffff;
    --footer-border: rgba(255,255,255,0.08);
    --footer-heading-border: rgba(255,255,255,0.7);
    --footer-social-bg: rgba(255,255,255,0.08);
    
    --status-completed-bg: #1a3a1a;
    --status-completed-text: #4caf50;
    --status-pending-bg: #3a3a1a;
    --status-pending-text: #ffc107;
    --status-cancelled-bg: #3a1a1a;
    --status-cancelled-text: #ff6b6b;
    --status-in-progress-bg: #1a2a3a;
    --status-in-progress-text: #64b5f6;
    
    --scrollbar-track: #1e1e2f;
    --scrollbar-thumb: #3a3a4e;
    --scrollbar-thumb-hover: #4a4a5e;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-body);
    min-height: 100vh;
    padding-top: 80px;
    overflow-x: hidden;
    color: var(--text-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

/* ========== THEME TOGGLE BUTTON ========== */
.theme-toggle-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-input);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    flex-shrink: 0;
    outline: none;
}

.theme-toggle-btn:hover {
    transform: rotate(15deg) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(67, 97, 238, 0.3);
}

.theme-toggle-btn:active {
    transform: rotate(15deg) scale(0.95);
}

.theme-toggle-btn i {
    position: absolute;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-dark);
}

.theme-toggle-btn .fa-sun {
    opacity: 0;
    transform: translateY(30px) rotate(-90deg);
    color: #f8961e;
}

.theme-toggle-btn .fa-moon {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
    color: #6366f1;
}

[data-theme="dark"] .theme-toggle-btn .fa-sun {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

[data-theme="dark"] .theme-toggle-btn .fa-moon {
    opacity: 0;
    transform: translateY(-30px) rotate(90deg);
}

[data-theme="dark"] .theme-toggle-btn:hover {
    box-shadow: 0 0 15px rgba(248, 150, 30, 0.3);
}

/* ========== ACCESS CONTROL OVERLAY ========== */
.access-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-access-overlay);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: overlayFadeIn 0.5s ease;
    transition: background 0.3s ease;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.access-card {
    background: var(--bg-access-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-access-card);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    max-width: 460px;
    width: 100%;
    animation: accessCardSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-access-card);
    transition: background 0.3s ease, border-color 0.3s ease;
}

@keyframes accessCardSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.access-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.2), rgba(67, 97, 238, 0.2));
    border: 2px solid rgba(247, 37, 133, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: lockPulse 2s ease-in-out infinite;
}

@keyframes lockPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.3); }
    50% { box-shadow: 0 0 0 15px rgba(247, 37, 133, 0); }
}

.access-icon i {
    font-size: 2.5rem;
    color: #f72585;
}

.access-card h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.access-card p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    margin-bottom: 35px;
    line-height: 1.6;
}

.access-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.access-actions .btn {
    border-radius: 50px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.access-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(67,97,238,0.35);
}

.access-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(67,97,238,0.45);
}

.access-actions .btn-outline-primary {
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.85);
    background: transparent;
}

.access-actions .btn-outline-primary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: white;
    transform: translateY(-2px);
}

.access-home {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.access-home a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.access-home a:hover {
    color: rgba(255,255,255,0.85);
}

.access-home a i {
    margin-right: 6px;
}

/* ========== TOP BAR ========== */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-white);
    padding: 12px 25px;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.top-bar .logo {
    width: 140px;
    transition: var(--transition);
}

.top-bar .logo:hover {
    transform: scale(1.05);
}

.top-bar-center {
    display: flex;
    align-items: center;
    gap: 20px;
}

.home-icon-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
}

.home-icon-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    color: white;
}

.home-icon-link i {
    font-size: 1.1rem;
}

.hamburger {
    font-size: 28px;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
    display: none;
}

.hamburger:hover {
    color: var(--primary-color);
}

/* ========== SIDEBAR ========== */
#sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1050;
    top: 0;
    right: 0;
    background: var(--gradient-sidebar);
    overflow-x: hidden;
    transition: 0.3s;
    box-shadow: var(--shadow-sidebar);
    padding-top: 70px;
}

#sidebar a {
    padding: 15px 30px;
    text-decoration: none;
    font-size: 16px;
    display: block;
    color: white;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-weight: 400;
    letter-spacing: 0.5px;
}

#sidebar a:hover {
    background: rgba(255,255,255,0.2);
    padding-left: 40px;
}

#sidebar a i {
    margin-right: 10px;
    width: 20px;
}

#sidebar .closebtn {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 30px;
    color: white;
    border-bottom: none;
    padding: 0;
}

#sidebar .closebtn:hover {
    background: transparent;
    padding-left: 0;
    transform: rotate(90deg);
}

/* ========== ACCOUNT WRAPPER ========== */
.account-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* ========== SIDEBAR CARD ========== */
.sidebar-card {
    background: var(--bg-sidebar-card);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: sticky;
    top: 100px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.user-header {
    background: var(--gradient-user-header);
    padding: 30px 20px;
    text-align: center;
    color: white;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 40px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.user-avatar .initial {
    font-size: 2rem;
    font-weight: bold;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-header h5 {
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 1.1rem;
}

.user-header p {
    margin-bottom: 0;
    font-size: 0.85rem;
    opacity: 0.9;
    word-break: break-all;
}

/* Account Menu */
.account-menu {
    list-style: none;
    padding: 15px 10px;
    margin: 0;
}

.account-menu li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    margin: 5px 0;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition), background-color 0.3s ease;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

.account-menu li i:first-child {
    font-size: 1.25rem;
    width: 24px;
    color: var(--text-secondary);
    transition: color 0.25s;
}

.account-menu li i:last-child {
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--transition);
    color: #cbd5e0;
}

.account-menu li:hover {
    background: var(--bg-hover);
    transform: translateX(5px);
    color: var(--primary-color);
}

.account-menu li:hover i:first-child {
    color: var(--primary-color);
}

.account-menu li:hover i:last-child {
    opacity: 1;
    transform: translateX(3px);
}

.account-menu li.active {
    background: var(--bg-active);
    color: var(--primary-color);
}

.account-menu li.active i:first-child {
    color: var(--primary-color);
}

.account-menu li.active i:last-child {
    opacity: 1;
    color: var(--primary-color);
}

.account-menu li span {
    flex: 1;
}

.logout-item {
    margin-top: 20px !important;
    border-top: 1px solid var(--border-color);
    border-radius: 0 !important;
    color: #dc3545 !important;
}

.logout-item i:first-child {
    color: #dc3545 !important;
}

.logout-item:hover {
    background: #fff5f5 !important;
}

/* Delete Account Menu Item */
.delete-account-item {
    color: #8b0000 !important;
    border-radius: 10px !important;
    margin-top: 5px !important;
    background: linear-gradient(135deg, #fff0f0, #ffe5e5) !important;
    border: 1px solid #ffcccc !important;
    position: relative;
    overflow: hidden;
}

.delete-account-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220,53,69,0.05), rgba(139,0,0,0.08));
    opacity: 0;
    transition: opacity 0.3s;
}

.delete-account-item i:first-child {
    color: #dc3545 !important;
}

.delete-account-item i:last-child {
    color: #dc3545 !important;
}

.delete-account-item:hover {
    background: linear-gradient(135deg, #ffe5e5, #ffd0d0) !important;
    color: #8b0000 !important;
    border-color: #ffaaaa !important;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(220,53,69,0.2) !important;
}

.delete-account-item:hover::before {
    opacity: 1;
}

.delete-account-item:hover i:first-child {
    color: #8b0000 !important;
}

/* ========== CONTENT CARD ========== */
.content-card {
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    padding: 40px;
    min-height: 600px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.account-section {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.account-section.active {
    display: block;
}

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

.section-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-light);
    transition: border-color 0.3s ease;
}

.section-header h3 {
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
    font-size: 1.75rem;
    transition: color 0.3s ease;
}

.section-header p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

/* ========== PROFILE PICTURE SECTION ========== */
.profile-picture-section {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    transition: border-color 0.3s ease;
}

.profile-picture-container {
    display: inline-block;
    text-align: center;
}

.profile-picture {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 60px;
    color: white;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.profile-picture:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.profile-picture i {
    font-size: 60px;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.profile-picture-actions .btn {
    padding: 5px 12px;
    font-size: 0.8rem;
    border-radius: 20px;
}

.profile-picture-container small {
    display: block;
    margin-top: 8px;
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    background-color: var(--bg-input);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
    outline: none;
    background-color: var(--bg-input);
    color: var(--text-primary);
}

.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 24px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.25);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.35);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-danger {
    border: 2px solid #dc3545;
    color: #dc3545;
    background: transparent;
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--text-muted);
    border: none;
    color: white;
}

/* ========== LOCATIONS SECTION ========== */
.add-location-box {
    margin-bottom: 20px;
}

.location-input-wrapper {
    display: flex;
    gap: 10px;
    width: 100%;
}

.location-input {
    flex: 1;
    min-width: 0;
}

.add-location-btn {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.locations-container {
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.location-item {
    background: var(--bg-section-alt);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition), background-color 0.3s ease, border-color 0.3s ease;
    flex-wrap: wrap;
    gap: 10px;
}

.location-item:hover {
    background: var(--bg-card);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.location-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.location-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.location-info span {
    font-weight: 500;
    color: var(--text-heading);
    word-break: break-word;
    transition: color 0.3s ease;
}

.location-actions {
    flex-shrink: 0;
}

.location-actions button {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* ========== PAYMENT METHODS ========== */
.payment-methods-container {
    margin-top: 10px;
}

.payment-item {
    background: var(--bg-section-alt);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition), background-color 0.3s ease, border-color 0.3s ease;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-item:hover {
    background: var(--bg-card);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.payment-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.payment-icon {
    width: 55px;
    height: 55px;
    background: var(--bg-payment-icon);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.payment-details {
    min-width: 0;
}

.payment-details h6 {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-heading);
    transition: color 0.3s ease;
}

.payment-details p {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    word-break: break-all;
    transition: color 0.3s ease;
}

/* Payment Modal */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    background-color: var(--bg-card);
    transition: background-color 0.3s ease;
}

.modal-header {
    background: var(--bg-modal-header);
    border-radius: 15px 15px 0 0;
    border-bottom: 1px solid var(--border-modal);
    padding: 20px 25px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.modal-title {
    font-weight: 700;
    color: var(--text-heading);
    transition: color 0.3s ease;
}

.modal-body {
    padding: 25px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.modal-footer {
    border-top: 1px solid var(--border-modal);
    padding: 20px 25px;
    gap: 10px;
    transition: border-color 0.3s ease;
}

.btn-close {
    filter: var(--text-muted);
}

/* ========== SERVICE HISTORY SECTION ========== */
.history-container {
    margin-top: 20px;
}

.history-actions {
    display: flex;
    justify-content: flex-end;
}

.history-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: var(--transition), background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.history-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.history-service-type {
    display: flex;
    align-items: center;
    gap: 10px;
}

.history-service-icon {
    width: 45px;
    height: 45px;
    background: var(--bg-history-icon);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: background 0.3s ease;
}

.history-service-info h6 {
    margin-bottom: 3px;
    font-weight: 600;
    color: var(--text-heading);
    transition: color 0.3s ease;
}

.history-service-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.history-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-completed {
    background: var(--status-completed-bg);
    color: var(--status-completed-text);
}

.status-pending {
    background: var(--status-pending-bg);
    color: var(--status-pending-text);
}

.status-cancelled {
    background: var(--status-cancelled-bg);
    color: var(--status-cancelled-text);
}

.status-in-progress {
    background: var(--status-in-progress-bg);
    color: var(--status-in-progress-text);
}

.history-item-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    transition: border-color 0.3s ease;
}

.history-detail {
    display: flex;
    flex-direction: column;
}

.history-detail-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 3px;
    transition: color 0.3s ease;
}

.history-detail-value {
    font-weight: 500;
    color: var(--text-heading);
    transition: color 0.3s ease;
}

.history-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.history-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.history-empty {
    text-align: center;
    padding: 60px 20px;
}

.history-empty i {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.history-empty h5 {
    color: var(--text-heading);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.history-empty p {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

/* ========== NOTIFICATION SETTINGS ========== */
.notification-settings, .preferences-settings {
    background: var(--bg-notification-settings);
    border-radius: 15px;
    padding: 20px;
    transition: background-color 0.3s ease;
}

.notification-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.notification-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.notification-info i {
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.notification-info strong {
    display: block;
    color: var(--text-heading);
    transition: color 0.3s ease;
}

.notification-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.preference-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.preference-item:last-child {
    border-bottom: none;
}

.form-check-label {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.form-switch .form-check-input {
    width: 50px;
    height: 24px;
    cursor: pointer;
}

.form-switch .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Password Strength */
.password-strength {
    font-size: 0.85rem;
    padding: 5px 0;
}

.strength-weak { color: #dc3545; }
.strength-medium { color: #ffc107; }
.strength-strong { color: #198754; }

/* ========== LOGOUT MODAL ========== */
.logout-modal-content {
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--bg-card);
    transition: background-color 0.3s ease;
}

.logout-avatar {
    margin-bottom: 25px;
}

.user-avatar-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 50px;
    color: white;
    border: 4px solid white;
    box-shadow: 0 5px 20px rgba(67, 97, 238, 0.3);
    overflow: hidden;
}

.initial-large {
    font-size: 2.5rem;
    font-weight: bold;
}

.logout-warning {
    background: #fff5f5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.logout-warning i {
    font-size: 2rem;
    color: #dc3545;
    margin-bottom: 10px;
}

.logout-warning h5 {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 5px;
}

.logout-warning p {
    color: #6c757d;
    margin-bottom: 0;
}

.logout-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.logout-actions .btn {
    min-width: 150px;
}

/* ========== DELETE ACCOUNT MODAL ========== */
.delete-account-modal-content {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    background-color: var(--bg-card);
    transition: background-color 0.3s ease;
}

.delete-step {
    animation: fadeIn 0.35s ease-out;
}

.delete-modal-header {
    background: var(--bg-delete-modal-header);
    padding: 35px 35px 25px;
    text-align: center;
    border-bottom: 2px solid var(--border-delete-modal-header);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.delete-modal-header.danger-header {
    background: var(--bg-delete-modal-header-danger);
    border-bottom-color: var(--border-delete-modal-header-danger);
}

.delete-modal-header.danger-header h3,
.delete-modal-header.danger-header p {
    color: white;
}

.delete-modal-header.danger-header p {
    opacity: 0.75;
}

.delete-danger-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b, #dc3545);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 8px 25px rgba(220,53,69,0.35);
}

.delete-danger-icon i {
    font-size: 2rem;
    color: white;
}

.pulse-danger {
    animation: pulseDanger 1.5s ease-in-out infinite;
}

@keyframes pulseDanger {
    0%, 100% { box-shadow: 0 8px 25px rgba(220,53,69,0.35); transform: scale(1); }
    50% { box-shadow: 0 8px 40px rgba(220,53,69,0.6); transform: scale(1.05); }
}

.delete-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-delete-header);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.delete-modal-header p {
    color: var(--text-delete-header-p);
    margin: 0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.delete-modal-body {
    padding: 25px 35px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.delete-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-delete-user-info);
    border: 1px solid var(--border-delete-user-info);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 22px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.delete-user-avatar {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    overflow: hidden;
}

.delete-user-avatar .initial-large {
    font-size: 1.4rem;
}

.delete-user-info h5 {
    margin-bottom: 2px;
    font-weight: 600;
    color: var(--text-heading);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.delete-user-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.delete-consequences {
    background: var(--bg-delete-consequences);
    border: 1px solid var(--border-delete-consequences);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 18px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.delete-consequences h6 {
    color: var(--text-delete-consequences-title);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.delete-consequences h6 i {
    margin-right: 6px;
}

.delete-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.delete-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    color: var(--text-delete-consequences-li);
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(220,53,69,0.08);
    transition: color 0.3s ease;
}

.delete-list li:last-child {
    border-bottom: none;
}

.delete-list li i {
    color: #dc3545;
    width: 18px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.delete-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--bg-delete-note);
    border: 1px solid var(--border-delete-note);
    border-radius: 10px;
    padding: 14px 16px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.delete-note i {
    color: var(--text-delete-note);
    margin-top: 2px;
    flex-shrink: 0;
}

.delete-note p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-delete-note);
    transition: color 0.3s ease;
}

.delete-modal-footer {
    padding: 20px 35px 30px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    transition: border-color 0.3s ease;
}

.btn-danger-outline {
    background: transparent;
    border: 2px solid #dc3545;
    color: #dc3545;
    font-weight: 600;
    border-radius: 10px;
    padding: 12px 24px;
    transition: var(--transition);
}

.btn-danger-outline:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220,53,69,0.3);
}

.btn-delete {
    background: linear-gradient(135deg, #dc3545, #8b0000);
    border: none;
    color: white;
    font-weight: 700;
    border-radius: 10px;
    padding: 12px 28px;
    box-shadow: 0 4px 15px rgba(220,53,69,0.3);
    transition: var(--transition);
}

.btn-delete:hover:not(:disabled) {
    background: linear-gradient(135deg, #c82333, #6b0000);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220,53,69,0.45);
    color: white;
}

.btn-delete:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Confirm Input */
.confirm-input-section {
    margin-bottom: 20px;
}

.confirm-label {
    display: block;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 10px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.confirm-input {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    transition: var(--transition), background-color 0.3s ease, color 0.3s ease;
    background-color: var(--bg-input);
    color: var(--text-primary);
}

.confirm-input:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220,53,69,0.15);
    outline: none;
}

.confirm-input.valid {
    border-color: #198754;
    background: #f0fff4;
    box-shadow: 0 0 0 3px rgba(25,135,84,0.15);
}

.delete-input-feedback {
    margin-top: 8px;
    font-size: 0.85rem;
    min-height: 20px;
    transition: var(--transition);
}

.delete-input-feedback.valid {
    color: #198754;
}

.delete-input-feedback.invalid {
    color: #dc3545;
}

.delete-final-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--bg-delete-final-warning);
    border: 1px solid var(--border-delete-final-warning);
    border-radius: 10px;
    padding: 14px 16px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.delete-final-warning i {
    color: #dc3545;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.delete-final-warning p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-delete-final-warning);
    line-height: 1.5;
    transition: color 0.3s ease;
}

/* Delete Processing */
.delete-processing {
    text-align: center;
    padding: 50px 35px;
}

.delete-spinner {
    margin: 0 auto 25px;
    width: 80px;
    height: 80px;
    position: relative;
}

.spinner-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid #f8d7da;
    border-top-color: #dc3545;
    animation: spinRing 0.8s linear infinite;
}

@keyframes spinRing {
    to { transform: rotate(360deg); }
}

.delete-processing h4 {
    color: var(--text-heading);
    font-weight: 700;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.delete-processing p {
    color: var(--text-muted);
    margin-bottom: 25px;
    transition: color 0.3s ease;
}

.delete-progress-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 12px;
}

.delete-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #dc3545, #f72585);
    border-radius: 50px;
    width: 0%;
    transition: width 0.4s ease;
}

.delete-progress-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

/* Toast Notification */
.toast-notification {
    background: white;
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========== FOOTER ========== */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
    transition: background 0.3s ease;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--footer-heading-border);
}

.footer p {
    color: var(--footer-text);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: var(--footer-text);
    transition: var(--transition), color 0.3s ease;
    text-decoration: none;
}

.footer ul li a:hover {
    color: var(--footer-text-hover);
    padding-left: 5px;
}

.footer ul li i {
    margin-right: 10px;
    width: 20px;
}

.footer .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--footer-social-bg);
    border-radius: 50%;
    color: white;
    transition: var(--transition), background-color 0.3s ease;
    text-decoration: none;
}

.footer .social-links a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer .contact-info li {
    display: flex;
    align-items: center;
    color: var(--footer-text);
    transition: color 0.3s ease;
}

.footer .contact-info li i {
    margin-right: 10px;
    color: white;
}

.footer .newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer .newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 25px;
    border: none;
    outline: none;
    background-color: rgba(255,255,255,0.9);
    color: #333;
}

.footer .newsletter-form input::placeholder {
    color: #888;
}

.footer .newsletter-form button {
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    background: var(--primary-color);
    color: white;
    transition: var(--transition);
    cursor: pointer;
}

.footer .newsletter-form button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer .copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--footer-border);
    color: rgba(255,255,255,0.6);
    transition: border-color 0.3s ease;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 992px) {
    .hamburger { display: block; }
    .top-bar-center { display: none; }
    .content-card { padding: 30px 25px; }
    .sidebar-card { position: relative; top: 0; margin-bottom: 20px; }
    .section-header h3 { font-size: 1.5rem; }
    .theme-toggle-btn { width: 40px; height: 40px; }
    .theme-toggle-btn i { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    body { padding-top: 70px; }
    .top-bar { padding: 10px 15px; }
    .top-bar .logo { width: 100px; }
    .account-wrapper { padding: 15px 10px; }
    .content-card { padding: 25px 20px; border-radius: 12px; }
    .section-header { margin-bottom: 20px; padding-bottom: 15px; }
    .section-header h3 { font-size: 1.3rem; }
    .section-header p { font-size: 0.85rem; }
    .profile-picture { width: 100px; height: 100px; font-size: 50px; }
    .location-input-wrapper { flex-direction: column; gap: 12px; }
    .location-input { width: 100%; }
    .add-location-btn { width: 100%; justify-content: center; }
    .location-item { flex-direction: column; align-items: flex-start; }
    .location-actions { width: 100%; }
    .location-actions button { width: 100%; }
    .payment-item { flex-direction: column; align-items: flex-start; }
    .history-item-body { grid-template-columns: 1fr; }
    .notification-row { flex-direction: column; align-items: flex-start; }
    .btn { width: 100%; padding: 14px 20px; font-size: 1rem; }
    .preferences-settings, .notification-settings { padding: 15px; }
    .user-header { padding: 20px 15px; }
    .user-avatar { width: 70px; height: 70px; }
    .account-menu li { padding: 12px 15px; }
    .logout-actions { flex-direction: column; }
    .logout-actions .btn { width: 100%; }
    .delete-modal-header { padding: 25px 20px 18px; }
    .delete-modal-body { padding: 20px; }
    .delete-modal-footer { padding: 15px 20px 20px; flex-direction: column; }
    .delete-modal-footer .btn { width: 100%; }
    .access-card { padding: 35px 25px; }
    .access-card h2 { font-size: 1.5rem; }
    .theme-toggle-btn { width: 38px; height: 38px; }
    .theme-toggle-btn i { font-size: 1rem; }
}

@media (max-width: 576px) {
    body { padding-top: 65px; }
    .top-bar { padding: 8px 12px; }
    .top-bar .logo { width: 90px; }
    .hamburger { font-size: 24px; }
    .account-wrapper { padding: 10px 5px; }
    .content-card { padding: 20px 15px; border-radius: 10px; min-height: auto; }
    .section-header h3 { font-size: 1.2rem; }
    .modal-dialog { margin: 10px; }
    .footer { padding: 30px 0 15px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form button { width: 100%; }
    #sidebar a { font-size: 14px; padding: 12px 25px; }
    .toast-container { left: 10px; right: 10px; bottom: 10px; }
    .theme-toggle-btn { width: 34px; height: 34px; }
    .theme-toggle-btn i { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .theme-toggle-btn { width: 30px; height: 30px; }
    .theme-toggle-btn i { font-size: 0.85rem; }
}

@media (max-width: 380px) {
    .content-card { padding: 15px 12px; }
    .section-header h3 { font-size: 1.1rem; }
    .account-menu li { padding: 10px 12px; font-size: 0.85rem; }
    .btn { padding: 10px 16px; font-size: 0.9rem; }
    .theme-toggle-btn { width: 28px; height: 28px; }
    .theme-toggle-btn i { font-size: 0.8rem; }
}

/* Scrollbar Styling */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); border-radius: 10px; }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); }