/* Modern customer sign-in modal — theme_aster */
.login-v4-modal .modal-dialog {
    max-width: 920px;
    margin: 1.25rem auto;
}
.login-v4-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .24);
}
.login-v4 {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 560px;
    color: #101828;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.login-v4 * { box-sizing: border-box; }
.login-v4__visual {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 36px 32px 28px;
    color: #fff;
    background:
        radial-gradient(420px 360px at -10% -10%, rgba(125, 211, 252, .42), transparent 65%),
        radial-gradient(360px 300px at 110% 100%, rgba(59, 130, 246, .55), transparent 70%),
        linear-gradient(145deg, #081a34 0%, #0b2c55 55%, #0e3b67 100%);
}
.login-v4__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(130deg, #000, transparent 72%);
}
.login-v4__visual::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(255,255,255,.035), 0 0 0 82px rgba(255,255,255,.02);
    pointer-events: none;
}
.login-v4__brand {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    max-width: 210px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 11px;
    background: rgba(255,255,255,.94);
}
.login-v4__brand img {
    display: block;
    max-width: 180px;
    max-height: 32px;
    width: auto;
    object-fit: contain;
}
.login-v4__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 36px;
    color: rgba(255,255,255,.7);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.login-v4__eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    background: currentColor;
    opacity: .65;
}
.login-v4__title {
    margin: 14px 0 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 650;
}
.login-v4__title em {
    display: block;
    color: #9ed4ff;
    font-style: normal;
}
.login-v4__text {
    margin: 14px 0 0;
    color: rgba(226,238,252,.68);
    font-size: 11.5px;
    line-height: 1.6;
}
.login-v4__features {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.login-v4__features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(237,246,255,.78);
    font-size: 10.5px;
    line-height: 1.35;
}
.login-v4__features svg {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    color: #7dd3fc;
}
.login-v4__visual-footer {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 24px;
    color: rgba(255,255,255,.42);
    font-size: 9px;
    letter-spacing: .04em;
}
.login-v4__visual-footer svg { width: 12px; height: 12px; }
.login-v4__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 42px 48px 26px;
    background: #fff;
}
.login-v4__close {
    position: absolute;
    z-index: 3;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #e4e9f1;
    border-radius: 50%;
    background: #fff;
    color: #657187;
    cursor: pointer;
    transition: color .18s, border-color .18s, background .18s;
}
.login-v4__close:hover { color: #1d4ed8; border-color: #c7d7f2; background: #f7faff; }
.login-v4__close svg { width: 14px; height: 14px; }
.login-v4__form-head { margin-bottom: 22px; }
.login-v4__kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1d4ed8;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.login-v4__kicker::before { content: ""; width: 16px; height: 1px; background: currentColor; opacity: .55; }
.login-v4 h2.login-v4__heading {
    margin: 10px 0 0;
    color: #101828;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -.035em;
    font-weight: 650;
}
.login-v4__subtitle {
    margin: 8px 0 0;
    color: #718096;
    font-size: 11px;
    line-height: 1.55;
}
.login-v4 .form-group { margin-bottom: 13px !important; }
.login-v4 .mb-4 { margin-bottom: 13px !important; }
.login-v4 .form-group > label,
.login-v4 .mb-4 > label,
.login-v4 label:not(.form-check-label) {
    display: block;
    margin-bottom: 6px;
    color: #344054;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.3;
}
.login-v4 .form-control,
.login-v4 .form-select {
    width: 100%;
    height: 48px;
    padding: 11px 14px;
    border: 1px solid #dfe6f0;
    border-radius: 11px;
    background: #fbfcfe;
    color: #101828;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.3;
    box-shadow: none;
    transition: border-color .18s, box-shadow .18s, background .18s;
}
.login-v4 .form-control::placeholder { color: #9aa7ba; font-size: 11px; }
.login-v4 .form-control:hover { border-color: #cbd6e6; }
.login-v4 .form-control:focus {
    border-color: rgba(37, 99, 235, .62);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}
.login-v4 .input-inner-end-ele { position: relative; }
.login-v4 .input-inner-end-ele .form-control { padding-right: 46px; }
.login-v4 .togglePassword {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    padding: 7px;
    color: #8b97aa;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
}
.login-v4 .togglePassword:hover { color: #1d4ed8; }
.login-v4 .d-flex.justify-content-between.gap-3.align-items-center.mb-2 {
    margin: 2px 0 13px !important;
    color: #667085;
    font-size: 10px;
}
.login-v4 .d-flex.justify-content-between.gap-3.align-items-center.mb-2 label {
    margin: 0;
    color: #667085;
    font-size: 10px;
    font-weight: 500;
}
.login-v4 .d-flex.justify-content-between.gap-3.align-items-center.mb-2 a {
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
}
.login-v4 .d-flex.justify-content-between.gap-3.align-items-center.mb-2 a:hover { text-decoration: underline; }
.login-v4 input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #2563eb;
}
.login-v4 .btn-primary,
.login-v4 #customerLoginBtn,
.login-v4 #customerOtpLogin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 48px;
    padding: 11px 18px;
    border: 1px solid rgba(29,78,216,.72);
    border-radius: 11px;
    background: linear-gradient(135deg, #3478e8, #1d4ed8 55%, #163e9e);
    box-shadow: 0 9px 20px rgba(29,78,216,.2), inset 0 1px 0 rgba(255,255,255,.2);
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.2;
    transition: transform .18s, box-shadow .18s, filter .18s;
}
.login-v4 .btn-primary:hover,
.login-v4 #customerLoginBtn:hover,
.login-v4 #customerOtpLogin:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8 55%, #163e9e);
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(29,78,216,.25), inset 0 1px 0 rgba(255,255,255,.24);
}
.login-v4 .btn-primary:focus-visible,
.login-v4 #customerLoginBtn:focus-visible,
.login-v4 #customerOtpLogin:focus-visible {
    outline: 3px solid rgba(37,99,235,.18);
    outline-offset: 3px;
}
.login-v4 .btn-primary:disabled,
.login-v4 #customerLoginBtn:disabled,
.login-v4 #customerOtpLogin:disabled { opacity: .6; cursor: wait; }
.login-v4__switch {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 2px 0 12px;
    color: #8b97aa;
    font-size: 10px;
}
.login-v4__link {
    padding: 0;
    border: 0;
    background: transparent;
    color: #1d4ed8;
    font: inherit;
    font-size: 10px;
    font-weight: 650;
    cursor: pointer;
}
.login-v4__link:hover { text-decoration: underline; }
.login-v4__divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 13px;
    color: #98a2b3;
    font-size: 9px;
}
.login-v4__divider::before,
.login-v4__divider::after { content: ""; flex: 1; height: 1px; background: #edf0f5; }
.login-v4__socials { display: grid; gap: 8px; }
.login-v4 .social-media-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #e1e7f0;
    border-radius: 10px;
    background: #fff;
    color: #344054;
    font-size: 10.5px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .18s, background .18s, color .18s;
}
.login-v4 .social-media-login-btn:hover { color: #1d4ed8; border-color: #c7d7f2; background: #f8fbff; }
.login-v4 .social-media-login-btn img { width: 16px; height: 16px; object-fit: contain; }
.login-v4__signup {
    margin: 20px 0 0;
    color: #98a2b3;
    font-size: 10px;
    text-align: center;
}
.login-v4__signup a,
.login-v4__signup span[data-bs-target] {
    color: #1d4ed8;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}
.login-v4__signup a:hover { text-decoration: underline; }
.login-v4 .default-captcha-container { margin: 7px 0 12px; }
.login-v4 .dynamic-default-and-recaptcha-section { margin: 7px 0 12px; }
.login-v4 .captcha-image-container { border-radius: 9px; overflow: hidden; }
.login-v4 .or-sign-in-with { display: none; }
.login-v4__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
    color: #a3adbb;
    font-size: 8.5px;
}
.login-v4__secure svg { width: 10px; height: 10px; }
@media (max-width: 767.98px) {
    .login-v4-modal .modal-dialog { max-width: calc(100% - 24px); margin: 12px auto; }
    .login-v4 { display: block; min-height: 0; }
    .login-v4__visual { display: none; }
    .login-v4__panel { padding: 32px 22px 22px; }
    .login-v4__close { top: 12px; right: 12px; }
    .login-v4 h2.login-v4__heading { font-size: 25px; }
    .login-v4 .form-control { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
    .login-v4 *, .login-v4 *::before, .login-v4 *::after { transition-duration: .001ms !important; }
}
