body { font-family: 'SolaimanLipi', sans-serif; background: radial-gradient(circle at 15% 15%, #d9eee5 0, transparent 32%), linear-gradient(135deg, #eef5f1 0%, #d8e7e1 100%); margin: 0; }
.login-stage { display: grid; min-height: calc(100vh - 105px); padding: 55px 20px 75px; place-items: center; perspective: 1200px; overflow: hidden; }
.login-card { position: relative; z-index: 1; width: 100%; max-width: 350px; padding: 34px; background: linear-gradient(145deg, #fff 0%, #f5faf7 100%); border: 1px solid rgba(255, 255, 255, .9); border-top: 4px solid #006a4e; border-radius: 12px; box-shadow: 18px 22px 0 rgba(0, 106, 78, .12), 0 24px 45px rgba(32, 59, 53, .2); transform: rotateX(2deg) rotateY(-4deg); transition: transform .35s ease, box-shadow .35s ease; }
.login-card { animation: login-card-enter .75s cubic-bezier(.2, .8, .2, 1) both; }
.login-card::before, .login-card::after { position: absolute; z-index: -1; content: ''; pointer-events: none; }
.login-card::before { inset: 12px -14px -14px 12px; border-radius: 12px; background: #b7d8ca; transform: translateZ(-35px); }
.login-card::after { top: -18px; right: 28px; width: 90px; height: 28px; background: #f0c45d; box-shadow: 0 5px 0 rgba(166, 126, 30, .2); transform: rotate(4deg) translateZ(15px); }
.login-card:hover { box-shadow: 24px 28px 0 rgba(0, 106, 78, .14), 0 30px 55px rgba(32, 59, 53, .24); transform: rotateX(1deg) rotateY(-1deg) translateY(-5px); }
.login-card-mark { display: grid; width: 52px; height: 52px; margin: -8px auto 14px; place-items: center; color: #fff; background: #006a4e; border: 5px solid #d8ebe3; border-radius: 50%; box-shadow: 0 8px 0 rgba(0, 77, 56, .2); font-size: 20px; }
.login-card-mark { animation: mark-pop .55s .45s cubic-bezier(.2, .8, .2, 1) both; }
.login-card h2 { text-align: center; color: #006a4e; margin: 0 0 20px; }
.form-group { margin-bottom: 15px; }
.form-group { animation: content-rise .5s .3s both; }
.form-group + .form-group { animation-delay: .4s; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-group input { width: 100%; padding: 11px 12px; border: 1px solid #bfd1c9; border-radius: 5px; box-sizing: border-box; background: rgba(255, 255, 255, .82); transition: border-color .2s, box-shadow .2s, transform .2s; }
.form-group input:focus { outline: none; border-color: #006a4e; box-shadow: 0 0 0 3px rgba(0, 106, 78, .14); transform: translateZ(8px); }
.password-field { position: relative; }
.password-field input { padding-right: 42px; }
.password-toggle { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); width: 28px; height: 28px; border: none; background: transparent; color: #006a4e; cursor: pointer; font-size: 16px; border-radius: 50%; display: grid; place-items: center; transition: background .2s ease, color .2s ease; }
.password-toggle:hover { background: rgba(0, 106, 78, .08); }
.password-toggle:focus { outline: 2px solid rgba(0, 106, 78, .25); outline-offset: 2px; }
.btn { width: 100%; padding: 11px; background: #006a4e; color: #fff; border: none; border-radius: 5px; box-shadow: 0 4px 0 #004d38; font-size: 16px; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { background: #004d38; box-shadow: 0 2px 0 #003b2b; transform: translateY(2px); }
.btn-home { display: block; width: 100%; padding: 10px; margin-top: 13px; background: #6c757d; color: #fff; text-align: center; text-decoration: none; border-radius: 5px; font-size: 15px; box-sizing: border-box; transition: background .3s, transform .2s; }
.btn-home:hover { background: #5a6268; transform: translateY(-2px); }
.btn-login { display: block; width: 100%; padding: 10px; margin-top: 13px; background: #2190f0; color: #fff; text-align: center; text-decoration: none; border-radius: 5px; font-size: 15px; box-sizing: border-box; transition: background .3s, transform .2s; }
.btn-login:hover { background: #0277dd; transform: translateY(-2px); }
.auth-link-row { margin-top: 12px; text-align: center; }
.auth-link-row a { color: #006a4e; font-weight: 700; text-decoration: none; }
.auth-link-row a:hover { text-decoration: underline; }
.success { color: #0a6b3d; margin-bottom: 15px; text-align: center; font-size: 14px; font-weight: 700; }
.error { color: #d9534f; margin-bottom: 15px; text-align: center; font-size: 14px; }
.notice-box { margin-bottom: 18px; padding: 12px 14px; border-radius: 8px; background: #edf8f1; border: 1px solid #b9deca; color: #1b4d3a; font-size: 14px; }
.notice-box.error { background: #fff1f1; border-color: #f3c4c4; color: #9c2d2d; }
.notice-box.success { background: #edf8f1; border-color: #b9deca; color: #1b4d3a; }
.otp-box { margin-top: 14px; padding: 12px 14px; border: 1px dashed #006a4e; border-radius: 8px; background: #f4fbf7; color: #00563c; font-weight: 700; text-align: center; letter-spacing: 1px; }
.password-recovery-actions { display: flex; gap: 10px; margin-top: 12px; }
.password-recovery-actions .btn { margin-top: 0; }
.password-recovery-actions .btn-secondary { width: 100%; padding: 11px; background: #6c757d; color: #fff; border: none; border-radius: 5px; text-decoration: none; text-align: center; display: inline-flex; align-items: center; justify-content: center; }

@keyframes login-card-enter {
        from { opacity: 0; transform: translateY(28px) rotateX(12deg) rotateY(-12deg) scale(.94); }
        to { opacity: 1; transform: rotateX(2deg) rotateY(-4deg); }
}

@keyframes mark-pop {
        from { opacity: 0; transform: translateY(-12px) scale(.65) rotate(-12deg); }
        to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes content-rise {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
        .login-card, .login-card-mark, .form-group { animation: none; }
}

@media (max-width: 700px) {
        .login-stage { min-height: calc(100vh - 180px); padding: 38px 16px 55px; }
        .login-card { padding: 30px 24px; transform: none; animation-name: login-card-enter-mobile; }
        .login-card:hover { transform: translateY(-3px); }
}

@keyframes login-card-enter-mobile {
        from { opacity: 0; transform: translateY(24px) scale(.96); }
        to { opacity: 1; transform: none; }
}
