/**
 * Cookie Consent Banner Styles
 * 911Dan.com GDPR/LPRPDE Compliance
 * Externalized for CSP compliance (no unsafe-inline)
 */

/* Banner 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;
    }
}

/* Banner container */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 3px solid #E8821A;
    padding: 24px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
    z-index: 10000;
    backdrop-filter: blur(10px);
    animation: slideUp 0.4s ease-out;
}

#cookie-consent-banner.hiding {
    animation: slideDown 0.4s ease-out forwards;
}

/* Content layout */
#cookie-consent-banner .consent-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

#cookie-consent-banner .consent-text {
    flex: 1;
    min-width: 300px;
}

#cookie-consent-banner .consent-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d1520;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

#cookie-consent-banner .consent-message {
    font-size: 0.9rem;
    color: #556472;
    line-height: 1.5;
}

#cookie-consent-banner .consent-message a {
    color: #E8821A;
    text-decoration: underline;
}

#cookie-consent-banner .consent-message a:hover {
    color: #c96a0d;
}

/* Action buttons */
#cookie-consent-banner .consent-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

#cookie-consent-banner button {
    padding: 12px 24px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

#cookie-consent-banner .btn-accept {
    background: #E8821A;
    color: #fff;
    box-shadow: 0 4px 12px rgba(232,130,26,0.3);
}

#cookie-consent-banner .btn-accept:hover {
    background: #c96a0d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232,130,26,0.4);
}

#cookie-consent-banner .btn-decline {
    background: transparent;
    color: #556472;
    border: 1px solid #e6eef8;
}

#cookie-consent-banner .btn-decline:hover {
    border-color: #E8821A;
    color: #E8821A;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 16px;
    }
    #cookie-consent-banner .consent-content {
        flex-direction: column;
        align-items: stretch;
    }
    #cookie-consent-banner .consent-actions {
        width: 100%;
        flex-direction: column;
    }
    #cookie-consent-banner button {
        width: 100%;
    }
}
