/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: white;
    padding: 1.5rem 2rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 3px solid var(--primary-color);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.cookie-banner-description {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-banner-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-banner-btn.accept {
    background: var(--primary-color);
    color: #000;
}

.cookie-banner-btn.accept:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cookie-banner-btn.decline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-banner-btn.decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-banner-btn.settings {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cookie-banner-btn.settings:hover {
    background: var(--primary-color);
    color: #000;
}

.cookie-banner-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 50%;
}

.cookie-banner-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.cookie-settings-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.cookie-settings-close:hover {
    background: var(--bg-light);
    color: var(--text-color);
}

.cookie-settings-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.cookie-category-toggle {
    position: relative;
    width: 50px;
    height: 25px;
    background: var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-category-toggle.active {
    background: var(--primary-color);
}

.cookie-category-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.cookie-category-toggle.active::after {
    transform: translateX(25px);
}

.cookie-category-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-settings-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--bg-light);
}

.cookie-settings-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-settings-btn.save {
    background: var(--primary-color);
    color: #000;
}

.cookie-settings-btn.save:hover {
    background: var(--primary-dark);
}

.cookie-settings-btn.cancel {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.cookie-settings-btn.cancel:hover {
    background: var(--bg-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-banner-text {
        min-width: auto;
    }
    
    .cookie-banner-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-banner-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .cookie-settings-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .cookie-settings-actions {
        flex-direction: column;
    }
    
    .cookie-settings-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner-title {
        font-size: 1.1rem;
    }
    
    .cookie-banner-description {
        font-size: 0.9rem;
    }
    
    .cookie-banner-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}
