/* Customer Login preview. Shared homepage and Bootstrap styles remain unchanged. */
.customer-login {
    --bs-modal-width: 570px;
    --bs-modal-margin: 24px;
    color: #100b38;
}
.customer-login .modal-content {
    border: 1px solid #eeeaf8;
    border-radius: 12px;
    padding: 28px 38px;
    box-shadow: 0 18px 60px #17102d30;
    background: linear-gradient(125deg, #fff, #fefeff);
}
.login-close {
    position: absolute;
    top: 12px;
    right: 18px;
    border: 0;
    padding: 0 5px;
    background: transparent;
    color: #565584;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
}
.login-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 30px; }
.login-avatar { display: grid; place-items: center; width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; background: #f0e9fc; }
.login-avatar svg { width: 35px; height: 40px; fill: #6417a4; }
.login-heading h1 { font-size: 24px; margin: 8px 0 12px; letter-spacing: -.6px; }
.login-heading p { margin: 0 0 0 16px; font-size: 16px; line-height: 1.25; color: #555782; }
.login-field { margin-bottom: 20px; }
.login-field label { font-weight: 500; margin-bottom: 10px; }
.login-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.login-text-button { border: 0; padding: 0; background: transparent; color: #6900c6; text-decoration: underline; font-weight: 500; }
.login-input { position: relative; }
.login-input > svg { position: absolute; left: 17px; top: 15px; width: 23px; height: 23px; }
.login-input svg { fill: none; stroke: #343071; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.login-input .form-control { height: 50px; border: 1px solid #c1c3e3; border-radius: 6px; padding: 10px 48px 10px 64px; font-size: 16px; }
.login-input .form-control::placeholder { color: #7776a1; }
.login-password-toggle { position: absolute; right: 9px; top: 5px; width: 40px; height: 40px; border: 0; background: transparent; }
.login-password-toggle svg { width: 23px; height: 23px; }
.login-password-toggle[aria-pressed="true"] .eye-slash { display: none; }
.login-remember { display: flex; gap: 15px; align-items: center; color: #3a366f; margin: 0 0 24px; cursor: pointer; }
.login-remember .form-check-input { width: 24px; height: 24px; margin: 0; border: 1.5px solid #6900c6; flex-shrink: 0; }
.login-remember .form-check-input:checked { background-color: #6417a4; }
.login-submit, .login-google { width: 100%; min-height: 60px; border-radius: 7px; font-size: 20px; font-weight: 600; }
.login-submit { color: white; background: linear-gradient(110deg, #6224a9, #4e1198); box-shadow: 0 7px 20px #6623a61a; }
.login-submit:hover, .login-submit:focus-visible { color: white; background: #501380; }
.login-divider { display: flex; align-items: center; gap: 28px; margin: 22px 0; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: #cccae4; }
.login-google { display: flex; gap: 16px; align-items: center; justify-content: center; border: 1.5px solid #6900c6; color: #6900c6; min-height: 57px; }
.login-google:hover { background: #f3ecfb; border-color: #6900c6; color: #6900c6; }
.login-google svg { width: 32px; height: 32px; flex-shrink: 0; }
.login-register { text-align: center; margin: 32px 0 0; }
.login-register button { margin-left: 7px; }
.login-feedback { background: #f1eafa; padding: 12px; border-radius: 6px; margin: 15px 0 0; font-size: 14px; }
.customer-login :focus-visible { outline: 3px solid #9d6bd5; outline-offset: 3px; }
@media (max-width: 575.98px) {
    .customer-login { --bs-modal-margin: 12px; }
    .customer-login .modal-content { padding: 28px 20px; }
    .login-heading { gap: 12px; margin-bottom: 24px; }
    .login-avatar { width: 45px; height: 45px; }
    .login-avatar svg { width: 28px; height: 32px; }
    .login-heading h1 { font-size: 22px; margin-top: 3px; }
    .login-heading p { margin-left: 0; font-size: 14px; }
    .login-field, .login-remember, .login-register { font-size: 14px; }
    .login-input .form-control { padding-left: 46px; }
    .login-input > svg { left: 12px; }
    .login-submit, .login-google { font-size: 17px; }
    .login-register { margin-top: 24px; }
}
.customer-login .login-heading h1 { color: #100b38; }
