.vv-portal-tab,
.vv-public-page .vv-portal-tab,
.vv-public-page a.vv-portal-tab {
    background: rgba(255, 255, 255, .82);

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 12px 20px;

    border: 1px solid transparent;

    border-radius: 10px;

    background: transparent;

    color: #475569 !important;

    font-size: 15px;

    font-weight: 700;

    line-height: 1.25;

    text-align: center;

    text-decoration: none !important;

    box-shadow: none;

    cursor: pointer;

    transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .12s ease;

}

.vv-public-application .vv-application-card {
    max-width: 860px;
    margin: 0 auto;
}

.vv-public-application .vv-application-form {
    display: grid;
    gap: 16px;
    max-width: 760px;
}

.vv-public-application .vv-application-form .vv-form-row,
.vv-public-application .vv-application-form label {
    display: grid;
    gap: 6px;
    margin: 0;
}

.vv-public-application .vv-application-form label {
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.vv-public-application .vv-application-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.vv-public-application .vv-application-form select,
.vv-public-application .vv-application-form textarea {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1px solid #c7d0da;
    border-radius: 6px;
    background: #fff;
    color: #263746;
    font: inherit;
}

.vv-public-application .vv-application-form input:focus,
.vv-public-application .vv-application-form select:focus,
.vv-public-application .vv-application-form textarea:focus {
    border-color: #d96d25;
    box-shadow: 0 0 0 2px rgba(217, 109, 37, .16);
    outline: none;
}
.vv-portal-account-settings {
    display: grid;
    gap: 16px;
    max-width: 720px;
    padding: 22px;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    background: #fff;
}
.vv-portal-account-settings h4,
.vv-portal-account-settings p {
    margin: 0;
}
.vv-portal-account-form,
.vv-portal-account-reset-form {

    display: grid;
    gap: 18px;
    width: 100%;
    padding: 8px 0 0;
    font-weight: 600;
}

.vv-portal-account-settings h4 {

    margin: 0;

}
.vv-public-page a.vv-portal-tab:hover {

    background: rgba(255, 255, 255, .82);
    color: #0f172a !important;
    transform: none;

}

.vv-portal-account-settings > p {

    margin: 0;
    color: #64748b;
    background: rgba(255, 255, 255, .82);

    color: #0f172a !important;

    text-decoration: none !important;

}

.vv-portal-tab:focus,

.vv-public-page a.vv-portal-tab:focus {

    outline: none;

    box-shadow: 0 0 0 3px rgba(217, 109, 37, .18);

}

.vv-portal-tab.is-active,

.vv-portal-tab[aria-current="page"],

.vv-public-page a.vv-portal-tab.is-active,

.vv-public-page a.vv-portal-tab[aria-current="page"] {

    background: var(--vv-primary);

    color: #ffffff !important;

    border-color: var(--vv-primary);

    box-shadow: 0 2px 10px rgba(15, 23, 42, .08), 0 1px 3px rgba(15, 23, 42, .04);

}

.vv-portal-tab.is-active:hover,

.vv-portal-tab[aria-current="page"]:hover,

.vv-public-page a.vv-portal-tab.is-active:hover,

.vv-public-page a.vv-portal-tab[aria-current="page"]:hover {

    background: var(--vv-primary-dark);

    color: #ffffff !important;

}

.vv-portal-tab-panel {

    animation: vvPortalFadeIn .2s ease;

}

.vv-public-portal .vv-portal-tab-panel-credentials {

    display: grid;

    gap: 20px;

    min-width: 0;

.vv-portal-account-form {

    max-width: 680px;

}

}

.vv-public-portal .vv-portal-tab-panel-credentials > h4 {

    margin: 0;

    padding-bottom: 10px;

    border-bottom: 1px solid #e5e9ee;

}

.vv-public-portal .vv-portal-credential-summary {

    display: grid;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 10px;

}

.vv-public-portal .vv-portal-credential-summary-box {

    display: grid;

    align-content: center;

    gap: 4px;

    min-width: 0;

    min-height: 82px;

    padding: 12px 14px;

    border: 1px solid #e1e6ec;

    border-radius: 6px;

    background: #f7f9fb;

}

.vv-public-portal .vv-portal-credential-summary-box strong {

    color: #263746;

    font-size: 26px;

    line-height: 1;

}

.vv-public-portal .vv-portal-credential-summary-box span {

    color: #596775;

    font-size: 13px;

    line-height: 1.35;

}

.vv-public-portal .vv-portal-credential-alert {

    padding: 14px 16px;

    border: 1px solid #f0c27d;

    border-left: 4px solid #c96a2b;

    border-radius: 6px;

    background: #fff8ed;

    color: #633c1d;

    font-size: 14px;

    line-height: 1.5;

}

.vv-public-portal .vv-portal-credential-upload {

    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    align-items: center;

    gap: 10px 14px;

    min-width: 0;

    margin: 0;

    padding: 18px;

    border: 1px solid #dfe5eb;

    border-radius: 8px;

    background: #f7f9fb;

}

.vv-public-portal .vv-portal-credential-upload > label {

    grid-column: 1 / -1;

    margin: 0;

    color: #334155;

    font-size: 14px;

    font-weight: 700;

}

.vv-portal-account-form input {

    width: 100%;
    min-height: 44px;
    box-sizing: border-box;

}

.vv-portal-account-form .description {

    margin-top: -6px;
    color: #64748b;

}

.vv-portal-account-reset-form {

    justify-items: start;

}

.vv-public-portal .vv-portal-credential-upload select {

    grid-column: 1 / -1;

    width: 100%;

    min-width: 0;

    min-height: 46px;

    padding: 9px 12px;

    border: 1px solid #c7d0da;

    border-radius: 5px;

    background: #ffffff;

    color: #263746;

    font: inherit;

}

.vv-public-portal .vv-portal-credential-picker-label {

    grid-column: 1 / -1;

    color: #334155;

    font-size: 14px;

    font-weight: 700;

}

.vv-public-portal .vv-portal-credential-picker {

    position: relative;

    grid-column: 1 / -1;

    min-width: 0;

}

.vv-public-portal .vv-portal-credential-picker[open] {

    z-index: 5;

}

.vv-public-portal .vv-portal-credential-picker > summary {

    display: flex;

    align-items: center;

    min-height: 46px;

    padding: 9px 12px;

    border: 1px solid #c7d0da;

    border-radius: 5px;

    background: #ffffff;

    color: #263746;

    cursor: pointer;

    font: inherit;

    list-style-position: inside;

}

.vv-public-portal .vv-portal-credential-picker > summary:focus-visible {

    outline: 3px solid rgba(71, 116, 154, .35);

    outline-offset: 2px;

}

.vv-public-portal .vv-portal-credential-picker-options {

    position: absolute;

    top: calc(100% + 3px);

    right: 0;

    left: 0;

    display: grid;

    gap: 2px;

    max-height: 14rem;

    min-width: 0;

    margin: 0;

    padding: 6px;

    overflow-y: auto;

    border: 1px solid #c7d0da;

    border-radius: 5px;

    background: #ffffff;

    box-shadow: 0 8px 22px rgba(20, 34, 46, .18);

}

.vv-public-portal .vv-portal-credential-picker-legend {

    position: absolute;

    width: 1px;

    height: 1px;

    padding: 0;

    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;

}

.vv-public-portal .vv-portal-credential-option {

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;

    margin: 0;

    padding: 9px 10px;

    border-radius: 4px;

    color: #263746;

    cursor: pointer;

    font-size: 14px;

    font-weight: 500;

    line-height: 1.4;

}

.vv-public-portal .vv-portal-credential-option:hover,

.vv-public-portal .vv-portal-credential-option:focus-within {

    background: #f0f4f7;

}

.vv-public-portal .vv-portal-credential-option input[type="radio"] {

    flex: 0 0 auto;

    width: 18px;

    height: 18px;

    margin: 0;

}

.vv-public-portal .vv-portal-credential-option span {

    min-width: 0;

    overflow-wrap: anywhere;

}

.vv-public-portal .vv-portal-credential-upload textarea {

    grid-column: 1 / -1;

    width: 100%;

    min-width: 0;

    min-height: 110px;

    padding: 11px 12px;

    border: 1px solid #c7d0da;

    border-radius: 5px;

    background: #ffffff;

    color: #263746;

    font: inherit;

    line-height: 1.5;

    resize: vertical;

}

.vv-public-portal .vv-portal-credential-message-help {

    grid-column: 1 / -1;

    margin: -4px 0 2px;

    color: #667482;

    font-size: 13px;

    line-height: 1.45;

}

.vv-public-portal .vv-portal-credential-upload input[type="file"] {

    width: 100%;

    min-width: 0;

    min-height: 46px;

    padding: 8px;

    border: 1px solid #c7d0da;

    border-radius: 5px;

    background: #ffffff;

    color: #435160;

    font-size: 13px;

}

.vv-public-portal .vv-portal-credential-upload .vv-button {

    justify-self: end;

    width: auto;

    max-width: 100%;

    margin: 0;

}

.vv-public-portal .vv-portal-credential-submission {

    display: grid;

    gap: 16px;

    min-width: 0;

    margin-top: 4px;

    padding-top: 18px;

    border-top: 1px solid #e2e7ec;

}

.vv-public-portal .vv-portal-credential-submission > h5 {

    margin: 0;

    color: #263746;

    font-size: 18px;

}

.vv-public-portal .vv-portal-credential-submission-form {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    align-items: start;

    gap: 14px;

    min-width: 0;

    margin: 0;

}

.vv-public-portal .vv-portal-credential-submission-form > label {

    display: grid;

    gap: 6px;

    min-width: 0;

    margin: 0;

    color: #334155;

    font-size: 14px;

    font-weight: 700;

}

.vv-public-portal .vv-portal-submission-wide,

.vv-public-portal .vv-portal-credential-submission-form > .vv-portal-credential-picker-label,

.vv-public-portal .vv-portal-credential-submission-form > .vv-portal-credential-picker {

    grid-column: 1 / -1;

}

.vv-public-portal .vv-portal-credential-submission-form input:not([type="radio"]),

.vv-public-portal .vv-portal-credential-submission-form textarea {

    width: 100%;

    min-width: 0;

    min-height: 44px;

    padding: 9px 11px;

    border: 1px solid #c7d0da;

    border-radius: 5px;

    background: #ffffff;

    color: #263746;

    font: inherit;

    font-weight: 400;

}

.vv-public-portal .vv-portal-credential-submission-form textarea {

    min-height: 100px;

    line-height: 1.5;

    resize: vertical;

}

.vv-public-portal .vv-portal-credential-submission-form input[type="file"] {

    padding: 8px;

    font-size: 13px;

}

.vv-public-portal .vv-portal-credential-submission-form .vv-button {

    justify-self: start;

    margin: 0;

}

.vv-public-portal .vv-portal-credential-card {

    display: grid;

    gap: 14px;

    min-width: 0;

    padding: 18px;

    border: 1px solid #dfe5eb;

    border-left: 4px solid #587b69;

    border-radius: 6px;

    background: #ffffff;

}

.vv-public-portal .vv-portal-credential-card-status-expiring {

    border-left-color: #c58b22;

}

.vv-public-portal .vv-portal-credential-card-status-expired {

    border-left-color: #bd4c45;

}

.vv-public-portal .vv-portal-credential-card-status-future {

    border-left-color: #47749a;

}

.vv-public-portal .vv-portal-credential-head {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 12px;

    min-width: 0;

}

.vv-public-portal .vv-portal-credential-head h5 {

    margin: 0;

    color: #263746;

    font-size: 17px;

    line-height: 1.35;

}

.vv-public-portal .vv-portal-credential-head p {

    margin: 4px 0 0;

    color: #667482;

    font-size: 13px;

    line-height: 1.4;

}

.vv-public-portal .vv-portal-credential-status {

    flex: 0 0 auto;

    padding: 5px 9px;

    border: 1px solid #c8ded2;

    border-radius: 999px;

    background: #edf6f0;

    color: #315c43;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.3;

}

.vv-public-portal .vv-portal-credential-status-expiring {

    border-color: #efd9a8;

    background: #fff6df;

    color: #765514;

}

.vv-public-portal .vv-portal-credential-status-expired {

    border-color: #ecc5c2;

    background: #fff0ef;

    color: #8f312c;

}

.vv-public-portal .vv-portal-credential-status-future {

    border-color: #c7d9e8;

    background: #eef5fa;

    color: #315a78;

}

.vv-public-portal .vv-portal-credential-source {

    display: inline-block;

    margin-bottom: 5px;

    color: #596775;

    font-size: 12px;

    font-weight: 700;

}

.vv-public-portal .vv-portal-credential-review-message {

    padding: 12px 14px;

    border-left: 3px solid #47749a;

    border-radius: 4px;

    background: #eef5fa;

    color: #315a78;

    font-size: 14px;

    line-height: 1.5;

}

.vv-public-portal .vv-portal-credential-review-message p {

    margin: 5px 0 0;

    font-size: 14px;

}

.vv-public-portal .vv-portal-credential-meta {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 8px;

}

.vv-public-portal .vv-portal-credential-meta > div {

    display: grid;

    gap: 4px;

    min-width: 0;

    padding: 10px 12px;

    border-radius: 5px;

    background: #f5f7f9;

}

.vv-public-portal .vv-portal-credential-meta strong {

    color: #667482;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.35;

}

.vv-public-portal .vv-portal-credential-meta span {

    color: #263746;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.4;

    overflow-wrap: anywhere;

}

.vv-public-portal .vv-portal-credential-description {

    margin: 0;

    color: #435160;

    font-size: 14px;

    line-height: 1.55;

}

.vv-public-portal .vv-portal-credential-documents {

    display: grid;

    gap: 8px;

    padding-top: 12px;

    border-top: 1px solid #e8ecf0;

    font-size: 14px;

}

.vv-public-portal .vv-portal-credential-documents ul {

    display: grid;

    gap: 6px;

    margin: 0;

    padding: 0;

    list-style: none;

}

.vv-public-portal .vv-portal-credential-documents li {

    display: flex;

    flex-wrap: wrap;

    align-items: baseline;

    justify-content: space-between;

    gap: 4px 12px;

    font-size: 14px;

}

.vv-public-portal .vv-portal-credential-documents a {

    font-weight: 600;

    overflow-wrap: anywhere;

}

.vv-public-portal .vv-portal-credential-documents li span {

    color: #667482;

    font-size: 12px;

}

@media (max-width: 640px) {

    .vv-public-portal .vv-portal-credential-summary {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

    .vv-public-portal .vv-portal-credential-upload {

        grid-template-columns: minmax(0, 1fr);

        padding: 14px;

    }

    .vv-public-portal .vv-portal-credential-upload > label,

    .vv-public-portal .vv-portal-credential-upload select {

        grid-column: 1;

    }

    .vv-public-portal .vv-portal-credential-upload input[type="file"],

    .vv-public-portal .vv-portal-credential-upload .vv-button {

        grid-column: 1;

        width: 100%;

    }

    .vv-public-portal .vv-portal-credential-upload .vv-button {

        justify-self: stretch;

    }

    .vv-public-portal .vv-portal-credential-head {

        flex-direction: column;

    }

    .vv-public-portal .vv-portal-credential-meta {

        grid-template-columns: minmax(0, 1fr);

    }

    .vv-public-portal .vv-portal-credential-submission-form {

        grid-template-columns: minmax(0, 1fr);

    }

    .vv-public-portal .vv-portal-submission-wide,

    .vv-public-portal .vv-portal-credential-submission-form > .vv-portal-credential-picker-label,

    .vv-public-portal .vv-portal-credential-submission-form > .vv-portal-credential-picker {

        grid-column: 1;

    }

}

@keyframes vvPortalFadeIn {

    from {

        opacity: 0;

        transform: translateY(4px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

.vv-form,

.vv-application-form,

.vv-portal-form,

.vv-member-form {

    display: grid;

    gap: 14px;

    margin: 0;

}

.vv-form-row {

    position: relative;

    margin: 0;

}

.vv-form-row label,

.vv-form-row > label,

.vv-application-form label,

.vv-portal-form label,

.vv-member-form label,

.vv-access-card label {

    display: block;

    margin: 0 0 7px;

    color: #334155;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.35;

    letter-spacing: .01em;

}

.vv-application-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),

.vv-portal-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),

.vv-member-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),

.vv-access-card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),

.vv-public-access input[type="text"],

.vv-public-access input[type="date"],

.vv-public-access input[type="email"],

.vv-public-access input[type="tel"],

.vv-public-access input[type="number"],

.vv-application-form select,

.vv-portal-form select,

.vv-member-form select,

.vv-access-card select,

.vv-application-form textarea,

.vv-portal-form textarea,

.vv-member-form textarea,

.vv-access-card textarea {

    width: 100%;

    max-width: 100%;

    min-height: var(--vv-field-height);

    padding: 13px 15px;

    background-color: var(--vv-field-bg);

    border: 1px solid var(--vv-field-border);

    border-radius: var(--vv-field-radius);

    color: var(--vv-text);

    font-size: 16px;

    font-weight: 500;

    line-height: 1.45;

    box-shadow: var(--vv-field-shadow);

    outline: none;

    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;

}

.vv-application-form textarea,

.vv-portal-form textarea,

.vv-member-form textarea,

.vv-access-card textarea {

    min-height: 132px;

    resize: vertical;

}

.vv-application-form select,

.vv-portal-form select,

.vv-member-form select,

.vv-access-card select {

    padding-right: 48px;

    appearance: none;

    -webkit-appearance: none;

    -moz-appearance: none;

    background-repeat: no-repeat;

    background-position: right 15px center;

    background-size: 18px 18px;

}

.vv-application-form select::-ms-expand,

.vv-portal-form select::-ms-expand,

.vv-member-form select::-ms-expand,

.vv-access-card select::-ms-expand {

    display: none;

}

.vv-application-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover,

.vv-portal-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover,

.vv-member-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover,

.vv-access-card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover,

.vv-public-access input[type="text"]:hover,

.vv-public-access input[type="date"]:hover,

.vv-public-access input[type="email"]:hover,

.vv-public-access input[type="tel"]:hover,

.vv-public-access input[type="number"]:hover,

.vv-application-form select:hover,

.vv-portal-form select:hover,

.vv-member-form select:hover,

.vv-access-card select:hover,

.vv-application-form textarea:hover,

.vv-portal-form textarea:hover,

.vv-member-form textarea:hover,

.vv-access-card textarea:hover {

    border-color: var(--vv-field-border-hover);

    background-color: var(--vv-field-bg-soft);

}

.vv-application-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,

.vv-portal-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,

.vv-member-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,

.vv-access-card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,

.vv-public-access input[type="text"]:focus,

.vv-public-access input[type="date"]:focus,

.vv-public-access input[type="email"]:focus,

.vv-public-access input[type="tel"]:focus,

.vv-public-access input[type="number"]:focus,

.vv-application-form select:focus,

.vv-portal-form select:focus,

.vv-member-form select:focus,

.vv-access-card select:focus,

.vv-application-form textarea:focus,

.vv-portal-form textarea:focus,

.vv-member-form textarea:focus,

.vv-access-card textarea:focus {

    border-color: var(--vv-primary);

    background-color: #ffffff;

    box-shadow: var(--vv-field-focus-shadow);

}

.vv-application-form input::placeholder,

.vv-portal-form input::placeholder,

.vv-member-form input::placeholder,

.vv-access-card input::placeholder,

.vv-application-form textarea::placeholder,

.vv-portal-form textarea::placeholder,

.vv-member-form textarea::placeholder,

.vv-access-card textarea::placeholder {

    color: #94a3b8;

    opacity: 1;

}

.vv-application-form input[readonly],

.vv-portal-form input[readonly],

.vv-member-form input[readonly],

.vv-access-card input[readonly],

.vv-application-form input[disabled],

.vv-portal-form input[disabled],

.vv-member-form input[disabled],

.vv-access-card input[disabled],

.vv-application-form select[disabled],

.vv-portal-form select[disabled],

.vv-member-form select[disabled],

.vv-access-card select[disabled],

.vv-application-form textarea[disabled],

.vv-portal-form textarea[disabled],

.vv-member-form textarea[disabled],

.vv-access-card textarea[disabled] {

    background-color: #f6f8fb;

    border-color: #e2e8f0;

    color: var(--vv-muted);

    cursor: not-allowed;

}

.vv-portal-form .vv-field-admin-only {

    background: var(--vv-info-bg) !important;

    border-color: var(--vv-info-border) !important;

}

.vv-date-input,

.vv-form-row-date input[type="date"],

.vv-application-form input[type="date"],

.vv-portal-form input[type="date"],

.vv-member-form input[type="date"] {

    min-height: 40px;

}

.vv-field-note {

    margin: 7px 0 0;

    color: var(--vv-muted);

    font-size: 13px;

    line-height: 1.45;

}

.vv-photo-preview {

    margin: 0 0 10px;

}

.vv-photo-preview img,

.vv-current-photo img {

    display: block;

    max-width: 150px;

    height: auto;

    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);

}

