/* Consent banner — tokenized, no !important (see CLAUDE.md). */

.nosb-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    background: #fff;
    border: 1px solid var(--nosb-border, #D8E8E2);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(13, 20, 26, 0.16);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .22s ease, transform .22s ease;
}

.nosb-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.nosb-consent__inner {
    max-width: var(--nosb-container-max, 1120px);
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nosb-consent__text {
    margin: 0;
    flex: 1;
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: var(--nosb-mid, #44515C);
}

.nosb-consent__link {
    color: var(--nosb-primary, #238470);
    text-decoration: underline;
}

.nosb-consent__link:hover {
    color: var(--nosb-primary-dark, #1B6B5A);
}

.nosb-consent__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.nosb-consent__btn {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background .15s ease, color .15s ease;
}

.nosb-consent__btn--primary {
    background: var(--nosb-primary, #238470);
    color: #fff;
}

.nosb-consent__btn--primary:hover {
    background: var(--nosb-primary-dark, #1B6B5A);
}

.nosb-consent__btn--ghost {
    background: transparent;
    color: var(--nosb-mid, #44515C);
    border-color: var(--nosb-border, #D8E8E2);
}

.nosb-consent__btn--ghost:hover {
    background: var(--nosb-light, #F6FAF7);
    color: var(--nosb-dark, #0D141A);
}

@media (max-width: 640px) {
    .nosb-consent__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
    }

    .nosb-consent__actions {
        flex-direction: row-reverse; /* Accept sits under the thumb */
    }

    .nosb-consent__btn {
        flex: 1;
    }
}
