/* ==================== CSS Variables ==================== */
:root {
    /* SRB Brand Colors - Light Theme */
    --primary-color: #1a5f3f;
    --primary-light: #2d8659;
    --primary-dark: #0f3d28;
    --secondary-color: #0d4d7d;
    --accent-color: #d4af37;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-card: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.5);

    /* Text Colors */
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-tertiary: #adb5bd;
    --text-inverse: #ffffff;

    /* Border Colors */
    --border-color: #dee2e6;
    --border-light: #e9ecef;

    /* Status Colors */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --info-color: #17a2b8;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --primary-color: #2d8659;
    --primary-light: #3ea06d;
    --primary-dark: #1a5f3f;
    --secondary-color: #1a6ba8;

    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --bg-card: #161b22;
    --bg-overlay: rgba(0, 0, 0, 0.7);

    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-tertiary: #6e7681;
    --text-inverse: #0d1117;

    --border-color: #30363d;
    --border-light: #21262d;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
}

/* ==================== Reset & Base Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    min-height: 100vh;
}

/* ==================== Login Page Styles ==================== */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a5f3f 0%, #0d4d7d 50%, #2d8659 100%);
    padding: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

/* Video Background */
.login-video-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.login-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 95, 63, 0.3) 0%, rgba(13, 77, 125, 0.3) 50%, rgba(45, 134, 89, 0.3) 100%);
    z-index: 1;
}

[data-theme="dark"] .login-video-overlay {
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.4) 0%, rgba(32, 58, 67, 0.4) 50%, rgba(44, 83, 100, 0.4) 100%);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
}

.login-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .login-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(45, 134, 89, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.login-header {
    background: transparent;
    color: white;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.login-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.tagline {
    font-size: 0.95rem;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.login-form {
    padding: var(--spacing-xl) var(--spacing-lg);
}

.login-form h2 {
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.login-form h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.form-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.input-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 4px rgba(26, 95, 63, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    font-size: 0.9rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.login-page .link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    transition: color var(--transition-fast);
}

.link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-inverse);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
}

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

.btn-outline:hover {
    background: var(--bg-secondary);
}

.btn-large {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    padding: 0;
    font-weight: 600;
}

.btn-link:hover {
    color: var(--primary-light);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: var(--spacing-xl) 0;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 var(--spacing-md);
}

.login-footer {
    background: transparent;
    padding: var(--spacing-lg) var(--spacing-xl);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.login-footer p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.login-footer strong {
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.small-text {
    font-size: 0.85rem;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 56px;
    height: 56px;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.theme-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: block;
}

/* ==================== Dashboard Styles ==================== */
.dashboard-page {
    background-color: var(--bg-secondary);
}

.app-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo-small {
    height: 48px;
    width: auto;
    max-width: 120px;
}

.header-title h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.header-title p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.icon-btn:hover {
    background: var(--bg-tertiary);
    transform: scale(1.05);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--error-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    min-width: 18px;
    text-align: center;
}

/* Profile Dropdown */
.profile-dropdown {
    position: relative;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.profile-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #1a5f3f, #0d4d7d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.profile-avatar svg {
    width: 20px;
    height: 20px;
}

.profile-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.profile-arrow {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    transition: transform var(--transition-fast);
}

.profile-dropdown.active .profile-arrow {
    transform: rotate(180deg);
}

.profile-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1000;
}

.profile-dropdown.active .profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

[data-theme="dark"] .profile-menu {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(26, 95, 63, 0.1);
}

.profile-menu-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(26, 95, 63, 0.1), rgba(13, 77, 125, 0.1));
}

.profile-menu-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #1a5f3f, #0d4d7d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.profile-menu-avatar svg {
    width: 24px;
    height: 24px;
}

.profile-menu-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.profile-menu-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0.1rem 0;
}

.profile-points {
    font-weight: 600;
    color: var(--primary-color);
}

.profile-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.profile-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.95rem;
    color: var(--text-primary);
    text-align: left;
}

.profile-menu-item:hover {
    background: var(--bg-secondary);
}

