/* 
   Cookie Consent Banner Styles
   igluu Energieberatung
*/

#igluu-consent-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: 420px;
    background-color: #ffffff;
    color: #334155;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 999999;
    padding: 1.5rem;
    font-family: 'Outfit', sans-serif;
    border-left: 5px solid #F59E0B; /* Solar Amber accent */
    animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#igluu-consent-banner.hidden {
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
}

.consent-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.consent-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    color: #115E59; /* Deep Pine */
    font-weight: 600;
}

.consent-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    color: #475569;
}

.consent-content a {
    color: #115E59;
    text-decoration: underline;
    font-weight: 500;
}

.consent-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.consent-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #F59E0B; /* Solar Amber */
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #D97706;
}

.consent-btn.btn-outline {
    background-color: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.consent-btn.btn-outline:hover {
    background-color: #f1f5f9;
    color: #115E59;
}

/* Responsive adjustment for Mobile */
@media (max-width: 576px) {
    #igluu-consent-banner {
        bottom: 0;
        right: 0;
        max-width: 100%;
        width: 100%;
        border-radius: 0;
        border-top: 5px solid #F59E0B;
        border-left: none;
        padding: 1.25rem;
    }
}
