/* Cookie Consent Banner Styles */
#cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    font-size: 14px;
}

#cookie-consent-banner[aria-hidden="false"] {
    display: block;
}

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

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-consent-text p {
    margin: 0;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: #3498db;
    text-decoration: underline;
}

.cookie-consent-text a:hover,
.cookie-consent-text a:focus {
    color: #5dade2;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-consent-btn:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.cookie-consent-btn-primary {
    background-color: #27ae60;
    color: #ffffff;
}

.cookie-consent-btn-primary:hover {
    background-color: #229954;
}

.cookie-consent-btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cookie-consent-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 1rem;
    }

    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-text {
        min-width: 100%;
    }

    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-consent-btn {
        width: 100%;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #cookie-consent-banner {
        border-top: 3px solid #ffffff;
    }

    .cookie-consent-btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent-btn {
        transition: none;
    }
}
