/* GDPR Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 3px solid #0d9488;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    padding: 1.5rem;
}

#cookie-consent-banner.show {
    transform: translateY(0);
}

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

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

.cookie-consent-text p {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-consent-text p:last-child {
    margin-bottom: 0;
}

.cookie-consent-text strong {
    color: #1a2744;
    font-weight: 600;
}

.cookie-consent-text a {
    color: #0d9488;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-consent-text a:hover {
    color: #14b8a6;
}

.cookie-consent-text a:focus {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

.cookie-consent-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

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

.cookie-btn:focus {
    outline: 3px solid #0d9488;
    outline-offset: 2px;
}

.cookie-btn-primary {
    background: #0d9488;
    color: white;
}

.cookie-btn-primary:hover {
    background: #14b8a6;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(13, 148, 136, 0.2);
}

.cookie-btn-secondary {
    background: #f1f5f9;
    color: #1a2744;
    border: 2px solid #e2e8f0;
}

.cookie-btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    #cookie-consent-banner {
        padding: 1.25rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #cookie-consent-banner {
        border-top-width: 4px;
    }
    
    .cookie-btn {
        border: 2px solid currentColor;
    }
}

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