.vv-form-row-file input[type="file"] {

    min-height: auto;

    padding: 12px 14px;

    background-color: #ffffff;

}

.vv-form-row-checkbox .vv-checkbox-label {

    display: flex;

    gap: 12px;

    align-items: flex-start;

    width: 100%;

    margin: 0;

    padding: 13px 15px;

    background: #ffffff;

    border: 1px solid var(--vv-field-border);

    border-radius: var(--vv-field-radius);

    color: var(--vv-text);

    font-size: 15px;

    font-weight: 500;

    line-height: 1.5;

    box-shadow: var(--vv-field-shadow);

    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;

}

.vv-form-row-checkbox .vv-checkbox-label:hover {

    background: var(--vv-primary-soft);

    border-color: var(--vv-primary);

}

.vv-form-row-checkbox input[type="checkbox"] {

    width: 20px;

    height: 20px;

    margin: 2px 0 0;

    flex: 0 0 auto;

    accent-color: var(--vv-primary);

}

.vv-required-marker {

    color: #d63638;

    font-weight: 800;

}

.vv-form-row-error label,

.vv-form-row-error .vv-checkbox-label {

    color: #991b1b;

}

.vv-form-row-error input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),

.vv-form-row-error select,

.vv-form-row-error textarea {

    border-color: #d63638 !important;

    background: #fff7f7 !important;

    box-shadow: 0 0 0 4px rgba(214, 54, 56, .14) !important;

}

