/* 
 * BUNKERBANDITS Theme - Developed by Dennis Joest
 */
/* ======================= */
/* COOKIE CONSENT BANNER   */
/* ======================= */

.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 850px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-brand-orange);
    border-radius: 12px;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Simple fade-in for desktop overlay */
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpMobile {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-text h4 {
    color: var(--color-brand-orange);
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.cookie-text p {
    color: var(--color-text-white);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-link {
    color: var(--color-brand-orange);
    text-decoration: underline;
    margin-left: 5px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-cookie {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-accept {
    background: var(--color-brand-orange);
    color: white;
}

.btn-accept:hover {
    background: #e05300;
    transform: translateY(-2px);
}

.btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-decline:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 📱 Mobile: Overlay/Fixed Version */
@media (max-width: 768px) {
    .cookie-banner {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        width: 92%;
        max-width: 500px;
        animation: slideUpMobile 0.5s ease-out;
    }

    .cookie-actions {
        flex-direction: row;
        width: 100%;
        gap: 8px;
    }

    .btn-cookie {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}