/* Modern auth UI: register */

:root {
    --fv-auth-bg: #f2f7fb;
    --fv-auth-card: #ffffff;
    --fv-auth-border: #dbe7f3;
    --fv-auth-text: #12253a;
    --fv-auth-muted: #57718d;
    --fv-auth-primary: #0099de;
    --fv-auth-primary-2: #0077b3;
    --fv-auth-shadow: 0 24px 60px rgba(16, 38, 61, 0.16);
}

.woocommerce-account .woocommerce-notices-wrapper {
    max-width: 1200px;
    margin: 22px auto 0;
}

.fv-login-container {
    position: relative;
    display: flex;
    max-width: 1200px;
    margin: 26px auto 56px;
    background: var(--fv-auth-card);
    border: 1px solid var(--fv-auth-border);
    border-radius: 26px;
    box-shadow: var(--fv-auth-shadow);
    overflow: hidden;
    isolation: isolate;
}

.fv-login-container::before {
    content: "";
    position: absolute;
    right: -140px;
    top: -180px;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(0, 153, 222, 0.2) 0%, rgba(0, 153, 222, 0) 72%);
    pointer-events: none;
}

.fv-login-image {
    flex: 1;
    min-height: 720px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.fv-login-image::after {
    content: none;
}

.fv-login-form-container {
    flex: 1;
    padding: 48px 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.fv-login-form {
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 1;
    font-family: "Sora", "Nunito Sans", sans-serif;
}

.fv-login-title {
    margin: 0;
    color: var(--fv-auth-text);
    font-size: 34px;
    line-height: 1.18;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.fv-login-subtitle {
    color: var(--fv-auth-muted);
    margin: 11px 0 24px;
    line-height: 1.6;
    font-size: 15px;
}

.fv-login-form label,
.fv-login-form .form-row label,
.fv-login-form .woocommerce-form-row label {
    display: block;
    color: #29445e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: capitalize;
    margin-bottom: 8px;
}

.fv-login-form .input-text,
.fv-login-form input[type="text"],
.fv-login-form input[type="email"],
.fv-login-form input[type="password"],
.fv-login-form input[type="tel"] {
    width: 100%;
    min-height: 50px;
    border: 1px solid #c8d9ea;
    border-radius: 14px;
    padding: 0.8rem 0.95rem;
    font-size: 15px;
    line-height: 1.3;
    color: #10243a;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.fv-login-form .input-text:focus,
.fv-login-form input[type="text"]:focus,
.fv-login-form input[type="email"]:focus,
.fv-login-form input[type="password"]:focus,
.fv-login-form input[type="tel"]:focus {
    border-color: var(--fv-auth-primary);
    box-shadow: 0 0 0 4px rgba(0, 153, 222, 0.16);
    outline: none;
}

.fv-login-form .woocommerce-form-row,
.fv-login-form .form-row,
.fv-login-form p {
    margin-bottom: 15px;
}

.fv-login-form small {
    display: block;
    margin-top: 6px;
    color: #5f7892;
    font-size: 12px;
    line-height: 1.45;
}

.fv-login-form .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 2px;
}

.fv-login-form .woocommerce-form__label-for-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--fv-auth-primary);
}

.fv-login-form .woocommerce-form__label-for-checkbox span {
    color: #36516a;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.fv-login-form .woocommerce-form__label-for-checkbox a {
    color: #006ba1;
    text-decoration: none;
    font-weight: 700;
}

.fv-login-form .woocommerce-form__label-for-checkbox a:hover {
    text-decoration: underline;
}

.fv-login-form .woocommerce-Button,
.fv-login-form button[type="submit"] {
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--fv-auth-primary) 0%, var(--fv-auth-primary-2) 100%);
    box-shadow: 0 12px 24px rgba(0, 130, 188, 0.3);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fv-login-form .woocommerce-Button:hover,
.fv-login-form button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(0, 130, 188, 0.36);
}

.fv-register-link {
    margin-top: 14px;
    text-align: center;
}

.fv-register-link a {
    color: #006ba1;
    text-decoration: none;
    font-weight: 700;
}

.fv-register-link a:hover {
    text-decoration: underline;
}

.fv-login-form .wd-social-login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.fv-login-form .wd-social-login a.login-fb-link.btn,
.fv-login-form .wd-social-login a.login-goo-link.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 0;
    border: 0;
    border-radius: 8px;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.fv-login-form .wd-social-login a.login-fb-link.btn {
    background: #4267a9;
}

.fv-login-form .wd-social-login a.login-goo-link.btn {
    background: #4285f4;
}

.fv-login-form .wd-social-login a.login-fb-link.btn:hover,
.fv-login-form .wd-social-login a.login-goo-link.btn:hover {
    color: #fff !important;
    text-decoration: none;
    filter: brightness(0.92);
}

@media (max-width: 1024px) {
    .fv-login-container {
        margin: 20px auto 34px;
    }

    .fv-login-form-container {
        padding: 40px 34px;
    }

    .fv-login-image {
        min-height: 640px;
    }
}

@media (max-width: 768px) {
    .fv-login-container {
        flex-direction: column;
        border-radius: 20px;
    }

    .fv-login-image {
        display: none;
    }

    .fv-login-form-container {
        padding: 26px 18px;
    }

    .fv-login-form {
        max-width: 100%;
    }

    .fv-login-title {
        font-size: 30px;
    }

    .fv-login-form .wd-social-login {
        grid-template-columns: 1fr;
    }
}
