
:root {

    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #ffecd2;
    --accent-secondary: #fcb69f;
    --background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --text-color: #333;
    --text-light: white;
    --shadow-primary: rgba(102, 126, 234, 0.4);
    --shadow-accent: rgba(252, 182, 159, 0.4);
    --modal-bg: rgba(0, 0, 0, 0.8);
}


[data-theme="light-blue"] {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #ffecd2;
    --accent-secondary: #fcb69f;
}

[data-theme="light-green"] {
    --primary-color: #56ab2f;
    --secondary-color: #a8e6cf;
    --accent-color: #ffd3a5;
    --accent-secondary: #fd9853;
}

[data-theme="light-purple"] {
    --primary-color: #8360c3;
    --secondary-color: #2ebf91;
    --accent-color: #ffeaa7;
    --accent-secondary: #fab1a0;
}

[data-theme="light-orange"] {
    --primary-color: #f7971e;
    --secondary-color: #ffd200;
    --accent-color: #ff7675;
    --accent-secondary: #fd79a8;
}


[data-theme="dark-blue"] {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #34495e;
    --accent-secondary: #5dade2;
    --text-color: #ecf0f1;
    --shadow-primary: rgba(52, 152, 219, 0.4);
    --shadow-accent: rgba(93, 173, 226, 0.4);
    --modal-bg: rgba(0, 0, 0, 0.9);
}

[data-theme="dark-green"] {
    --primary-color: #27ae60;
    --secondary-color: #2ecc71;
    --accent-color: #1e3a32;
    --accent-secondary: #58d68d;
    --text-color: #ecf0f1;
    --shadow-primary: rgba(46, 204, 113, 0.4);
    --shadow-accent: rgba(88, 214, 141, 0.4);
    --modal-bg: rgba(0, 0, 0, 0.9);
}

[data-theme="dark-purple"] {
    --primary-color: #8e44ad;
    --secondary-color: #9b59b6;
    --accent-color: #2c1a3d;
    --accent-secondary: #bb8fce;
    --text-color: #ecf0f1;
    --shadow-primary: rgba(155, 89, 182, 0.4);
    --shadow-accent: rgba(187, 143, 206, 0.4);
    --modal-bg: rgba(0, 0, 0, 0.9);
}

[data-theme="dark-red"] {
    --primary-color: #c0392b;
    --secondary-color: #e74c3c;
    --accent-color: #922b21;
    --accent-secondary: #f1948a;
    --text-color: #ecf0f1;
    --shadow-primary: rgba(231, 76, 60, 0.4);
    --shadow-accent: rgba(241, 148, 138, 0.4);
    --modal-bg: rgba(0, 0, 0, 0.9);
}


.theme-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.theme-icon {
    font-size: 1.5rem;
}

.theme-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    min-width: 240px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.theme-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-section {
    margin-bottom: 24px;
}

.theme-section:last-child {
    margin-bottom: 0;
}

.theme-section h3 {
    color: #666;
    margin-bottom: 12px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.theme-option {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-option:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.theme-option.active {
    transform: scale(1.15);
    border-color: var(--primary-color);
}

.theme-preview {
    width: 100%;
    height: 100%;
    border-radius: 9px;
}

.light-blue-preview {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.light-green-preview {
    background: linear-gradient(45deg, #56ab2f, #a8e6cf);
}

.light-purple-preview {
    background: linear-gradient(45deg, #8360c3, #2ebf91);
}

.light-orange-preview {
    background: linear-gradient(45deg, #f7971e, #ffd200);
}

.dark-blue-preview {
    background: linear-gradient(45deg, #2c3e50, #3498db);
}

.dark-green-preview {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
}

.dark-purple-preview {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
}

.dark-red-preview {
    background: linear-gradient(45deg, #c0392b, #e74c3c);
}


@media (max-width: 768px) {
    .theme-selector {
        top: 15px;
        right: 15px;
    }
    
    .theme-toggle-btn {
        width: 45px;
        height: 45px;
    }
    
    .theme-icon {
        font-size: 1.3rem;
    }
    
    .theme-menu {
        min-width: 220px;
        padding: 20px;
        top: 55px;
    }
    
    .theme-options {
        gap: 10px;
    }
    
    .theme-option {
        width: 35px;
        height: 35px;
    }
} 