/**
 * TLF Cookie Consent - Banner Styles
 * Stile coerente con il tema TLF Italia
 */

.tlf-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tlf-cookie-banner--visible {
    transform: translateY(0);
}

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

.tlf-cookie-text {
    flex: 1;
    min-width: 280px;
}

.tlf-cookie-text h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
}

.tlf-cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #444444;
}

.tlf-cookie-text a {
    color: #af2d24;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.tlf-cookie-text a:hover {
    color: #8b2420;
}

.tlf-cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.tlf-cookie-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

.tlf-cookie-btn--primary {
    background: #af2d24;
    color: #ffffff;
}

.tlf-cookie-btn--primary:hover {
    background: #8b2420;
}

.tlf-cookie-btn--primary:focus {
    outline: 2px solid #af2d24;
    outline-offset: 2px;
}

.tlf-cookie-btn--secondary {
    background: transparent;
    color: #666666;
    border: 1px solid #cccccc;
}

.tlf-cookie-btn--secondary:hover {
    background: #f5f5f5;
    border-color: #999999;
    color: #333333;
}

.tlf-cookie-btn--secondary:focus {
    outline: 2px solid #666666;
    outline-offset: 2px;
}

/* Mobile styles */
@media (max-width: 600px) {
    .tlf-cookie-content {
        padding: 16px;
        flex-direction: column;
        text-align: center;
    }

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

    .tlf-cookie-text h3 {
        font-size: 16px;
    }

    .tlf-cookie-text p {
        font-size: 13px;
    }

    .tlf-cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .tlf-cookie-btn {
        flex: 1;
        padding: 12px 16px;
    }
}

/* Evita che il banner copra il pulsante WhatsApp */
@media (max-width: 768px) {
    .tlf-cookie-banner {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
}
