/**
 * MABO Cookie Consent — Style
 * Wrzucić do /funky/public/css/cookie-consent.css
 */

/* === BANNER KONTENER === */
#mabo-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#mabo-cookie-banner.mcb-visible {
    transform: translateY(0);
}

#mabo-cookie-banner.mcb-hiding {
    transform: translateY(100%);
}

/* === WEWNĘTRZNY LAYOUT === */
.mcb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 32px;
    background: #1b2a4a;
    border-top: 3px solid #e8a723;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}

/* === TEKST === */
.mcb-text {
    flex: 1;
    color: #d0d8e8;
    font-size: 14px;
    line-height: 1.5;
}

.mcb-text strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.mcb-text p {
    margin: 0;
}

.mcb-link {
    color: #e8a723;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mcb-link:hover {
    color: #f0be4a;
}

/* === PRZYCISKI === */
.mcb-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.mcb-btn {
    padding: 10px 28px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.mcb-btn:hover {
    transform: translateY(-1px);
}

.mcb-btn:active {
    transform: translateY(0);
}

/* Odrzuć — subtelny, drugoplanowy */
.mcb-btn-reject {
    background: transparent;
    color: #9eaec4;
    border: 1.5px solid #4a5a7a;
}

.mcb-btn-reject:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: #7a8aaa;
}

/* Akceptuję — główny CTA */
.mcb-btn-accept {
    background: #e8a723;
    color: #1b2a4a;
}

.mcb-btn-accept:hover {
    background: #f0be4a;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .mcb-inner {
        flex-direction: column;
        padding: 20px 20px;
        gap: 16px;
        text-align: center;
    }

    .mcb-buttons {
        width: 100%;
        justify-content: center;
    }

    .mcb-btn {
        flex: 1;
        padding: 12px 16px;
    }
}

@media (max-width: 400px) {
    .mcb-text {
        font-size: 13px;
    }

    .mcb-btn {
        font-size: 13px;
        padding: 10px 12px;
    }
}

/* === UKRYJ STARY BANNER SPATIE === */
#cookie,
.js-cookie-consent,
.cookie-consent {
    display: none !important;
}