.vv-form-row-checkbox.vv-form-row-error .vv-checkbox-label {

    background: #fff7f7;

    border-color: #d63638;

    box-shadow: 0 0 0 4px rgba(214, 54, 56, .12);

}

.vv-field-error-message {

    margin: 7px 0 0;

    color: #991b1b;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.4;

}

.vv-form-grid,

.vv-grid-form {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;

}

.vv-full,

.vv-grid-form .vv-field-vv_birthdate,

.vv-grid-form .vv-access-actions {

    grid-column: 1 / -1;

}

.vv-form-actions,

.vv-access-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    align-items: center;

    margin-top: 22px;

}

.vv-button,

.vv-public-page .vv-button,

.vv-public-page a.vv-button,

.vv-public-page button.vv-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding: 10px 22px;

    border: 1px solid transparent;

    border-radius: 10px;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.35;

    text-decoration: none !important;

    cursor: pointer;

    transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;

}

.vv-button-primary,

.vv-button.vv-button-primary,

.vv-public-page button.vv-button-primary,

.vv-public-page a.vv-button-primary {

    background: var(--vv-primary);

    color: #ffffff !important;

    border-color: var(--vv-primary);

}

.vv-button-primary:hover,

.vv-button.vv-button-primary:hover,

.vv-button-primary:focus,

