/* ============================================
   USER LOGIN CSS - Knowledge Wave India
   Colors: #7AC74F #FDFFFC #F7B32B #FF2E00 #140F2D
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #FDFFFC; padding-top: 80px; min-height: 100vh; }
.container { max-width: 460px; margin: 0 auto; padding: 0 15px; }
.page-wrap { min-height: calc(100vh - 160px); display: flex; align-items: center; padding: 30px 0; }

/* ========== CARD ========== */
.card { background: #FDFFFC; border-radius: 20px; padding: 35px; box-shadow: 0 8px 40px rgba(0,0,0,.08); border: 1px solid rgba(122, 199, 79, 0.1); width: 40vw; margin: 10px auto; }

/* ========== BADGE ========== */
.badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(122, 199, 79, 0.1); border: 1px solid rgba(122, 199, 79, 0.25); color: #140F2D; font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: 50px; margin-bottom: 14px; }
.badge i { color: #7AC74F; }

.card h2 { font-size: 24px; font-weight: 800; color: #140F2D; margin-bottom: 5px; }
.card .sub { font-size: 14px; color: #888; margin-bottom: 20px; }

/* ========== INFO BOX ========== */
.info-box { background: linear-gradient(135deg, rgba(122, 199, 79, 0.08), rgba(247, 179, 43, 0.06)); border: 1px solid rgba(122, 199, 79, 0.25); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: #140F2D; margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start; }
.info-box i { color: #7AC74F; margin-top: 1px; flex-shrink: 0; }
.info-box strong { display: block; margin-bottom: 2px; }

/* ========== FORM ========== */
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: #140F2D; }

.inp-wrap { position: relative; display: flex; align-items: center; }
.inp-wrap i.lead { position: absolute; left: 13px; color: #aaa; font-size: 13px; z-index: 1; }
.inp-wrap input { width: 100%; padding: 13px 14px 13px 40px; border: 2px solid #e0e0e0; border-radius: 10px; font-size: 14px; font-family: 'Inter', sans-serif; outline: none; background: #FDFFFC; transition: all .3s; }
.inp-wrap input:focus { border-color: #7AC74F; background: #FDFFFC; box-shadow: 0 0 0 3px rgba(122, 199, 79, 0.1); }
.inp-wrap input.err { border-color: #FF2E00; background: #fff8f8; }

.eye { position: absolute; right: 13px; color: #aaa; cursor: pointer; font-size: 13px; z-index: 2; }
.eye:hover { color: #7AC74F; }

.err-msg { font-size: 11px; color: #FF2E00; display: none; }
.err-msg.show { display: block; }

/* ========== OPTIONS ========== */
.opts { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.remember { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #666; cursor: pointer; }
.remember input { accent-color: #7AC74F; cursor: pointer; }
.forgot { font-size: 13px; color: #7AC74F; font-weight: 600; text-decoration: none; background: none; border: none; cursor: pointer; font-family: 'Inter', sans-serif; }
.forgot:hover { color: #140F2D; }

/* ========== BUTTON ========== */
.btn-main { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px; background: #7AC74F; color: #FDFFFC; font-weight: 800; font-size: 15px; border: none; border-radius: 50px; cursor: pointer; font-family: 'Inter', sans-serif; transition: all .3s; box-shadow: 0 4px 16px rgba(122, 199, 79, 0.3); }
.btn-main:hover { background: #140F2D; color: #7AC74F; box-shadow: 0 6px 22px rgba(20, 15, 45, 0.25); }
.btn-main:disabled { opacity: .65; cursor: not-allowed; }

/* ========== DIVIDER ========== */
.divider { text-align: center; position: relative; margin: 20px 0; }
.divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #eee; }
.divider span { position: relative; background: #FDFFFC; padding: 0 12px; font-size: 12px; color: #bbb; text-transform: uppercase; letter-spacing: 1px; }

/* ========== TOAST ========== */
.toast { position: fixed; top: 95px; right: 20px; padding: 13px 20px; border-radius: 12px; font-size: 14px; font-weight: 600; color: #FDFFFC; z-index: 99999; transform: translateX(130%); transition: transform .4s cubic-bezier(.175,.885,.32,1.275); max-width: 280px; box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.toast.show { transform: translateX(0); }
.toast.success { background: #7AC74F; }
.toast.error { background: #FF2E00; }

/* ========== SCROLL TOP ========== */
.scroll-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; background: #7AC74F; color: #FDFFFC; border: none; border-radius: 50%; cursor: pointer; font-size: 18px; z-index: 999; display: none; box-shadow: 0 4px 16px rgba(122, 199, 79, 0.4); transition: all .3s; }
.scroll-top.show { display: flex; align-items: center; justify-content: center; }
.scroll-top:hover { background: #140F2D; color: #7AC74F; transform: translateY(-5px); }

.deco-text { text-decoration: none; color: #7AC74F; font-weight: 500; }

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .card { width: 60vw; }
}

@media (max-width: 767.98px) {
    .card { width: 90vw; padding: 28px 22px; }
    .container { max-width: 100%; }
}

@media (max-width: 575.98px) {
    .card { width: 100%; padding: 22px 16px; border-radius: 16px; }
    .card h2 { font-size: 21px; }
    .btn-main { font-size: 14px; padding: 13px; }
    .toast { right: 10px; max-width: 260px; }
}