/* Login / Register - ordertask target style */
:root {
    --auth-bg-image: url(/h5/assets/newBACKGROUND-DlFVzWjq.png);
}

html:has(.login),
html:has(.Register),
body:has(.login),
body:has(.Register) {
    background: #000 var(--auth-bg-image) no-repeat center center !important;
    background-size: cover !important;
}

.login,
.Register {
    width: 100%;
    min-height: 100vh;
    background: #000 var(--auth-bg-image) no-repeat center center !important;
    background-size: cover !important;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 24px;
}

.login .lang,
.Register .lang {
    width: 100%;
    max-width: 490px;
    text-align: right;
    padding: 14px 18px 0;
    font-size: 15px;
    color: #fff;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.login .from_login,
.Register .from_Register {
    width: 90%;
    max-width: 420px;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 36px auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
}

.login .logo,
.Register .logo {
    display: none !important;
}

.login .login_from,
.Register .Register_from {
    width: 100%;
    height: auto !important;
    min-height: 0;
    background: #fff;
    border-radius: 18px;
    padding: 22px 0 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.login .input_from,
.Register .input_from {
    width: 88%;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: #f0f4f8;
    padding: 0 12px;
    margin: 10px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login .input_from .area_code,
.Register .input_from .area_code {
    width: auto;
    min-width: 68px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    border-right: 1px solid #d8dee6;
    padding-right: 10px;
    margin-right: 6px;
    flex-shrink: 0;
    cursor: pointer;
}

.login .input_from input,
.Register .input_from input {
    border: none;
    height: 100%;
    flex: 1;
    min-width: 0;
    outline: none;
    padding: 0 4px;
    background: transparent;
    font-size: 14px;
    color: #222;
}

.login .input_from input::placeholder,
.Register .input_from input::placeholder {
    color: #9aa3ad;
}

.login .input_from.password_row,
.Register .input_from.password_row {
    padding-right: 8px;
}

.auth-eye {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: #8b95a1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
}

.auth-eye svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.login .Remember,
.Register .auth-terms {
    width: 88%;
    margin: 8px auto 4px;
    font-size: 13px;
    color: #666;
    line-height: 1.45;
}

.Register .auth-terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.Register .auth-terms .adm-checkbox {
    flex-shrink: 0;
    margin-top: 2px;
}

.login .submit,
.Register .Register_submit {
    width: 88%;
    margin: 16px auto 0;
}

.login .submit .adm-button,
.Register .Register_submit .adm-button {
    height: 46px !important;
    border-radius: 10px !important;
    border: none !important;
    background: var(--themeColor, #ff0050) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 16px rgba(255, 0, 80, 0.28) !important;
}

.login .login_text,
.Register .Register_text {
    width: 88%;
    margin: 14px auto 0;
    color: #8b95a1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    padding: 0;
    gap: 4px;
}

.login .login_text > p:last-child,
.Register .Register_text > p:last-child {
    color: var(--themeColor, #ff0050);
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}
