/**
 * ============================================
 * FulgerBat Cookie Consent - CSS Styles
 * ============================================
 * GDPR/DMA Compliant Cookie Banner Styling
 * Mobile-responsive, non-intrusive design
 */

/* Cookie Banner Container */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 16px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

#cookie-consent-banner.show {
    transform: translateY(0);
}

#cookie-consent-banner.hide {
    transform: translateY(100%);
}

/* Banner Content Layout */
.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Cookie Text */
.cookie-text {
    flex: 1;
    min-width: 280px;
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-text strong {
    color: #fff;
}

.cookie-text a {
    color: #2edcff;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #fff;
}

/* Button Group */
.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Base Button Styles */
.cookie-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    white-space: nowrap;
}

/* Accept Button - Primary CTA */
.cookie-btn-accept {
    background: #2edcff;
    color: #1a1a2e;
}

.cookie-btn-accept:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 220, 255, 0.4);
}

/* Decline Button - Secondary */
.cookie-btn-decline {
    background: transparent;
    color: #e0e0e0;
    border: 2px solid #444;
}

.cookie-btn-decline:hover {
    border-color: #888;
    color: #fff;
}

/* ============================================
 * Mobile Responsive Styles
 * ============================================ */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 14px 16px;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        font-size: 13px;
        min-width: unset;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
}

/* ============================================
 * Accessibility
 * ============================================ */
.cookie-btn:focus {
    outline: 2px solid #2edcff;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    #cookie-consent-banner {
        transition: none;
    }

    .cookie-btn {
        transition: none;
    }
}