/* Visiora Affiliate OS — affiliate consent UI only. */
.vaf-consent,
.vaf-consent-manage,
.vaf-consent-inline,
.vaf-consent * {
    box-sizing: border-box;
}

.vaf-consent {
    --vaf-primary: #155eef;
    --vaf-primary-soft: #edf5ff;
    --vaf-primary-border: #d8e7ff;
    --vaf-heading: #0b1f3a;
    --vaf-text: #49617f;

    position: fixed;
    z-index: 2147483000;
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid var(--vaf-primary-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(11, 31, 58, 0.16);
    color: var(--vaf-text);
}

.vaf-consent[hidden] {
    display: none !important;
}

.vaf-consent__inner {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 18px;
}

.vaf-consent__copy {
    min-width: 0;
    flex: 1 1 auto;
}

.vaf-consent__title,
.vaf-consent__text {
    margin: 0;
}

.vaf-consent__title {
    margin-bottom: 4px;
    color: var(--vaf-heading);
    font-size: 16px;
    font-weight: 750;
}

.vaf-consent__text {
    font-size: 13.5px;
    line-height: 1.55;
}

.vaf-consent__text a {
    color: var(--vaf-primary);
    font-weight: 700;
    text-underline-offset: 2px;
}

.vaf-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.vaf-consent__button,
.vaf-consent-manage,
.vaf-consent-inline {
    appearance: none;
    border: 1px solid #bcd3ff;
    border-radius: 10px;
    background: #fff;
    color: #0b1f3a;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.vaf-consent__button {
    min-width: 104px;
    padding: 10px 14px;
}

.vaf-consent__button:hover,
.vaf-consent__button:focus-visible,
.vaf-consent-manage:hover,
.vaf-consent-manage:focus-visible,
.vaf-consent-inline:hover,
.vaf-consent-inline:focus-visible {
    border-color: #155eef;
    outline: 2px solid transparent;
    box-shadow: 0 0 0 3px #edf5ff;
}

.vaf-consent-manage {
    position: fixed;
    z-index: 2147482999;
    right: 14px;
    bottom: 14px;
    padding: 8px 11px;
    font-size: 12px;
    line-height: 1.2;
}

.vaf-consent:not([hidden]) + .vaf-consent-manage {
    display: none;
}

.vaf-consent-inline {
    padding: 6px 9px;
    font-size: inherit;
}

@media (max-width: 700px) {
    .vaf-consent {
        right: 10px;
        bottom: 10px;
        left: 10px;
        border-radius: 14px;
    }

    .vaf-consent__inner {
        display: block;
        padding: 16px;
    }

    .vaf-consent__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 14px;
    }

    .vaf-consent__button {
        width: 100%;
        min-width: 0;
    }

    .vaf-consent-manage {
        right: 10px;
        bottom: 10px;
    }
}