.vv-button.vv-button-primary:focus,

.vv-public-page button.vv-button-primary:hover,

.vv-public-page a.vv-button-primary:hover {

    background: var(--vv-primary-dark);

    color: #ffffff !important;

    border-color: var(--vv-primary-dark);

    text-decoration: none !important;

}

.vv-button-secondary,

.vv-public-page a.vv-button-secondary {

    background: #ffffff;

    color: var(--vv-primary-dark) !important;

    border-color: var(--vv-primary);

}

.vv-button-secondary:hover,

.vv-public-page a.vv-button-secondary:hover {

    background: var(--vv-primary-soft);

    color: var(--vv-primary-dark) !important;

}

.vv-info-box,

.vv-notice {

    border-radius: var(--vv-radius-small);

    padding: 12px 14px;

    margin: 14px 0 18px;

}

.vv-info-box {

    background: var(--vv-info-bg);

    border-left: 4px solid var(--vv-info-border);

}

.vv-info-box p,

.vv-notice p {

    margin: 6px 0 0;

}

.vv-notice ul {

    margin: 0 0 0 20px;

}

.vv-notice-error {

    background: var(--vv-error-bg);

    border: 1px solid #fecdd3;

    border-left: 4px solid var(--vv-error-border);

    color: #9f1239;

}

