body.ovm-whm-login-body {
    margin: 0;
    background: #f4f4f6;
    color: #101828;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.ovm-whm-login-body.logged-in.admin-bar {
    margin-top: 0;
}

html {
    background: #f4f4f6;
}

.ovm-whm-login-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
}

.ovm-whm-login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: #f7f7f8;
}

.ovm-whm-login-card {
    width: 100%;
    max-width: 420px;
}

.ovm-whm-login-brand {
    display: inline-block;
    margin-bottom: 28px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #155eef;
}

.ovm-whm-login-header h1 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.15;
}

.ovm-whm-login-header p {
    margin: 0 0 28px;
    color: #667085;
    font-size: 15px;
}

.ovm-whm-login-notice {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #fecdca;
    background: #fef3f2;
    color: #b42318;
    font-size: 14px;
}

.ovm-whm-login-form {
    display: grid;
    gap: 18px;
}

.ovm-whm-login-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.ovm-whm-login-field input[type="text"],
.ovm-whm-login-field input[type="password"] {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d0d5dd;
    background: #fff;
    box-sizing: border-box;
    font-size: 15px;
    color: #101828;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ovm-whm-login-field input[type="text"]:focus,
.ovm-whm-login-field input[type="password"]:focus {
    outline: none;
    border-color: #155eef;
    box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.12);
}

.ovm-whm-login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ovm-whm-login-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475467;
}

.ovm-whm-login-checkbox input {
    margin: 0;
}

.ovm-whm-login-link {
    color: #344054;
    font-size: 14px;
    text-decoration: none;
}

.ovm-whm-login-link:hover,
.ovm-whm-login-link:focus {
    text-decoration: underline;
}

.ovm-whm-login-submit {
    appearance: none;
    border: 0;
    padding: 14px 18px;
    background: #155eef;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.2s ease;
}

.ovm-whm-login-submit:hover,
.ovm-whm-login-submit:focus {
    opacity: 0.95;
}

.ovm-whm-login-submit:active {
    transform: translateY(1px);
}

.ovm-whm-login-visual {
    position: relative;
    min-height: 320px;
    background-color: #000;
    background-image: url(../img/login-bg.webp);
    background-size: cover;
    background-position: center center;
}

.ovm-whm-login-visual__placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

@media (max-width: 920px) {
    .ovm-whm-login-layout {
        grid-template-columns: 1fr;
    }

    .ovm-whm-login-panel {
        min-height: 100vh;
        order: 2;
    }

    .ovm-whm-login-visual {
        order: 1;
        min-height: 220px;
    }
}


body.ovm-whm-logout-body {
    background: #f4f4f6;
}

.ovm-whm-logout-panel {
    background: #f7f7f8;
}

.ovm-whm-logout-card {
    text-align: center;
}

.ovm-whm-logout-brand {
    display: inline-block;
    margin-bottom: 28px;
    color: #155eef;
}

.ovm-whm-logout-header p {
    margin-bottom: 26px;
}

.ovm-whm-logout-check {
    display: flex;
    justify-content: center;
    margin: 0 0 28px;
}

.ovm-whm-logout-check__circle {
    width: 124px;
    height: 124px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #dfe7f5;
}

.ovm-whm-logout-check__circle svg {
    width: 56px;
    height: 56px;
    fill: none;
    stroke: #4f7ee8;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ovm-whm-logout-footer {
    margin: 0;
    color: #667085;
    font-size: 14px;
}

.ovm-whm-logout-link {
    margin-left: 4px;
    font-weight: 700;
    color: #101828;
}

.ovm-whm-logout-visual {
    background-color: #000;
    background-image: url(../img/login-bg.webp);
}


body.ovm-whm-reset-password-body {
    background: #f4f4f6;
}

.ovm-whm-reset-card--complete,
.ovm-whm-reset-card--checkemail {
    text-align: center;
}

.ovm-whm-reset-header h1 {
    font-size: 32px;
}

.ovm-whm-reset-info-card {
    margin: 0 0 28px;
    padding: 18px 20px;
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #475467;
    font-size: 15px;
    line-height: 1.6;
}

.ovm-whm-reset-info-card p {
    margin: 0;
}

.ovm-whm-reset-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ovm-whm-reset-submit {
    width: auto;
    min-width: 180px;
}

.ovm-whm-reset-back-link {
    color: #155eef;
    font-weight: 600;
}

.ovm-whm-reset-footer {
    margin: 0;
    color: #667085;
    font-size: 14px;
}

.ovm-whm-reset-check {
    margin-bottom: 28px;
}

.ovm-whm-reset-visual {
    background-color: #000;
    background-image: url(../img/login-bg.webp);
}

@media (max-width: 640px) {
    .ovm-whm-reset-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ovm-whm-reset-submit {
        width: 100%;
    }
}
