/* ==========================================================================
   Customer login page (/login), also used by the wholesaler login
   (wholesaler/auth/login.blade.php, with wholesaler-login.css on top).
   Same hero + card look as register.css; colours follow ds-theme.css.
   ========================================================================== */

.lg-page { background: #f6f7fb; font-family: "Manrope", sans-serif; color: #334155; }

/* --- Hero --- */
.lg-page .lg-hero { position: relative; overflow: hidden; padding: 40px 0 104px; text-align: center; color: #fff; background: linear-gradient(135deg, #1e1b4b 0%, #2e2a7a 60%, #3f51b5 100%); }
.lg-page .lg-hero::after { content: ""; position: absolute; right: -10%; bottom: -60%; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.lg-page .lg-hero .container { position: relative; z-index: 1; }
.lg-page .lg-crumb { margin-bottom: 14px; font-size: 13px; color: #c7cbe8; }
.lg-page .lg-crumb a { color: #c7cbe8; }
.lg-page .lg-crumb a:hover { color: #fff; }
.lg-page .lg-hero h1 { margin: 0 0 10px; font-family: "Manrope", sans-serif; font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.lg-page .lg-hero p { max-width: 460px; margin: 0 auto; font-size: 15px; line-height: 1.6; color: #d6d9f2; }

/* --- Card --- */
.lg-page .lg-wrap { position: relative; z-index: 2; margin-top: -72px; padding-bottom: 72px; }
.lg-page .lg-card { max-width: 440px; margin: 0 auto; padding: 28px; background: #fff; border: 1.5px solid #e7eaf3; border-radius: 22px; box-shadow: 0 18px 40px -24px rgba(30, 27, 75, .35); }
.lg-page .lg-card h2 { margin: 0 0 4px; font-family: "Manrope", sans-serif; font-size: 20px; font-weight: 800; color: #1e1b4b; }
.lg-page .lg-sub { margin: 0 0 22px; font-size: 13.5px; color: #64748b; }

.lg-page .lg-alert { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; padding: 12px 14px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: #991b1b; }
.lg-page .lg-alert i { font-size: 18px; line-height: 1.1; }
.lg-page .lg-alert.d-none { display: none; }

/* --- Fields --- */
.lg-page .lg-field { margin-bottom: 16px; }
.lg-page .lg-field > label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #1e1b4b; }
.lg-page .lg-input { position: relative; }
.lg-page .lg-icon { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); font-size: 18px; color: #64748b; pointer-events: none; }
.lg-page .lg-control { width: 100%; height: 50px; padding: 0 48px 0 44px; background: #f6f7fb; border: 1.5px solid #e7eaf3; border-radius: 12px; font-family: "Manrope", sans-serif; font-size: 14px; color: #1e1b4b; transition: border-color .2s, box-shadow .2s, background .2s; }
.lg-page .lg-control:focus { outline: 0; background: #fff; border-color: #3f51b5; box-shadow: 0 0 0 4px rgba(63, 81, 181, .12); }
.lg-page .lg-field.invalid .lg-control { background: #fff5f5; border-color: #fca5a5; }
.lg-page .lg-eye { position: absolute; top: 7px; right: 7px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; font-size: 18px; color: #64748b; cursor: pointer; }
.lg-page .lg-eye:hover { background: #eef0fb; color: #3f51b5; }
.lg-page .lg-error { display: block; margin-top: 5px; font-size: 12px; font-weight: 600; color: #dc2626; }
.lg-page .lg-error:empty { display: none; }

.lg-page .lg-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 20px; font-size: 13.5px; }
.lg-page .lg-check { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; color: #334155; cursor: pointer; }
.lg-page .lg-check input { width: 17px; height: 17px; accent-color: #3f51b5; }
.lg-page .lg-row a { font-weight: 800; color: #3f51b5; }
.lg-page .lg-row a:hover { text-decoration: underline; }

/* --- Buttons + links --- */
.lg-page .lg-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border: 0; border-radius: 14px; background: #3f51b5; font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 800; color: #fff; cursor: pointer; transition: background .2s; }
.lg-page .lg-btn:hover { background: #3343a0; }
.lg-page .lg-btn:disabled { opacity: .7; cursor: wait; }

.lg-page .lg-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.lg-page .lg-divider::before,
.lg-page .lg-divider::after { content: ""; flex: 1; height: 1px; background: #e7eaf3; }
.lg-page .lg-alt { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; border: 1.5px solid #e7eaf3; border-radius: 14px; font-size: 14px; font-weight: 800; color: #1e1b4b; transition: border-color .2s, color .2s; }
.lg-page .lg-alt:hover { border-color: #3f51b5; color: #3f51b5; }

.lg-page .lg-foot { margin: 18px 0 0; text-align: center; font-size: 13.5px; color: #64748b; }
.lg-page .lg-foot a { font-weight: 800; color: #3f51b5; }
.lg-page .lg-foot a:hover { text-decoration: underline; }

/* --- Password reset pages (auth/passwords/*) --- */
.lg-page .lg-badge { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 16px; background: #eef0fb; font-size: 24px; color: #3f51b5; }
.lg-page .lg-badge-ok { background: #e7f6ee; color: #0f9d58; }
.lg-page .lg-alert-ok { background: #e7f6ee; border-color: #bfe6d0; color: #0b6b3c; }
.lg-page .lg-hint { display: block; margin-top: 5px; font-size: 12px; color: #64748b; }
.lg-page .lg-back { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; font-size: 13.5px; font-weight: 800; color: #3f51b5; }
.lg-page .lg-back:hover { text-decoration: underline; }

@media only screen and (max-width: 480px) {
    .lg-page .lg-card { padding: 22px; }
}