.vv-notice-success {

    background: var(--vv-success-bg);

    border: 1px solid #a7f3d0;

    border-left: 4px solid var(--vv-success-border);

    color: #065f46;

}

.vv-public-access.vv-access-shell {

    width: 100%;

    max-width: 1060px;

    margin: 0 auto;

    box-sizing: border-box;

}

.vv-public-access .vv-card,

.vv-access-login-card {

    background: #ffffff;

    border: 1px solid #dbe5f1;

    border-radius: 14px;

    box-shadow: 0 16px 34px rgba(15, 23, 42, .08);

    padding: 30px;

    box-sizing: border-box;

}

.vv-token-access-login h2,

.vv-public-access h2 {

    margin-top: 0;

}

.vv-access-intro {

    margin-bottom: 22px;

}

.vv-public-card .vv-access-check,

.vv-access-check {

    display: flex;

    flex-direction: column;

    gap: 18px;

    width: 100%;

    max-width: 620px;

}

.vv-access-check .vv-notice {

    margin: 0 0 4px;

}

.vv-access-check .vv-form-row {

    margin: 0;

}

.vv-access-check label {

    display: block;

    margin-bottom: 7px;

    font-size: 15px;

    font-weight: 700;

    line-height: 1.35;

    color: #1f2937;

}

