.ovv-portal-page .entry-title,
.ovv-portal-page .wp-block-post-title,
.ovv-portal-page main > h1:first-child,
.ovv-portal-page article > h1:first-child,
.ovv-portal-page header,
.ovv-portal-page footer,
.ovv-portal-page .site-header,
.ovv-portal-page .site-footer,
.ovv-portal-page .wp-site-blocks > header,
.ovv-portal-page .wp-site-blocks > footer {
    display: none !important;
}

:root {
    --ovv-navy: #031b49;
    --ovv-blue: #1e77a8;
    --ovv-red: #b7202b;
    --ovv-yellow: #f5c73b;
    --ovv-ink: #101828;
    --ovv-muted: #667085;
    --ovv-soft: #f5f7fa;
    --ovv-card: rgba(255, 255, 255, .88);
    --ovv-line: #e5e7eb;
    --ovv-line-strong: #d0d5dd;
    --ovv-shadow: 0 18px 48px rgba(16, 24, 40, .06);
}

html:has(.ovv-portal),
body.ovv-portal-page,
.ovv-portal-page {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    overflow: hidden !important;
}

body.ovv-fullscreen-template {
    background: var(--ovv-soft) !important;
}

.ovv-portal-page .site,
.ovv-portal-page .site-content,
.ovv-portal-page .content-area,
.ovv-portal-page .entry-content,
.ovv-portal-page .wp-site-blocks,
.ovv-portal-page main:not(.ovv-main),
.ovv-portal-page article:not(.ovv-list article) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ovv-portal,
.ovv-portal * {
    box-sizing: border-box;
}

.ovv-portal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    width: 100vw;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .40)),
        url("Background/Fondo.png") center center / cover no-repeat,
        var(--ovv-soft);
    color: var(--ovv-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.45;
}

.ovv-portal h1,
.ovv-portal h2,
.ovv-portal h3,
.ovv-portal h4,
.ovv-portal h5,
.ovv-portal h6,
.ovv-portal button,
.ovv-portal input,
.ovv-portal select,
.ovv-portal textarea {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif !important;
}

.ovv-auth {
    overflow: auto;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .20)),
        url("Background/Background.png") center center / cover no-repeat,
        var(--ovv-soft);
}

.ovv-auth-hero {
    min-height: 100vh;
    display: grid;
    align-content: center;
    gap: 16px;
    padding: clamp(32px, 6vw, 80px);
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(3, 27, 73, .82), rgba(3, 27, 73, .44), rgba(3, 27, 73, .08));
}

.ovv-hero-logo {
    width: clamp(96px, 12vw, 148px);
    aspect-ratio: 1;
    object-fit: contain;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.ovv-auth-hero span,
.ovv-header span,
.ovv-welcome span {
    color: var(--ovv-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ovv-auth-hero span {
    color: rgba(255, 255, 255, .78);
}

.ovv-auth-hero h2 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.02;
    letter-spacing: 0;
    font-weight: 700;
}

.ovv-auth-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
}

.ovv-auth-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.ovv-auth-points strong {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    font-size: 13px;
}

.ovv-auth-grid {
    position: absolute;
    top: 50%;
    right: clamp(24px, 6vw, 84px);
    transform: translateY(-50%);
    width: min(740px, calc(100vw - 48px));
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(320px, 1.15fr);
    gap: 16px;
}

.ovv-panel,
.ovv-header-card,
.ovv-stats div,
.ovv-list article,
.ovv-welcome,
.ovv-section-card,
.ovv-profile-form {
    border: 1px solid var(--ovv-line);
    border-radius: 16px;
    background: var(--ovv-card);
    box-shadow: none;
    backdrop-filter: blur(18px);
}

.ovv-panel {
    padding: 24px;
    box-shadow: var(--ovv-shadow);
}

.ovv-auth .ovv-panel {
    background: rgba(255, 255, 255, .86);
}

.ovv-panel h3,
.ovv-portal h3 {
    margin: 0 0 8px;
    color: var(--ovv-navy);
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: 0;
    font-weight: 650;
}

.ovv-panel p,
.ovv-header p,
.ovv-welcome p,
.ovv-list span,
.ovv-list small {
    color: var(--ovv-muted);
}

.ovv-client-form,
.ovv-profile-form {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.ovv-client-form label,
.ovv-profile-form label {
    display: grid;
    gap: 7px;
    margin: 0;
    color: #344054;
    font-size: 14px;
    font-weight: 650;
}

.ovv-client-form input,
.ovv-client-form select,
.ovv-profile-form input,
.ovv-contact-form input,
.ovv-contact-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--ovv-line-strong);
    border-radius: 12px;
    background: #ffffff;
    color: var(--ovv-ink);
    font: inherit;
}

