/* Orchid Health consent banner, preferences dialog and click-to-load embeds */
.oc-banner,
.oc-dialog,
.oc-embed {
    font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #222;
    box-sizing: border-box;
}
.oc-banner *,
.oc-dialog *,
.oc-embed * {
    box-sizing: border-box;
}

.oc-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    background: #fff;
    border-top: 4px solid #77C9D4;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
}
.oc-banner[hidden] {
    display: none;
}
.oc-banner-inner {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
}
.oc-banner .oc-banner-text {
    flex: 1 1 420px;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.oc-banner a,
.oc-dialog a {
    color: #2f6466;
    text-decoration: underline;
}

.oc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.oc-btn {
    appearance: none;
    min-width: 120px;
    padding: 10px 18px;
    border: 2px solid #2f6466;
    border-radius: 4px;
    background: #2f6466;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}
.oc-btn:hover {
    background: #234c4e;
    border-color: #234c4e;
}
.oc-btn-secondary {
    background: #fff;
    color: #2f6466;
}
.oc-btn-secondary:hover {
    background: #E9F2F4;
    color: #234c4e;
}
.oc-btn:focus-visible,
.oc-close:focus-visible,
.oc-switch:focus-visible,
.oc-embed-play:focus-visible,
.oc-banner a:focus-visible,
.oc-dialog a:focus-visible {
    outline: 3px solid #f0a500;
    outline-offset: 2px;
}

.oc-dialog {
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 24px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 100001;
}
.oc-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}
.oc-dialog p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 12px;
}
.oc-dialog h2 {
    margin: 0;
    font-size: 24px;
    color: #222;
}
.oc-dialog h3 {
    margin: 0;
    font-size: 17px;
    color: #222;
}
.oc-dialog h3 label {
    display: inline;
    margin: 0;
    font: inherit;
    color: inherit;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}
.oc-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.oc-close {
    appearance: none;
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    padding: 0 6px;
    color: #444;
    cursor: pointer;
}
.oc-category {
    border: 1px solid #cfdfe2;
    border-radius: 6px;
    padding: 14px 16px 4px;
    margin-bottom: 14px;
}
.oc-category-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.oc-always {
    font-size: 14px;
    font-weight: 700;
    color: #2f6466;
}
.oc-note {
    background: #E9F2F4;
    border-radius: 4px;
    padding: 8px 10px;
}
.oc-note[hidden] {
    display: none;
}

.oc-switch {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    position: relative;
    width: 48px;
    height: 26px;
    margin: 0;
    border-radius: 13px;
    background: #8a8a8a;
    cursor: pointer;
    transition: background 0.15s;
}
.oc-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.15s;
}
.oc-switch:checked {
    background: #2f6466;
}
.oc-switch:checked::after {
    left: 25px;
}

.oc-embed {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #222 center / cover no-repeat;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.oc-embed.oc-embed-loaded {
    background: none;
    display: block;
}
.oc-embed.oc-embed-loaded iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.oc-embed-overlay {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    text-align: left;
}
.oc-embed-overlay p {
    margin: 8px 0 0;
    font-size: 14px !important;
    line-height: 1.4;
    color: #fff;
}
.oc-embed-play {
    appearance: none;
    border: 2px solid #fff;
    border-radius: 4px;
    background: #2f6466;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 16px;
    cursor: pointer;
}

.oc-privacy-link {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    color: inherit;
    text-decoration: underline;
}

@media only screen and (max-width: 600px) {
    .oc-actions {
        width: 100%;
    }
    .oc-btn {
        flex: 1 1 100%;
    }
}