.vv-card-shell,

.vv-member-card {

    background: transparent;

    border: 0;

    border-radius: 0;

    box-shadow: none;

    padding: 0;

    margin: 0;

}

.vv-card-shell img,

.vv-member-card img,

.vv-card-jpg-preview {

    display: block;

    max-width: 100%;

    height: auto;

    margin: 0 auto;

    border: 0;

    border-radius: 0;

    box-shadow: none;

}

.vv-card-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin: 18px 0 0;

}

.vv-portal-member-card {

    width: 100%;

}

.vv-card-public-output {

    display: flex;

    justify-content: flex-start;

    align-items: flex-start;

    width: 100%;

    background: transparent;

    border: 0;

    border-radius: 0;

    box-shadow: none;

    padding: 0;

    margin: 0;

}

.vv-card-public-output > div {

    max-width: 100%;

}

.vv-public-page table {

    width: 100%;

    border-collapse: collapse;

    background: #ffffff;

}

.vv-public-page th,

.vv-public-page td {

    padding: 12px;

    border-bottom: 1px solid #e5e7eb;

    font-size: 16px;

}

.site-header .search-form,

.site-header #searchform,

.site-header form.search-form,

header .search-form,

header #searchform,

header form.search-form {

    background: transparent !important;

    border: 0 !important;

    border-radius: 0 !important;

    padding: 0 !important;

    margin: 0 !important;

    box-shadow: none !important;

}

