/**
 * Cookie Consent Banner Styles
 */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    border-top: 3px solid #0d6efd;
}

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

.cookie-consent-icon {
    flex-shrink: 0;
    color: #0d6efd;
}

    .cookie-consent-icon svg {
        width: 32px;
        height: 32px;
    }

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

    .cookie-consent-text p {
        font-size: 0.9rem;
        line-height: 1.5;
        color: #495057;
    }

    .cookie-consent-text strong {
        color: #212529;
        font-size: 1rem;
    }

.cookie-policy-link {
    color: #0d6efd;
    text-decoration: underline;
    font-weight: 500;
}

    .cookie-policy-link:hover {
        color: #0a58ca;
    }

.cookie-consent-actions {
    flex-shrink: 0;
}

.btn-accept-cookies {
    padding: 0.625rem 2rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.25);
}

    .btn-accept-cookies:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.35);
    }

/* Animations */
@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;
    }
}

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

    .cookie-consent-icon {
        align-self: center;
    }

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

    .btn-accept-cookies {
        width: 100%;
    }

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

@media (max-width: 480px) {
    .cookie-consent-content {
        padding: 1rem 0.75rem;
    }

    .cookie-consent-icon svg {
        width: 24px;
        height: 24px;
    }

    .cookie-consent-text strong {
        font-size: 0.95rem;
    }
}

/* Ensure banner doesn't cover important content */
body {
    padding-bottom: 0;
    transition: padding-bottom 0.3s ease;
}

    body.cookie-banner-visible {
        padding-bottom: 120px;
    }

@media (max-width: 768px) {
    body.cookie-banner-visible {
        padding-bottom: 180px;
    }
}