.ovv-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.ovv-client-form input:focus,
.ovv-client-form select:focus,
.ovv-profile-form input:focus,
.ovv-contact-form input:focus,
.ovv-contact-form textarea:focus {
    border-color: var(--ovv-blue);
    outline: 4px solid rgba(30, 119, 168, .12);
}

.ovv-client-form button,
.ovv-profile-form button,
.ovv-contact-form button,
.ovv-welcome button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 16px;
    border: 0;
    border-radius: 12px;
    color: var(--ovv-navy);
    background: var(--ovv-yellow);
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.ovv-client-form button:hover,
.ovv-profile-form button:hover,
.ovv-contact-form button:hover,
.ovv-welcome button:hover {
    background: #ffd75c;
    transform: translateY(-1px);
}

.ovv-remember {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 8px !important;
    color: var(--ovv-muted) !important;
    font-weight: 650 !important;
}

.ovv-remember input {
    width: 16px;
    min-height: 16px;
    height: 16px;
    padding: 0;
    margin: 0;
}

.ovv-alert {
    margin: 16px 0;
    padding: 13px 16px;
    border: 1px solid rgba(183, 32, 43, .22);
    border-radius: 14px;
    color: #8f141e;
    background: #fff5f6;
    font-weight: 650;
}

.ovv-alert-ok {
    border-color: rgba(30, 119, 168, .20);
    color: var(--ovv-navy);
    background: #eef8fd;
}

.ovv-shell {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    background: transparent;
}

.ovv-mobile-menu-button,
.ovv-mobile-backdrop {
    display: none;
}

.ovv-mobile-menu-button {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid rgba(208, 213, 221, .82);
    border-radius: 14px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 12px 28px rgba(16, 24, 40, .10);
    cursor: pointer;
}

.ovv-mobile-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--ovv-navy);
}

.ovv-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    border: 0;
    background: rgba(3, 27, 73, .30);
    backdrop-filter: blur(2px);
}

.ovv-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 22px;
    color: var(--ovv-ink);
    background: transparent;
    border-right: 0;
    backdrop-filter: none;
}

.ovv-brand {
    display: grid;
    justify-items: start;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--ovv-navy);
    font-size: 15px;
    font-weight: 750;
}

.ovv-brand img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    padding: 7px;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.ovv-brand span {
    color: var(--ovv-navy);
}

.ovv-avatar {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ovv-navy);
    background: linear-gradient(135deg, #ffe48a, var(--ovv-yellow));
    box-shadow: 0 10px 28px rgba(3, 27, 73, .10);
    font-size: 22px;
    font-weight: 760;
}

.ovv-sidebar > strong {
    color: var(--ovv-navy);
    font-size: 15px;
    font-weight: 700;
}

.ovv-sidebar > span {
    margin-bottom: 18px;
    color: var(--ovv-muted);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.ovv-tabs {
    display: grid;
    gap: 6px;
}

.ovv-tabs button,
.ovv-logout {
    min-height: 42px;
    display: flex;
    align-items: center;
    border: 0;
    padding: 9px 12px;
    border-radius: 12px;
    color: #344054;
    background: transparent;
    text-align: left;
    text-decoration: none;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.ovv-tabs button:hover {
    background: rgba(255, 255, 255, .36);
}

.ovv-tabs button.active {
    color: var(--ovv-navy);
    background: rgba(255, 255, 255, .48);
    box-shadow: inset 3px 0 0 var(--ovv-yellow);
}

.ovv-logout {
    margin-top: auto;
    color: var(--ovv-red);
}

.ovv-main {
    height: 100vh;
    padding: 40px;
    overflow: auto;
    background: linear-gradient(90deg, rgba(245, 247, 250, .42), rgba(245, 247, 250, .18));
}

.ovv-main > .ovv-header,
.ovv-main > .ovv-view {
    width: min(100%, 1280px);
    margin-left: auto;
    margin-right: auto;
}

.ovv-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
    align-items: stretch;
}

.ovv-header-card {
    padding: 28px;
}

.ovv-advisor-card {
    display: grid;
    align-content: center;
    justify-items: start;
    min-height: 132px;
}

.ovv-header h2 {
    margin: 4px 0 6px;
    color: var(--ovv-navy);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: 0;
    font-weight: 650;
}

.ovv-header p {
    margin: 0;
}

.ovv-header strong {
    color: var(--ovv-navy);
    font-weight: 700;
}

.ovv-view {
    display: none;
}

.ovv-view.active {
    display: block;
}

.ovv-command-center {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 16px;
    margin: 18px 0;
}

.ovv-welcome {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 28px;
}

.ovv-welcome h3 {
    margin: 4px 0 8px;
    font-size: clamp(24px, 2.4vw, 34px);
}

.ovv-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
}