.profile-menu-item svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.profile-menu-item .theme-icon.sun-icon,
.profile-menu-item .theme-icon.moon-icon {
    display: none;
}

.profile-menu-item .theme-icon.sun-icon {
    display: block;
}

[data-theme="dark"] .profile-menu-item .theme-icon.sun-icon {
    display: none;
}

[data-theme="dark"] .profile-menu-item .theme-icon.moon-icon {
    display: block;
}

.profile-menu-logout {
    color: var(--error-color);
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.profile-menu-logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

.profile-menu-logout svg {
    color: var(--error-color);
}

/* Main Content */
.dashboard-main {
    padding: var(--spacing-2xl) var(--spacing-xl);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

.stat-content h3 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Section */
.section {
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    font-weight: 400;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: var(--spacing-xl);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a5f3f, #0d4d7d, #2d8659);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(26, 95, 63, 0.2);
    border-color: rgba(26, 95, 63, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

[data-theme="dark"] .service-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 12px 32px rgba(26, 95, 63, 0.4),
                0 0 20px rgba(45, 255, 150, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.action-btn {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.action-btn:hover {
    background: linear-gradient(135deg, #1a5f3f, #0d4d7d);
    color: white;
    border-color: transparent;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(26, 95, 63, 0.3);
}

[data-theme="dark"] .action-btn:hover {
    box-shadow: 0 8px 24px rgba(26, 95, 63, 0.5),
                0 0 20px rgba(45, 255, 150, 0.2);
}

.action-btn svg {
    width: 28px;
    height: 28px;
}

/* Activity List */
.activity-list {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

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

.activity-item:hover {
    background: var(--bg-secondary);
}

.activity-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon svg {
    width: 24px;
    height: 24px;
}

.activity-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.activity-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.activity-time {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Footer */
.app-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    .header-content {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .header-title h1 {
        font-size: 1.1rem;
    }

    .header-title p {
        font-size: 0.75rem;
    }

    .header-right .btn {
        display: none;
    }

    .dashboard-main {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .login-card {
        border-radius: 0;
    }

    .login-form,
    .login-header {
        padding: var(--spacing-lg);
    }

    .theme-toggle {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
        width: 48px;
        height: 48px;
    }
}

/* ==================== Animations ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.service-card,
.activity-item {
    animation: fadeIn 0.5s ease-out backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.15s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.25s; }
.service-card:nth-child(5) { animation-delay: 0.3s; }
.service-card:nth-child(6) { animation-delay: 0.35s; }

/* ==================== Invoice Verification Styles ==================== */
.verification-methods {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.method-btn {
    flex: 1;
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.method-btn svg {
    width: 48px;
    height: 48px;
}

.method-btn:hover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
}

.method-btn.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(26, 95, 63, 0.1) 0%, rgba(13, 77, 125, 0.1) 100%);
    color: var(--primary-color);
}

.verification-section {
    margin-bottom: var(--spacing-2xl);
}

.scanner-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.scanner-frame {
    position: relative;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px dashed var(--border-color);
}

.scanner-overlay {
    text-align: center;
}

.scanner-icon {
    width: 120px;
    height: 120px;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.scan-line {
    position: absolute;
    top: 20%;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
    animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
    0%, 100% {
        top: 20%;
    }
    50% {
        top: 80%;
    }
}

.help-text {
    color: var(--text-secondary);
    margin: var(--spacing-md) 0;
}

.form-card {
    background: var(--bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.form-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.form-card small {
    display: block;
    color: var(--text-tertiary);
    margin-top: var(--spacing-xs);
    font-size: 0.85rem;
}

.result-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    animation: slideUp 0.5s ease-out;
}

.result-card.success {
    border: 2px solid var(--success-color);
}

.result-card.error {
    border: 2px solid var(--error-color);
}

.result-header {
    text-align: center;
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-xl);
}

.result-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-md);
}

.result-header h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.result-header p {
    color: var(--text-secondary);
}

.result-details {
    margin-bottom: var(--spacing-xl);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-light);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.detail-value {
    color: var(--text-primary);
    font-weight: 500;
}

.status-badge {
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.verified {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.status-badge.invalid {
    background: rgba(220, 53, 69, 0.1);
    color: var(--error-color);
}

.result-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.result-actions .btn {
    flex: 1;
    min-width: 150px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.history-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.history-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.history-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.history-icon svg {
    width: 28px;
    height: 28px;
}

.history-icon.verified {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.history-icon.invalid {
    background: rgba(220, 53, 69, 0.1);
    color: var(--error-color);
}

.history-content {
    flex: 1;
}

.history-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.history-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.history-time {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.history-status {
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.history-status.verified {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.history-status.invalid {
    background: rgba(220, 53, 69, 0.1);
    color: var(--error-color);
}

.back-btn {
    margin-right: var(--spacing-sm);
}

.empty-state {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--text-tertiary);
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
}

.hidden {
    display: none !important;
}

/* ==================== Complaints Styles ==================== */
.complaint-form {
    background: var(--bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-2xl);
}

.complaint-card {
    background: var(--bg-card);
    border-left: 4px solid var(--border-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-fast);
}

.complaint-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.complaint-card.pending {
    border-left-color: var(--warning-color);
}

.complaint-card.resolved {
    border-left-color: var(--success-color);
}

.complaint-card.investigating {
    border-left-color: var(--info-color);
}

.complaint-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--spacing-md);
}

.complaint-id {
    font-weight: 700;
    color: var(--primary-color);
}

.complaint-body {
    margin-bottom: var(--spacing-md);
}

.complaint-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-light);
}

/* ==================== Lucky Draw Styles ==================== */
.draw-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
    overflow: hidden;
}

.draw-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.draw-amount {
    font-size: 3rem;
    font-weight: 700;
    margin: var(--spacing-md) 0;
}

.prize-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.prize-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.prize-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.prize-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.prize-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.entries-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.entries-count {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: var(--spacing-md) 0;
}

/* ==================== Utility Classes ==================== */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

/* ==================== Youth-Focused Rewards System Styles ==================== */

/* Rewards Hero Section */
.rewards-hero {
    position: relative;
    background: linear-gradient(135deg, #1a5f3f 0%, #0d4d7d 50%, #2d8659 100%);
    border-radius: 30px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 95, 63, 0.3);
}

[data-theme="dark"] .rewards-hero {
    background: linear-gradient(135deg, #1a5f3f 0%, #0d4d7d 50%, #2d8659 100%);
    box-shadow: 0 20px 60px rgba(29, 95, 63, 0.5),
                0 0 80px rgba(13, 77, 125, 0.3),
                inset 0 0 100px rgba(45, 134, 89, 0.1);
}

.rewards-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

[data-theme="dark"] .rewards-glow {
    background: radial-gradient(circle, rgba(45, 255, 150, 0.2) 0%, rgba(13, 77, 125, 0.1) 50%, transparent 70%);
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.6; }
    50% { transform: scale(1.2) translate(-20px, 20px); opacity: 0.8; }
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 60px rgba(45, 255, 150, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 100px rgba(45, 255, 150, 0.5);
    }
}

.rewards-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.rewards-left {
    flex: 1;
    min-width: 250px;
}

.rewards-greeting {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.rewards-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.level-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.level-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.level-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.level-info {
    display: flex;
    flex-direction: column;
}

.level-title {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.level-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

/* Points Circle Display */
.rewards-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.points-display {
    position: relative;
}

.points-circle {
    position: relative;
    width: 180px;
    height: 180px;
}

.points-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.points-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 8;
}

.points-ring-progress {
    fill: none;
    stroke: white;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1s ease;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

[data-theme="dark"] .points-ring-progress {
    stroke: #2dff96;
    filter: drop-shadow(0 0 15px rgba(45, 255, 150, 0.8));
}

.points-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.rewards-points {
    display: block;
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: pointsCount 0.5s ease;
}

@keyframes pointsCount {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.points-label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Progress Bar */
.rewards-progress-bar {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
}

.progress-bar-container {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fff 0%, #f0f0f0 100%);
    border-radius: 50px;
    transition: width 1s ease;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .progress-bar-fill {
    background: linear-gradient(90deg, #2dff96 0%, #00f2fe 100%);
    box-shadow: 0 0 20px rgba(45, 255, 150, 0.6);
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Badges Showcase */
.badges-showcase {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .badges-showcase {
    background: linear-gradient(135deg, rgba(29, 95, 63, 0.3) 0%, rgba(13, 77, 125, 0.3) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                inset 0 0 50px rgba(45, 134, 89, 0.1);
}

.badges-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.5rem;
}

.badge-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg-primary);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.badge-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .badge-item:hover {
    box-shadow: 0 15px 40px rgba(45, 134, 89, 0.3),
                0 0 30px rgba(13, 77, 125, 0.2);
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-name {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
}

/* Section Subtitle */
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: -0.5rem 0 2rem 0;
    text-align: center;
}

/* Enhanced Service Cards with Rounded Edges */
.service-card {
    border-radius: 25px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(26, 95, 63, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

[data-theme="dark"] .service-card::before {
    background: linear-gradient(135deg, transparent 0%, rgba(45, 134, 89, 0.1) 100%);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(26, 95, 63, 0.3);
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 20px 60px rgba(29, 95, 63, 0.4),
                0 0 40px rgba(45, 134, 89, 0.2);
}

.service-icon {
    border-radius: 20px !important;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
}

/* Points Badge on Cards */
.service-card::after {
    content: '+10 pts';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a5f3f;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: pointsBadgePulse 2s ease-in-out infinite;
}

@keyframes pointsBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5); }
}

/* Enhanced Buttons with Rounded Edges */
.btn {
    border-radius: 50px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 10px 30px rgba(26, 95, 63, 0.4);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 10px 30px rgba(45, 134, 89, 0.5),
                0 0 30px rgba(45, 255, 150, 0.3);
}

.icon-btn {
    border-radius: 15px !important;
}

/* Enhanced Header */
.app-header {
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .app-header {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(45, 134, 89, 0.1);
}

/* Activity Items */
.activity-item {
    border-radius: 20px !important;
}

/* Toast Notifications with Glow */
.toast {
    animation: slideInRight 0.5s ease-out, glow 2s ease-in-out infinite !important;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 8px 32px rgba(26, 95, 63, 0.5), 0 0 30px rgba(26, 95, 63, 0.3); }
}

[data-theme="dark"] .toast {
    animation: slideInRight 0.5s ease-out, darkGlow 2s ease-in-out infinite !important;
}

@keyframes darkGlow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow: 0 8px 32px rgba(29, 95, 63, 0.6),
                    0 0 40px rgba(45, 255, 150, 0.4);
    }
}

/* ==================== Settings Page Styles ==================== */

.settings-section {
    margin-bottom: 2rem;
}

.settings-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .settings-card {
    background: rgba(29, 95, 63, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3),
                inset 0 0 30px rgba(45, 134, 89, 0.05);
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.setting-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.setting-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border-color);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

[data-theme="dark"] .toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #2dff96 0%, #00f2fe 100%);
    box-shadow: 0 0 20px rgba(45, 255, 150, 0.4);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-switch input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 12px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.back-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(-4px);
}

.back-btn svg {
    width: 24px;
    height: 24px;
}

/* No animations class */
.no-animations,
.no-animations * {
    animation: none !important;
    transition: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rewards-greeting {
        font-size: 1.8rem;
    }

    .rewards-subtitle {
        font-size: 1rem;
    }

    .points-circle {
        width: 140px;
        height: 140px;
    }

    .rewards-points {
        font-size: 2rem;
    }

    .rewards-content {
        flex-direction: column;
        text-align: center;
    }

    .level-badge {
        justify-content: center;
    }

    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .toggle-switch {
        align-self: flex-end;
    }
}
