/**
 * Cookie Consent Banner Styles — Fluidgenius Platform
 * ====================================================
 * Glassmorphic bottom bar with smooth entrance/exit animations.
 */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 0 16px 16px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner-hiding {
    opacity: 0;
    transform: translateY(100%);
}

.cookie-banner-inner {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(18, 18, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.1);
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.cookie-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.cookie-banner-text p {
    font-size: 0.85rem;
    color: #b0ada5;
    line-height: 1.5;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cookie-link {
    color: #c9a84c;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.cookie-link:hover {
    border-bottom-color: #c9a84c;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    border: none;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.06);
    color: #9a9890;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e8e6e0;
}

.cookie-btn-accept {
    background: #c9a84c;
    color: #0a0a0f;
}

.cookie-btn-accept:hover {
    background: #d4b65e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

/* Mobile responsive */
@media (max-width: 640px) {
    .cookie-banner-inner {
        flex-direction: column;
        padding: 16px 18px;
        gap: 14px;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
        padding: 12px 14px;
    }
}