.ovv-stats div {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    padding: 18px 20px;
}

.ovv-stats strong {
    display: block;
    color: var(--ovv-blue);
    font-size: 30px;
    line-height: 1;
    font-weight: 720;
}

.ovv-stats span {
    display: block;
    margin-top: 0;
    color: var(--ovv-muted);
}

.ovv-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.ovv-section-card {
    padding: 22px;
}

.ovv-section-card-wide {
    grid-column: 1 / -1;
}

.ovv-section-card .ovv-portal h3,
.ovv-section-card h3 {
    margin-top: 0 !important;
}

.ovv-section-card .ovv-list {
    max-width: none;
    gap: 0;
}

.ovv-section-card .ovv-list article {
    min-height: 64px;
    padding: 16px 0;
    border: 0;
    border-top: 1px solid rgba(208, 213, 221, .72);
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
}

.ovv-section-card .ovv-list article:first-child {
    border-top: 0;
}

.ovv-section-card .ovv-list article:hover {
    border-color: rgba(208, 213, 221, .72);
    box-shadow: none;
    transform: none;
}

.ovv-portal h3 {
    margin-top: 34px;
    margin-bottom: 14px;
    color: var(--ovv-navy) !important;
    font-size: 22px !important;
    font-weight: 650 !important;
}

.ovv-list {
    display: grid;
    gap: 14px;
    max-width: 980px;
}

.ovv-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 24px;
    align-items: center;
    min-height: 76px;
    padding: 22px 24px;
    width: 100%;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ovv-list article:hover {
    border-color: rgba(30, 119, 168, .24);
    box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
    transform: translateY(-1px);
}

.ovv-list article > div {
    min-width: 0;
}

.ovv-list strong,
.ovv-list span,
.ovv-list small {
    display: block;
    text-align: left;
}

.ovv-list strong {
    margin-bottom: 5px;
    color: var(--ovv-navy);
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
}

.ovv-list span,
.ovv-list small {
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.ovv-list p {
    grid-column: 1 / -1;
    margin: 0;
    color: #475467;
}

.ovv-list em {
    min-width: 98px;
    padding: 7px 12px;
    border-radius: 999px;
    font-style: normal;
    font-size: 13px;
    font-weight: 750;
    text-align: center;
    justify-self: end;
}

.ovv-list em.done,
.ovv-list em.approved {
    color: var(--ovv-blue);
    background: #eef8fd;
}

.ovv-list em.pending {
    color: #6b5200;
    background: #fff4c7;
}

.ovv-list em.received {
    color: #ffffff;
    background: var(--ovv-blue);
}

.ovv-file {
    grid-column: 1 / -1;
    width: fit-content;
    color: var(--ovv-blue);
    font-weight: 700;
}

.ovv-profile-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
    padding: 24px;
}

.ovv-profile-form button {
    width: fit-content;
}

.ovv-contact-panel {
    max-width: 860px;
    padding: 28px;
    border: 1px solid var(--ovv-line);
    border-radius: 16px;
    background: var(--ovv-card);
    backdrop-filter: blur(18px);
}

.ovv-contact-copy {
    margin-bottom: 20px;
}