.site-header .search-form input,

.site-header #searchform input,

.site-header form.search-form input,

header .search-form input,

header #searchform input,

header form.search-form input {

    width: auto !important;

    max-width: none !important;

    min-height: auto !important;

    height: auto !important;

    padding: 6px 10px !important;

    font-size: 14px !important;

    line-height: 1.3 !important;

    border-radius: 0 !important;

    box-shadow: none !important;

}

@media (max-width: 768px) {

    .vv-public-page {

        max-width: 100%;

    }

    .vv-public-page h1 {

        font-size: 34px;

    }

    .vv-public-page h2 {

        font-size: 28px;

    }

    .vv-public-page h3 {

        font-size: 23px;

    }

    .vv-public-card,

    .vv-application-card,

    .vv-portal-card,

    .vv-card-shell,

    .vv-access-card,

    .vv-status-card,

    .vv-profile-card,

    .vv-card-shell .vv-member-card,

    .vv-member-card,

    .vv-card-public-output,

    .vv-public-access .vv-card,

    .vv-access-login-card {

        padding: 18px;

        border-radius: 12px;

    }

    .vv-form-grid,

    .vv-grid-form {

        grid-template-columns: 1fr;

        gap: 14px;

    }

    .vv-form,

    .vv-application-form,

    .vv-portal-form,

    .vv-member-form {

        gap: 13px;

    }

    .vv-application-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),

    .vv-portal-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),

    .vv-member-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),

    .vv-access-card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),

    .vv-public-access input[type="text"],

    .vv-public-access input[type="date"],

    .vv-public-access input[type="email"],

    .vv-public-access input[type="tel"],

    .vv-public-access input[type="number"],

    .vv-application-form select,

    .vv-portal-form select,

    .vv-member-form select,

    .vv-access-card select,

    .vv-application-form textarea,

    .vv-portal-form textarea,

    .vv-member-form textarea,

    .vv-access-card textarea {

        min-height: 44px;

        padding: 9px 11px;

        font-size: 16px;

    }

    .vv-form-actions,

    .vv-access-actions {

        flex-direction: column;

        align-items: stretch;

    }

    .vv-button,

    .vv-public-page .vv-button {

        width: 100%;

    }

    .vv-portal-tabs {

        flex-direction: column;

        gap: 8px;

        padding: 6px;

    }

    .vv-portal-tab,

    .vv-public-page a.vv-portal-tab {

        width: 100%;

        flex: 1 1 auto;

    }

    .vv-card-shell {

    display: flex;

    justify-content: center;

}

.vv-member-card {

    display: flex;

    justify-content: center;

    align-items: center;

    background: transparent;

    border: 0;

    box-shadow: none;

    padding: 0;

}

.vv-card-jpg-preview {

    display: block;

    width: auto;

    max-width: 100%;

    height: auto;

    border-radius: 12px;

    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);

}

}

.vv-public-page a.vv-portal-tab:hover {
    background: rgba(255, 255, 255, .82);
    color: #0f172a !important;
    transform: translateY(-1px);
}

.vv-public-page a.vv-portal-tab.is-active,
.vv-public-page a.vv-portal-tab[aria-current="page"] {
    background: var(--vv-primary);
    border-color: var(--vv-primary);
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
}

.vv-public-portal .vv-portal-tab-panel {
    animation: vvPortalFadeIn .2s ease;
}

