/* =========================================================
   SITE BANNER (TEST MODE / COOKIE)
   ========================================================= */

.site-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 900;   /* ниже модалок (2000) и navbar (1000) */

    background: #111111;
    color: #ffffff;

    border-top: 2px solid #315cff;

    transform: translateY(100%);
    transition: transform 0.22s ease;

    pointer-events: auto;
}

.site-banner.is-visible {
    transform: translateY(0);
}

.site-banner__inner {
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto;

    padding: 16px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-banner__messages {
    display: flex;
    flex-direction: column;
    gap: 8px;

    min-width: 0;
}

.site-banner__row {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
}

.site-banner__tag {
    flex-shrink: 0;

    padding: 4px 8px;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: #111111;
}

.site-banner__tag--test {
    background: #315cff;
    color: #ffffff;
}

.site-banner__tag--cookie {
    background: #ffffff;
    color: #111111;
}

.site-banner__text {
    margin: 0;

    font-size: 12px;
    line-height: 1.5;

    color: #dddddd;

    min-width: 0;
}

.site-banner__copy {
    display: inline;

    padding: 0;

    border: 0;
    background: transparent;

    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    font-weight: 800;

    color: #ffffff;

    cursor: pointer;

    border-bottom: 1px dashed #315cff;

    transition: color 0.15s ease, border-color 0.15s ease;
}

.site-banner__copy:hover {
    color: #315cff;
    border-color: transparent;
}

.site-banner__copy.is-copied {
    color: #315cff;
    border-color: transparent;
}

.site-banner__accept {
    flex-shrink: 0;

    min-height: 42px;
    padding: 0 20px;

    border: 2px solid #ffffff;

    background: transparent;

    font: inherit;
    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: #ffffff;

    cursor: pointer;

    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.site-banner__accept:hover {
    background: #315cff;
    border-color: #315cff;
    color: #ffffff;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {

    .site-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;

        padding: 14px 0;
    }

    .site-banner__accept {
        width: 100%;
    }
}

@media (max-width: 640px) {

    .site-banner__inner {
        width: calc(100% - 28px);
    }

    .site-banner__row {
        align-items: flex-start;
        gap: 10px;
    }

    .site-banner__text {
        font-size: 11px;
    }

    .site-banner__copy {
        font-size: 11px;
    }
}

@media (max-width: 420px) {

    .site-banner__inner {
        width: calc(100% - 24px);
    }

    .site-banner__tag {
        font-size: 8px;
        padding: 3px 6px;
    }
}