.vvrd-login-wrap {
    --vvrd-cream: #f7f0e6;
    --vvrd-paper: #fffdf8;
    --vvrd-bordeaux: #a52735;
    --vvrd-bordeaux-dark: #761b27;
    --vvrd-orange: #e85a0c;
    --vvrd-gold: #c68b38;
    --vvrd-ink: #251b18;
    --vvrd-muted: #7a6a60;
    --vvrd-border: #e8d9c8;
    --vvrd-bad: #a52735;
    --vvrd-shadow: 0 28px 70px rgba(56, 28, 20, 0.14);
    align-items: center;
    background:
        radial-gradient(circle at 12% 18%, rgba(232, 90, 12, 0.08), transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(165, 39, 53, 0.07), transparent 38%),
        var(--vvrd-cream);
    box-sizing: border-box;
    display: flex;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    justify-content: center;
    margin: 0 auto;
    max-width: 100%;
    min-height: 80vh;
    padding: clamp(20px, 4vw, 40px) 16px;
    width: 100%;
}

.vvrd-login-wrap *,
.vvrd-login-wrap *::before,
.vvrd-login-wrap *::after {
    box-sizing: border-box;
}

.vvrd-login-card {
    background: var(--vvrd-paper);
    border: 1px solid var(--vvrd-border);
    border-radius: 28px;
    box-shadow: var(--vvrd-shadow);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    max-width: 920px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.vvrd-login-aside {
    background:
        linear-gradient(165deg, rgba(255, 253, 248, 0.98), rgba(247, 236, 224, 0.96)),
        radial-gradient(circle at 20% 0%, rgba(232, 90, 12, 0.12), transparent 55%);
    border-right: 1px solid var(--vvrd-border);
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: center;
    min-height: 100%;
    padding: clamp(28px, 4vw, 44px) clamp(24px, 3.5vw, 40px);
    position: relative;
}

.vvrd-login-aside::after {
    background: var(--vvrd-paper);
    clip-path: polygon(0 42%, 100% 50%, 0 58%);
    content: "";
    height: 28px;
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    z-index: 2;
}

.vvrd-login-brand {
    width: min(180px, 48vw);
}

.vvrd-login-logo {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.vvrd-login-flourish {
    color: var(--vvrd-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    line-height: 1;
    opacity: 0.85;
}

.vvrd-login-welcome {
    color: var(--vvrd-bordeaux-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.8vw, 2.15rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.22;
    margin: 0;
    max-width: 16ch;
}

.vvrd-login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 44px) clamp(24px, 3.5vw, 44px);
}

.vvrd-login-panel h2 {
    color: var(--vvrd-bordeaux-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 10px;
}

.vvrd-login-panel h2::after {
    background: var(--vvrd-orange);
    border-radius: 999px;
    content: "";
    display: block;
    height: 4px;
    margin-top: 14px;
    width: 56px;
}

.vvrd-login-intro {
    color: var(--vvrd-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 22px;
    max-width: 34ch;
}

.vvrd-login-error {
    background: rgba(165, 39, 53, 0.08);
    border: 1px solid rgba(165, 39, 53, 0.2);
    border-radius: 14px;
    color: var(--vvrd-bad);
    font-size: 14px;
    margin-bottom: 16px;
    padding: 12px 14px;
}

.vvrd-login-form {
    display: grid;
    gap: 16px;
}

.vvrd-login-form label > span:first-child {
    color: var(--vvrd-bordeaux);
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.vvrd-login-field {
    align-items: center;
    background: #fff;
    border: 1px solid var(--vvrd-border);
    border-radius: 999px;
    display: flex;
    gap: 10px;
    min-height: 50px;
    padding: 0 14px 0 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vvrd-login-field:focus-within {
    border-color: rgba(232, 90, 12, 0.55);
    box-shadow: 0 0 0 3px rgba(232, 90, 12, 0.14);
}

.vvrd-login-field-icon {
    color: #b9a697;
    display: inline-flex;
    flex: 0 0 auto;
}

.vvrd-login-field input {
    background: transparent;
    border: 0;
    color: var(--vvrd-ink);
    flex: 1 1 auto;
    font-size: 15px;
    font-weight: 500;
    min-height: 46px;
    min-width: 0;
    outline: none;
    padding: 0;
}

.vvrd-login-field input::placeholder {
    color: #b5a697;
}

.vvrd-login-toggle {
    background: transparent;
    border: 0;
    color: #b9a697;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    padding: 4px;
}

.vvrd-login-toggle:hover {
    color: var(--vvrd-bordeaux);
}

.vvrd-login-toggle:focus-visible {
    border-radius: 6px;
    outline: 2px solid var(--vvrd-orange);
    outline-offset: 2px;
}

.vvrd-login-remember {
    align-items: center;
    color: var(--vvrd-muted);
    display: flex;
    font-size: 13px;
    font-weight: 600;
    gap: 10px;
    letter-spacing: 0;
    margin-top: 2px;
    text-transform: none;
}

.vvrd-login-remember input {
    accent-color: var(--vvrd-orange);
    height: 16px;
    width: 16px;
}

.vvrd-login-form > button[type="submit"] {
    background: linear-gradient(135deg, #ef6a18, var(--vvrd-orange));
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(232, 90, 12, 0.28);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-top: 4px;
    min-height: 52px;
    text-transform: uppercase;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.vvrd-login-form > button[type="submit"]:hover {
    box-shadow: 0 14px 32px rgba(232, 90, 12, 0.34);
    filter: brightness(1.03);
    transform: translateY(-1px);
}

.vvrd-login-form > button[type="submit"]:active {
    transform: translateY(0);
}

.vvrd-login-form > button[type="submit"]:focus-visible {
    outline: 2px solid var(--vvrd-bordeaux);
    outline-offset: 3px;
}

.vvrd-login-card--compact {
    display: block;
    max-width: 480px;
    padding: clamp(24px, 4vw, 36px);
}

.vvrd-login-link {
    color: var(--vvrd-bordeaux);
    display: inline-block;
    font-weight: 700;
    margin-top: 14px;
    text-decoration: none;
}

.vvrd-login-link:hover {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .vvrd-login-card {
        grid-template-columns: 1fr;
    }

    .vvrd-login-aside {
        border-bottom: 1px solid var(--vvrd-border);
        border-right: 0;
        gap: 14px;
        padding-bottom: 24px;
        text-align: center;
    }

    .vvrd-login-aside::after {
        bottom: -1px;
        clip-path: polygon(42% 0, 58% 0, 50% 100%);
        height: 14px;
        left: 50%;
        right: auto;
        top: auto;
        transform: translateX(-50%);
        width: 28px;
    }

    .vvrd-login-brand,
    .vvrd-login-welcome {
        margin-inline: auto;
    }

    .vvrd-login-flourish {
        font-size: 22px;
    }
}
