/* Cookie Consent Banner Styles */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 24px;
    animation: slideUp 0.4s ease-out;
    border-top: 3px solid #1e90ff;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 700;
}

.cookie-banner-text p {
    margin: 0 0 8px 0;
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cookie-banner-text a {
    color: #1e90ff;
    text-decoration: none;
    font-weight: 600;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #1e90ff, #00d4ff);
    color: white;
    box-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.4);
}

.cookie-btn-secondary {
    background: white;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.cookie-btn-secondary:hover {
    border-color: #1e90ff;
    color: #1e90ff;
}

.cookie-btn-link {
    background: transparent;
    color: #64748b;
    padding: 12px 16px;
}

.cookie-btn-link:hover {
    color: #1e90ff;
    background: #f8fafc;
}

/* Cookie Settings Panel */
.cookie-settings {
    max-width: 600px;
    margin: 0 auto;
}

.cookie-settings h4 {
    margin: 0 0 20px 0;
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 700;
}

.cookie-option {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 2px solid #e2e8f0;
}

.cookie-option label {
    display: block;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.cookie-option strong {
    color: #1e293b;
    font-size: 1rem;
}

.cookie-option p {
    margin: 8px 0 0 28px;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-settings-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 16px;
    }

    .cookie-banner-content {
        flex-direction: column;
        gap: 16px;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-settings-actions {
        flex-direction: column;
    }
}

/* Accessibility */
.cookie-btn:focus {
    outline: 3px solid #1e90ff;
    outline-offset: 2px;
}

.cookie-option:has(input:focus) {
    border-color: #1e90ff;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}