/* =====================================================
   Baner informacji o plikach cookie
   Stylizacja dopasowana do strony schronisko.sosnowiec.pl
   ===================================================== */

#cookie-consent-banner {
    display: none; /* Pokazywany przez JS */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #f9f9f4;
    color: #333333;
    border-top: 1px solid #ececec;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
    font: 11px Arial, Helvetica, sans-serif;
    line-height: 1.5;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

#cookie-consent-banner.cookie-banner--hiding {
    transform: translateY(100%);
    opacity: 0;
}

.cookie-banner__text {
    flex: 1 1 400px;
    max-width: 700px;
    min-width: 0;
    color: #424242;
}

.cookie-banner__text a {
    color: #00491e;
    text-decoration: underline;
}

.cookie-banner__text a:hover {
    color: #ABC74C;
}

.cookie-banner__buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}

.cookie-btn {
    padding: 6px 16px;
    font: bold 11px Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: background 0.15s ease;
    border-radius: 2px;
    white-space: nowrap;
    line-height: 1.4;
}

.cookie-btn--accept {
    background: #00491e;
    color: #ffffff;
    border: 1px solid #003516;
}

.cookie-btn--accept:hover {
    background: #005c26;
}

.cookie-btn--decline {
    background: #ffffff;
    color: #6C6C6C;
    border: 1px solid #b4b4b4;
}

.cookie-btn--decline:hover {
    background: #ececec;
    color: #424242;
}

/* Responsywność */
@media (max-width: 640px) {
    #cookie-consent-banner {
        padding: 10px 12px;
        text-align: center;
    }
    .cookie-banner__text {
        flex: 1 1 100%;
        font-size: 11px;
    }
    .cookie-banner__buttons {
        width: 100%;
        justify-content: center;
    }
    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