.ovv-contact-copy span {
    color: var(--ovv-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.ovv-contact-copy h3 {
    margin-top: 6px !important;
}

.ovv-contact-copy p {
    max-width: 620px;
    margin: 0;
    color: var(--ovv-muted);
}

.ovv-contact-form {
    display: grid;
    gap: 16px;
}

.ovv-contact-form label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 14px;
    font-weight: 650;
}

.ovv-staff-auth-grid {
    grid-template-columns: minmax(320px, .9fr) minmax(280px, .65fr);
}

.ovv-staff-credentials {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.ovv-staff-credentials code {
    display: block;
    padding: 10px 12px;
    border: 1px solid var(--ovv-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    color: var(--ovv-navy);
    white-space: normal;
    overflow-wrap: anywhere;
}

.ovv-staff-board {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.ovv-request-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 22px;
    padding: 24px;
    border: 1px solid var(--ovv-line);
    border-radius: 16px;
    background: var(--ovv-card);
    backdrop-filter: blur(18px);
}

.ovv-request-card span {
    color: var(--ovv-muted);
    font-size: 13px;
}

.ovv-request-card h3 {
    margin: 6px 0 8px !important;
}

.ovv-request-card p {
    margin: 0;
    color: #475467;
}

.ovv-request-card aside {
    display: grid;
    gap: 6px;
    align-content: start;
    padding-left: 18px;
    border-left: 1px solid var(--ovv-line);
}

.ovv-request-card aside strong {
    color: var(--ovv-navy);
}

.ovv-request-card em {
    width: fit-content;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff4c7;
    color: #6b5200;
    font-style: normal;
    font-weight: 750;
}

.ovv-unassigned-panel > p,
.ovv-empty-state {
    color: var(--ovv-muted);
}

.ovv-empty-state {
    margin-top: 16px;
    padding: 16px;
    border: 1px dashed var(--ovv-line-strong);
    border-radius: 14px;
    background: rgba(255, 255, 255, .58);
}

.ovv-unassigned-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.ovv-unassigned-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(140px, .55fr) minmax(170px, .65fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid rgba(208, 213, 221, .72);
}

.ovv-unassigned-card:first-child {
    border-top: 0;
}

.ovv-unassigned-card strong,
.ovv-unassigned-card span {
    display: block;
}

.ovv-unassigned-card span {
    color: var(--ovv-muted);
    font-size: 13px;
}

.ovv-unassigned-card strong {
    color: var(--ovv-navy);
}

.ovv-unassigned-card a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--ovv-navy);
    background: var(--ovv-yellow);
    font-weight: 750;
    text-decoration: none;
}

@media (max-width: 980px) {
    .ovv-auth-hero {
        min-height: auto;
        padding: 32px 24px;
    }

    .ovv-auth-grid {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: auto;
        margin: 18px;
    }

    .ovv-auth-grid,
    .ovv-header,
    .ovv-command-center,
    .ovv-dashboard-grid,
    .ovv-staff-auth-grid,
    .ovv-request-card,
    .ovv-unassigned-card,
    .ovv-stats,
    .ovv-profile-form {
        grid-template-columns: 1fr;
    }

    .ovv-section-card-wide {
        grid-column: auto;
    }

    .ovv-request-card aside {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--ovv-line);
        padding-top: 16px;
    }

    .ovv-shell {
        grid-template-columns: 1fr;
        overflow: hidden;
    }

    .ovv-sidebar {
        min-height: auto;
    }

    .ovv-main {
        height: auto;
        min-height: 100vh;
        padding: 28px;
    }

    .ovv-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ovv-client-shell .ovv-mobile-menu-button {
        position: fixed;
        top: 18px;
        left: 18px;
        z-index: 60;
        display: inline-flex;
        flex-direction: column;
    }

    .ovv-client-shell .ovv-mobile-backdrop {
        display: none;
    }

    .ovv-client-shell.ovv-menu-open .ovv-mobile-backdrop {
        display: block;
    }

    .ovv-client-shell .ovv-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 50;
        width: min(82vw, 320px);
        padding: 82px 22px 24px;
        overflow: auto;
        transform: translateX(-104%);
        transition: transform .24s ease;
        background:
            linear-gradient(90deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .78)),
            url("Background/Fondo.png") left center / cover no-repeat;
        border-right: 1px solid rgba(208, 213, 221, .70);
        box-shadow: 20px 0 54px rgba(16, 24, 40, .18);
        backdrop-filter: blur(16px);
    }

    .ovv-client-shell.ovv-menu-open .ovv-sidebar {
        transform: translateX(0);
    }

    .ovv-client-shell .ovv-tabs {
        grid-template-columns: 1fr;
    }

    .ovv-client-shell .ovv-main {
        padding-top: 78px;
    }
}

@media (max-width: 640px) {
    .ovv-portal {
        width: 100vw;
    }

    .ovv-auth-hero,
    .ovv-panel,
    .ovv-main,
    .ovv-sidebar {
        padding: 20px;
    }

    .ovv-welcome,
    .ovv-list article {
        grid-template-columns: 1fr;
    }

    .ovv-welcome {
        display: grid;
    }

    .ovv-tabs {
        grid-template-columns: 1fr;
    }

    .ovv-client-shell .ovv-sidebar {
        padding: 82px 20px 22px;
    }

    .ovv-client-shell .ovv-mobile-menu-button {
        top: 14px;
        left: 14px;
    }

    .ovv-list em {
        width: fit-content;
    }

    .ovv-list article {
        padding: 18px;
    }
}
