:root {
    --cbnutv-blue: #72a8cf;
    --cbnutv-blue-dark: #4f8bb7;
    --cbnutv-blue-deep: #3f7fab;
    --cbnutv-blue-light: #a8d5ef;
    --cbnutv-blue-soft: #b7c8d7;
    --cbnutv-text: #17202a;
    --cbnutv-muted: #6f8091;
    --cbnutv-line: #d9e0e6;
    --cbnutv-panel: #f7f9fb;
    --cbnutv-black: #050505;
    --cbnutv-green: #69ad58;
}

html:has(body.clientesbnutv-standalone),
body.clientesbnutv-standalone {
    margin: 0;
    min-height: 100%;
}

body.clientesbnutv-standalone {
    background: #fff;
}

body.clientesbnutv-standalone #wpadminbar {
    display: none;
}

.clientesbnutv-portal {
    color: var(--cbnutv-text);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 auto 56px;
    max-width: 1320px;
}

.clientesbnutv-brand-header {
    background:
        radial-gradient(circle at 18% 0%, rgba(189, 225, 247, 0.9), transparent 34%),
        linear-gradient(135deg, #4f8fbd 0%, #73add2 45%, #a8d9f2 100%);
    margin: 0 calc(50% - 50vw) 34px;
}

.clientesbnutv-brand-inner {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(360px, 560px);
    margin: 0 auto;
    max-width: 1320px;
    min-height: 148px;
}

.clientesbnutv-site-logo {
    align-items: center;
    color: #73d7f8;
    display: flex;
    font-size: 56px;
    font-weight: 800;
    padding: 22px 20px;
}

.clientesbnutv-site-logo img {
    max-height: 86px;
    max-width: 320px;
    object-fit: contain;
}

.clientesbnutv-client-logo {
    align-items: center;
    background: #fff;
    display: flex;
    justify-content: center;
    padding: 22px 36px;
}

.clientesbnutv-client-logo img {
    max-height: 112px;
    max-width: 390px;
    object-fit: contain;
}

.clientesbnutv-client-logo span {
    color: #111;
    font-size: 38px;
    font-weight: 700;
    text-align: center;
}

.clientesbnutv-login-form {
    background: linear-gradient(#fff, var(--cbnutv-panel));
    border: 1px solid var(--cbnutv-line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(31, 55, 79, 0.12);
    margin: 56px auto 0;
    max-width: 1120px;
    min-height: 300px;
    padding: 52px 36px;
}

.clientesbnutv-login-form h2 {
    color: #2d3339;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 34px;
}

.clientesbnutv-login-form label {
    color: #32383e;
    display: block;
    font-size: 20px;
    font-weight: 800;
    margin: 18px 0 8px;
}

.clientesbnutv-login-form input {
    background: #fff;
    border: 1px solid #c7d0d8;
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    font-size: 18px;
    height: 42px;
    max-width: 420px;
    padding: 8px 11px;
    width: 100%;
}

.clientesbnutv-login-form input:focus {
    border-color: var(--cbnutv-blue);
    box-shadow: 0 0 0 3px rgba(40, 91, 134, 0.18);
    outline: 0;
}

.clientesbnutv-login-form button {
    background: linear-gradient(#3b82ea, #1b55c8);
    border: 1px solid #1749ad;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(27, 85, 200, 0.22);
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 20px;
    font-weight: 800;
    margin-top: 30px;
    padding: 11px 28px;
}

.clientesbnutv-login-form button:hover {
    filter: brightness(1.05);
}

.clientesbnutv-alert {
    background: #fff1f1;
    border-left: 4px solid #d63638;
    color: #7a1d1f;
    margin: 0 0 18px;
    max-width: 440px;
    padding: 11px 13px;
}

.clientesbnutv-logout {
    color: #315f86;
    font-weight: 800;
    text-decoration: none;
}

.clientesbnutv-portal-footer {
    align-items: center;
    color: #6c8096;
    display: flex;
    flex-wrap: wrap;
    font-size: 20px;
    gap: 10px 16px;
    justify-content: center;
    line-height: 1.5;
    margin: 46px auto 0;
    max-width: 1160px;
    text-align: center;
}

.clientesbnutv-portal-footer span:not(:last-child)::after {
    color: #9aabba;
    content: "-";
    margin-left: 16px;
}

.clientesbnutv-portal-footer a {
    color: #315f86;
    font-weight: 800;
    text-decoration: none;
}

.clientesbnutv-portal-footer a:hover {
    text-decoration: underline;
}

.clientesbnutv-tabs {
    display: flex;
    gap: 14px;
    margin: 0 auto 44px;
    max-width: 1160px;
}

.clientesbnutv-tabs a {
    background: var(--cbnutv-blue-soft);
    color: #fff;
    display: block;
    font-size: 25px;
    font-weight: 800;
    min-width: 292px;
    padding: 16px 28px;
    text-align: center;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
}

.clientesbnutv-tabs a:hover {
    transform: translateY(-1px);
}

.clientesbnutv-tabs a.is-active {
    background: var(--cbnutv-blue);
}

.clientesbnutv-content-grid {
    background: var(--cbnutv-black);
    border: 4px solid var(--cbnutv-black);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    display: block;
    margin: 0 auto;
    max-width: 1160px;
    padding: 0;
}

.clientesbnutv-camera-list {
    background: #d8d8d8;
}

.clientesbnutv-camera-list ul {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.clientesbnutv-camera-list li {
    border: 1px solid #dcdcdc;
}

.clientesbnutv-camera-list a {
    align-items: center;
    background: #949494;
    color: #fff;
    display: flex;
    font-size: 17px;
    font-weight: 800;
    justify-content: center;
    min-height: 42px;
    padding: 8px;
    text-align: center;
    text-decoration: none;
    transition: background 0.14s ease;
}

.clientesbnutv-camera-list a:hover {
    background: #757575;
}

.clientesbnutv-camera-list li.is-active a {
    background: #000;
}

.clientesbnutv-viewer {
    background: #000;
    color: #fff;
    padding: 34px 40px 38px;
}

.clientesbnutv-viewer h3 {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 30px;
}

.clientesbnutv-embed {
    align-items: center;
    background: #fff;
    display: flex;
    justify-content: center;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 590px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.clientesbnutv-embed iframe,
.clientesbnutv-embed video,
.clientesbnutv-embed .fluid_video_wrapper {
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    width: 100% !important;
}

.clientesbnutv-embed .fluid_video_wrapper video,
.clientesbnutv-embed .fluid_video_wrapper iframe {
    height: 100% !important;
    object-fit: cover;
    width: 100% !important;
}

.clientesbnutv-photo-header h3 {
    margin-bottom: 16px;
}

.clientesbnutv-photo-workspace {
    align-items: start;
    display: grid;
    gap: 34px;
    grid-template-columns: 360px minmax(0, 1fr);
}

.clientesbnutv-calendar-panel {
    padding-top: 0;
}

.clientesbnutv-calendar-panel h4 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.clientesbnutv-calendar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
    color: #252525;
    max-width: 330px;
    overflow: hidden;
}

.clientesbnutv-calendar-head {
    align-items: center;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    padding: 14px 14px 10px;
}

.clientesbnutv-calendar-head strong {
    font-size: 22px;
    text-align: center;
    text-transform: capitalize;
}

.clientesbnutv-calendar-head a {
    align-items: center;
    background: #e7e7e7;
    border-radius: 50%;
    color: #4a4a4a;
    display: flex;
    font-size: 28px;
    height: 28px;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    width: 28px;
}

.clientesbnutv-calendar-head a:last-child {
    justify-self: end;
}

.clientesbnutv-calendar-weekdays,
.clientesbnutv-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.clientesbnutv-calendar-weekdays span {
    font-size: 17px;
    font-weight: 800;
    padding: 12px 4px;
    text-align: center;
}

.clientesbnutv-calendar-days a,
.clientesbnutv-calendar-days span {
    align-items: center;
    background: #f1f1f1;
    border: 1px solid #fff;
    color: #585858;
    display: flex;
    font-size: 20px;
    height: 42px;
    justify-content: center;
    text-decoration: none;
}

.clientesbnutv-calendar-days a:hover {
    background: #dfeaf3;
}

.clientesbnutv-calendar-days a.has-photos {
    font-weight: 800;
}

.clientesbnutv-calendar-days a.is-selected {
    background: #000;
    color: #fff;
}

.clientesbnutv-calendar-days span.is-disabled {
    color: #b6b6b6;
}

.clientesbnutv-calendar-days span.is-empty {
    background: #fafafa;
}

.clientesbnutv-photo-stage {
    align-self: start;
    min-width: 0;
    position: relative;
}

.clientesbnutv-embed.is-loading::before,
.clientesbnutv-slide-image.is-loading::before {
    background: rgba(0, 0, 0, 0.58);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 5;
}

.clientesbnutv-embed.is-loading::after,
.clientesbnutv-slide-image.is-loading::after {
    animation: clientesbnutv-spin 0.85s linear infinite;
    border: 4px solid rgba(255, 255, 255, 0.26);
    border-top-color: #fff;
    border-radius: 50%;
    content: "";
    height: 46px;
    left: 50%;
    margin: -23px 0 0 -23px;
    position: absolute;
    top: 50%;
    width: 46px;
    z-index: 6;
}

.clientesbnutv-slider {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
}

.clientesbnutv-slides {
    min-height: 0;
}

.clientesbnutv-slide {
    display: none;
    margin: 0;
    text-align: center;
}

.clientesbnutv-slide.is-active {
    display: block;
}

.clientesbnutv-slide img {
    display: block;
    margin: 0 auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.clientesbnutv-slide-image,
.clientesbnutv-photo-empty {
    align-items: center;
    background: #101010;
    display: flex;
    height: 420px;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.clientesbnutv-photo-empty {
    border: 1px solid #2a2a2a;
    color: #c7c7c7;
    padding: 22px;
    text-align: center;
}

.clientesbnutv-slide figcaption {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 24px;
    gap: 24px;
    justify-content: center;
    margin-top: 18px;
    min-height: 48px;
}

.clientesbnutv-slide figcaption a {
    background: var(--cbnutv-green);
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(105, 173, 88, 0.26);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    padding: 11px 20px;
    text-decoration: none;
}

.clientesbnutv-slide-button {
    background: transparent;
    border: 0;
    color: #8a8a8a;
    cursor: pointer;
    font-size: 76px;
    line-height: 1;
}

.clientesbnutv-slide-button:hover {
    color: #c0c0c0;
}

.clientesbnutv-slide-count {
    display: none;
}

@keyframes clientesbnutv-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .clientesbnutv-brand-inner,
    .clientesbnutv-photo-workspace {
        grid-template-columns: 1fr;
    }

    .clientesbnutv-brand-header {
        margin-bottom: 24px;
    }

    .clientesbnutv-client-logo {
        min-height: 110px;
    }

    .clientesbnutv-tabs {
        flex-direction: column;
    }

    .clientesbnutv-tabs a {
        min-width: 0;
    }

    .clientesbnutv-camera-list ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clientesbnutv-viewer {
        padding: 24px 16px;
    }

    .clientesbnutv-login-form {
        margin-top: 24px;
    }

    .clientesbnutv-calendar-panel {
        padding-top: 0;
    }

    .clientesbnutv-portal-footer {
        flex-direction: column;
    }

    .clientesbnutv-portal-footer span:not(:last-child)::after {
        content: "";
        margin-left: 0;
    }
}
