/**
 * Cookie Consent Banner Styles
 * Extracted from _cookie_consent.html for better caching and CSP compliance
 */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

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

.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
    min-width: 300px;
}

.cookie-icon {
    font-size: 28px;
    color: #f39c12;
    flex-shrink: 0;
    margin-top: 3px;
}

.cookie-consent-text strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
    color: #fff;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.5;
    color: #ecf0f1;
}

.cookie-link {
    color: #3498db !important;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-link:hover {
    color: #5dade2 !important;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent-buttons .btn {
    padding: 8px 20px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.2s ease;
}

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

.cookie-consent-buttons .btn-primary:hover {
    background-color: #2ecc71;
    border-color: #2ecc71;
    transform: translateY(-1px);
}

.cookie-consent-buttons .btn-outline-secondary {
    color: #bdc3c7;
    border-color: #7f8c8d;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-text {
        flex-direction: column;
        align-items: center;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
}