/* ONE-TRACE Cookies & Consent */
.otc-root {
    position: relative;
    z-index: 2147483000;
}

.otc-banner {
    position: fixed;
    left: 18px;
    right: auto;
    bottom: 18px;
    width: min(520px, calc(100vw - 36px));
    max-width: calc(100vw - 36px);
    z-index: 2147483000;
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #d7dce2;
    border-radius: 14px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .20);
}

.otc-banner__content {
    max-width: none;
    margin: 0;
    padding: 18px 20px;
}

.otc-banner__text h2 {
    margin: 0 0 7px;
    color: #01274e;
    font-size: 20px;
    line-height: 1.25;
}

.otc-banner__text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.otc-banner__text a {
    color: #01274e;
    text-decoration: underline;
}

.otc-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.otc-btn {
    min-height: 42px;
    padding: 9px 17px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s ease, transform .15s ease;
}

.otc-btn:hover {
    opacity: .90;
}

.otc-btn:active {
    transform: translateY(1px);
}

.otc-btn--primary {
    border: 1px solid #01274e;
    background: #01274e;
    color: #ffffff;
}

.otc-btn--secondary {
    border: 1px solid #01274e;
    background: #ffffff;
    color: #01274e;
}

.otc-btn--link {
    border: 0;
    background: transparent;
    color: #01274e;
    text-decoration: underline;
    padding-left: 5px;
    padding-right: 5px;
}

.otc-customize {
    margin-top: 18px;
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
}

.otc-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid #eef0f2;
}

.otc-category strong,
.otc-category span {
    display: block;
}

.otc-category strong {
    color: #01274e;
    margin-bottom: 2px;
}

.otc-category > div > span {
    color: #68707a;
    font-size: 13px;
}

.otc-always {
    flex: 0 0 auto;
    color: #5b6470;
    font-size: 13px;
    font-weight: 600;
}

.otc-category--toggle {
    cursor: pointer;
}

.otc-switch {
    position: relative;
    flex: 0 0 auto;
    width: 48px;
    height: 26px;
}

.otc-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.otc-slider {
    position: absolute;
    inset: 0;
    background: #b7bdc5;
    border-radius: 30px;
    transition: .2s;
}

.otc-slider:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #ffffff;
    transition: .2s;
}

.otc-switch input:checked + .otc-slider {
    background: #01274e;
}

.otc-switch input:checked + .otc-slider:before {
    transform: translateX(22px);
}

@media (max-width: 767px) {
    .otc-banner {
        left: 8px;
        right: auto;
        bottom: 8px;
        width: min(380px, calc(100vw - 16px));
        max-width: calc(100vw - 16px);
        border-radius: 10px;
    }

    .otc-banner__content {
        padding: 14px;
    }

    .otc-banner__text h2 {
        font-size: 18px;
    }

    .otc-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .otc-btn {
        width: 100%;
    }

    .otc-category {
        align-items: flex-start;
    }
}


/* CMS page: deliberately light styling so Warehouse keeps control of typography/layout. */
.otc-cms-content h2 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.otc-consent-status {
    display: inline-block;
    margin: 0 0 14px;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #f8f9fa;
}

.otc-cms-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.otc-cms-content .table {
    margin-bottom: 22px;
}

@media (max-width: 575px) {
    .otc-cms-actions .btn {
        width: 100%;
    }
}
