/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    border-top: 2px solid #00ff88;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.cookie-banner-text p {
    color: #a0a0b8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-link {
    color: #00ff88;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #00cc6a;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #1a1a2e;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #00cc6a 0%, #009954 100%);
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: transparent;
    color: #a0a0b8;
    border: 1px solid #3a3a6e;
}

.cookie-btn-reject:hover {
    background: #2a2a4e;
    color: #ffffff;
}

.cookie-btn-customize {
    background: transparent;
    color: #00ff88;
    border: 1px solid #00ff88;
}

.cookie-btn-customize:hover {
    background: rgba(0, 255, 136, 0.1);
}

.cookie-btn-secondary {
    background: transparent;
    color: #a0a0b8;
    border: 1px solid #3a3a6e;
}

.cookie-btn-secondary:hover {
    background: #2a2a4e;
    color: #ffffff;
}

/* Cookie Customizer */
.cookie-customizer {
    border-top: 1px solid #2a2a4e;
    background: #16213e;
}

.cookie-customizer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.cookie-customizer-content h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
}

.cookie-categories {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cookie-category {
    background: #2a2a4e;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #3a3a6e;
}

.cookie-category-header {
    margin-bottom: 0.75rem;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
}

.cookie-toggle input[type="checkbox"] {
    position: relative;
    width: 50px;
    height: 24px;
    appearance: none;
    background: #3a3a6e;
    border-radius: 12px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.cookie-toggle input[type="checkbox"]:checked {
    background: #00ff88;
}

.cookie-toggle input[type="checkbox"]:disabled {
    background: #00ff88;
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-toggle input[type="checkbox"]::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-toggle input[type="checkbox"]:checked::before {
    transform: translateX(26px);
}

.cookie-label {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.cookie-description {
    color: #a0a0b8;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-customizer-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .cookie-banner-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-btn {
        padding: 0.75rem 1rem;
        text-align: center;
    }

    .cookie-customizer-content {
        padding: 1.5rem 1rem;
    }

    .cookie-customizer-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-toggle {
        gap: 0.75rem;
    }

    .cookie-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner-text h3 {
        font-size: 1rem;
    }

    .cookie-banner-text p {
        font-size: 0.85rem;
    }

    .cookie-btn {
        font-size: 0.85rem;
        padding: 0.65rem 1rem;
    }

    .cookie-categories {
        gap: 1rem;
    }

    .cookie-category {
        padding: 1rem;
    }
}