.vv-public-portal .vv-portal-tab-panel-credentials {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.vv-public-portal .vv-portal-account-settings {
    display: grid;
    gap: 18px;
    width: 100%;
    padding: 8px 0 0;
    border: 0;
    background: transparent;
}

.vv-public-portal .vv-portal-account-settings h4 {
    margin: 0;
    padding: 0 0 14px;
    border-bottom: 1px solid #e3e8ef;
    color: #172033;
    font-size: 21px;
}

.vv-public-portal .vv-portal-account-settings > p {
    margin: 0;
    color: #64748b;
}

.vv-public-portal .vv-portal-account-form,
.vv-public-portal .vv-portal-account-reset-form {
    display: grid;
    gap: 14px;
}

.vv-public-portal .vv-portal-account-form {
    max-width: 680px;
}

.vv-public-portal .vv-portal-account-form label {
    display: grid;
    gap: 6px;
}

.vv-public-portal .vv-portal-account-form label span {
    font-weight: 600;
}

.vv-public-portal .vv-portal-account-form input {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
}

.vv-public-portal .vv-portal-password-recommendation,
.vv-public-portal .vv-portal-password-strength {
    margin: -6px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}

.vv-public-portal .vv-portal-password-strength[data-strength="weak"] strong {
    color: #b42318;
}

.vv-public-portal .vv-portal-password-strength[data-strength="medium"] strong {
    color: #a15c00;
}

.vv-public-portal .vv-portal-password-strength[data-strength="strong"] strong {
    color: #16794a;
}

.vv-public-portal .vv-portal-logout-form {
    display: flex;
    justify-content: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e3e8ef;
}

/* Final portal surface overrides: keep every public tab visually consistent. */
.vv-public-portal .vv-portal-tabs {
    display: flex !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin: 0 0 26px !important;
    padding: 6px !important;
    background: #f4f7fb !important;
    border: 1px solid #e3e8ef !important;
    border-radius: 14px !important;
}

.vv-public-portal .vv-portal-tabs .vv-portal-tab,
.vv-public-portal .vv-portal-tabs a.vv-portal-tab {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    min-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #334155 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    transform: none !important;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease !important;
}

.vv-public-portal .vv-portal-tabs .vv-portal-tab:hover,
.vv-public-portal .vv-portal-tabs a.vv-portal-tab:hover {
    background: #e9eef5 !important;
    color: #172033 !important;
    transform: none !important;
}

.vv-public-portal .vv-portal-tabs .vv-portal-tab.is-active,
.vv-public-portal .vv-portal-tabs .vv-portal-tab[aria-current="page"],
.vv-public-portal .vv-portal-tabs a.vv-portal-tab.is-active,
.vv-public-portal .vv-portal-tabs a.vv-portal-tab[aria-current="page"] {
    background: var(--vv-primary) !important;
    border-color: var(--vv-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .12) !important;
}

.vv-public-portal .vv-portal-tab-panel-profile,
.vv-public-portal .vv-portal-tab-panel-credentials,
.vv-public-portal .vv-portal-account-settings {
    display: grid !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 760px !important;
    min-width: 0 !important;
}

.vv-public-portal .vv-portal-tab-panel-profile > h4,
.vv-public-portal .vv-portal-tab-panel-credentials > h4,
.vv-public-portal .vv-portal-account-settings h4 {
    margin: 0 !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid #e3e8ef !important;
    color: #172033 !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
}

.vv-public-portal .vv-portal-form,
.vv-public-portal .vv-portal-account-form {
    display: grid !important;
    gap: 14px !important;
    max-width: 760px !important;
}

.vv-public-portal .vv-portal-form label,
.vv-public-portal .vv-portal-account-form label {
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
}

.vv-public-portal .vv-portal-form label > span,
.vv-public-portal .vv-portal-account-form label > span {
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.vv-public-portal .vv-portal-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.vv-public-portal .vv-portal-form select,
.vv-public-portal .vv-portal-form textarea,
.vv-public-portal .vv-portal-account-form input {
    width: 100% !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    padding: 9px 11px !important;
    border: 1px solid #c7d0da !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #263746 !important;
    font: inherit !important;
    box-shadow: none !important;
}

.vv-public-portal .vv-portal-form input:focus,
.vv-public-portal .vv-portal-form select:focus,
.vv-public-portal .vv-portal-form textarea:focus,
.vv-public-portal .vv-portal-account-form input:focus {
    border-color: var(--vv-primary) !important;
    box-shadow: 0 0 0 2px rgba(217, 109, 37, .16) !important;
    outline: none !important;
}

@media (max-width: 782px) {
    .vv-public-portal .vv-portal-tabs {
        flex-direction: column !important;
    }

    .vv-public-portal .vv-portal-tabs .vv-portal-tab,
    .vv-public-portal .vv-portal-tabs a.vv-portal-tab {
        flex: 1 1 auto !important;
        width: 100% !important;
    }
}
