/**
 * Wedding Vendor Access — Login / Register / Verification pages.
 *
 * Loaded ONLY on /vendor-login, /vendor-register and /vendor-verification.
 * White background, two column layout: image on the left, form on the left
 * justified column at the right.
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body.wva-body {
    background: #ffffff;
    color: #1d2327;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ------------------------------------------------------------------ Layout */

.wva-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    background: #ffffff;
}

.wva-visual {
    position: relative;
    overflow: hidden;
    background: #f4f1ec;
}

.wva-visual__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.wva-visual__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 17, 18, 0.05) 0%, rgba(17, 17, 18, 0.55) 100%);
}

.wva-visual__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 48px 46px;
    color: #ffffff;
}

.wva-visual__badge {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 13px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
}

.wva-visual__title {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -0.01em;
    max-width: 15em;
}

.wva-visual__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 30em;
}

.wva-visual__list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.92);
}

.wva-visual__list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.wva-visual__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 6px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg);
}

/* -------------------------------------------------------------- Form panel */

.wva-panel {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 56px 6% 56px 7%;
    background: #ffffff;
}

.wva-panel__inner {
    width: 100%;
    max-width: 440px;
    text-align: left;
}

.wva-panel--wide .wva-panel__inner {
    max-width: 500px;
}

.wva-logo {
    display: block;
    max-width: 128px;
    height: auto;
    margin: 0 0 26px;
}

.wva-eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a8f98;
}

.wva-title {
    margin: 0 0 8px;
    font-size: 27px;
    line-height: 1.24;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #111112;
}

.wva-subtitle {
    margin: 0 0 26px;
    font-size: 14px;
    color: #646970;
}

/* ------------------------------------------------------------ Form fields */

.wva-form-row {
    margin-bottom: 16px;
    text-align: left;
}

.wva-form-row label {
    display: block;
    margin-bottom: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #1d2327;
}

.wva-form-row .required {
    color: #d63638;
}

.wva-form-row input[type="text"],
.wva-form-row input[type="email"],
.wva-form-row input[type="tel"],
.wva-form-row input[type="password"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #ffffff;
    font-size: 14px;
    font-family: inherit;
    color: #1d2327;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.wva-form-row input::placeholder {
    color: #a7aaaf;
}

.wva-form-row input:focus {
    outline: none;
    border-color: #111112;
    box-shadow: 0 0 0 3px rgba(17, 17, 18, 0.09);
}

.wva-form-row input[aria-invalid="true"] {
    border-color: #d63638;
}

.wva-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.wva-form-row--captcha {
    padding: 14px 16px;
    background: #f7f7f8;
    border: 1px solid #e6e6e8;
    border-radius: 8px;
}

.wva-form-row--captcha input {
    max-width: 140px;
}

.wva-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #8a8f98;
}

/* Honeypot — visually and semantically hidden, still submitted by bots. */
.wva-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* --------------------------------------------------------------- Checkboxes */

.wva-check-row {
    margin-bottom: 18px;
}

.wva-check-row label,
.wva-remember-row label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
}

.wva-check-row input[type="checkbox"],
.wva-remember-row input[type="checkbox"] {
    margin: 2px 0 0;
    width: 15px;
    height: 15px;
    accent-color: #111112;
    flex: 0 0 auto;
}

.wva-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.wva-remember-row label {
    align-items: center;
    margin: 0;
}

.wva-link {
    color: #111112;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.wva-link:hover,
.wva-link:focus {
    text-decoration: underline;
}

/* ------------------------------------------------------------------ Button */

.wva-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    border: 1px solid #111112;
    border-radius: 8px;
    background: #111112;
    color: #ffffff;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease, opacity 0.18s ease;
}

.wva-btn:hover,
.wva-btn:focus {
    background: #2c2c30;
    color: #ffffff;
}

.wva-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.wva-btn--inline {
    width: auto;
    padding: 12px 26px;
}

.wva-btn--ghost {
    background: transparent;
    color: #111112;
    border-color: #d5d5d8;
}

.wva-btn--ghost:hover,
.wva-btn--ghost:focus {
    background: transparent;
    color: #111112;
    border-color: #111112;
}

/* ---------------------------------------------------------------- Messages */

.wva-alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 13px;
    text-align: left;
}

.wva-alert p {
    margin: 0 0 5px;
}

.wva-alert p:last-child {
    margin-bottom: 0;
}

.wva-alert--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b42318;
}

.wva-alert--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.wva-alert--info {
    background: #f5f7fb;
    border-color: #e2e6ee;
    color: #33415c;
}

.wva-footnote {
    margin-top: 24px;
    font-size: 13px;
    color: #646970;
    text-align: left;
}

.wva-footnote a {
    color: #111112;
    font-weight: 600;
    text-decoration: none;
}

.wva-footnote a:hover,
.wva-footnote a:focus {
    text-decoration: underline;
}

.wva-footnote .sep {
    margin: 0 8px;
    color: #d1d5db;
}

.wva-secure-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #ededef;
    font-size: 12px;
    color: #8a8f98;
}

.wva-secure-note svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

/* ---------------------------------------------------------- Status blocks */

.wva-status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 0 22px;
    border-radius: 50%;
    background: #f5f7fb;
}

.wva-status-icon svg {
    width: 28px;
    height: 28px;
    color: #111112;
}

.wva-status-icon--success {
    background: #ecfdf3;
}

.wva-status-icon--success svg {
    color: #059669;
}

.wva-status-icon--error {
    background: #fef2f2;
}

.wva-status-icon--error svg {
    color: #d63638;
}

.wva-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.wva-badge--success {
    background: #ecfdf3;
    color: #05603a;
}

.wva-badge--error {
    background: #fef2f2;
    color: #912018;
}

.wva-steps {
    margin: 24px 0;
    padding: 20px 22px;
    background: #f9fafb;
    border: 1px solid #eceef1;
    border-radius: 10px;
    text-align: left;
}

.wva-steps h2 {
    margin: 0 0 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: #1d2327;
}

.wva-steps ol {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: #4b5563;
}

.wva-steps li {
    margin-bottom: 7px;
    line-height: 1.5;
}

.wva-steps li:last-child {
    margin-bottom: 0;
}

/* ------------------------------------------------------------- Responsive */

@media (max-width: 1024px) {
    .wva-panel {
        padding: 46px 7%;
    }

    .wva-visual__content {
        padding: 38px 34px;
    }

    .wva-visual__title {
        font-size: 25px;
    }
}

@media (max-width: 860px) {
    .wva-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .wva-visual {
        min-height: 230px;
        max-height: 320px;
    }

    .wva-visual__content {
        justify-content: flex-end;
        padding: 26px 24px;
    }

    .wva-visual__title {
        font-size: 21px;
    }

    .wva-visual__list {
        display: none;
    }

    .wva-panel {
        padding: 34px 22px 48px;
    }

    .wva-panel__inner,
    .wva-panel--wide .wva-panel__inner {
        max-width: 520px;
    }
}

@media (max-width: 520px) {
    .wva-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .wva-title {
        font-size: 23px;
    }

    .wva-remember-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}