/* Login / signup / reset / 2FA pages – original Integrate UPI look, polished. */
:root {
  --iu-teal: #15715a;
  --iu-teal-soft: #ebf5f5;
  --iu-cyan: #2eacc8;
  --iu-text: #1f2d3d;
  --iu-muted: #6b7a8c;
  --iu-border: #dde6ee;
}

body { color: var(--iu-text); -webkit-font-smoothing: antialiased; }

/* Top navigation */
.meranav { box-shadow: 0 2px 12px rgba(16, 40, 60, .10) !important; border-radius: 12px !important; padding: 6px 4px; }
.meranav a { font-size: 13px !important; font-weight: 500; border-radius: 999px !important; padding: 7px 18px !important; transition: background-color .15s; }
.meranav a:hover { background: #f3f8fa; }
.meranav a.activat { background: var(--iu-teal-soft); color: var(--iu-teal) !important; }

/* Card */
#main .card {
  max-width: 440px; border: 0; border-radius: 18px;
  box-shadow: 0 1px 3px rgba(16, 40, 60, .06), 0 12px 32px rgba(16, 40, 60, .10);
}
#main .card-body { padding: 28px 28px 24px; }
@media (max-width: 575.98px) { #main .card-body { padding: 22px 18px 18px; } }

.auth-head { text-align: center; margin-bottom: 22px; }
.auth-logo {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  color: #fff; background: linear-gradient(135deg, var(--iu-cyan), var(--iu-teal));
  box-shadow: 0 6px 16px rgba(21, 113, 90, .25);
}
.auth-head h1 { font-size: 21px; font-weight: 700; margin: 0 0 4px; }
.auth-head p { color: var(--iu-muted); margin: 0; font-size: 14px; }

/* Fields */
#main .form-label { font-size: 13px; font-weight: 500; color: #3d4b5c; margin-bottom: 6px; }
.auth-field { position: relative; }
.auth-field > .fa-solid, .auth-field > .fa-regular {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: #98a6b5; font-size: 14px; pointer-events: none; z-index: 2;
}
#main .form-control {
  height: 46px; border-radius: 12px; border: 1px solid var(--iu-border);
  font-size: 14px; background: #fbfdfe; transition: border-color .15s, box-shadow .15s, background .15s;
}
.auth-field .form-control { padding-left: 40px; }
#main .form-control:focus { background: #fff; border-color: var(--iu-cyan); box-shadow: 0 0 0 4px rgba(46, 172, 200, .15); }
#main .form-control::placeholder { color: #a7b3c0; }
.auth-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); z-index: 2;
  border: 0; background: transparent; color: #8796a5; width: 36px; height: 36px; border-radius: 8px;
}
.auth-eye:hover { background: #f1f5f8; color: var(--iu-text); }
.auth-field .form-control[type="password"], .auth-field.has-eye .form-control { padding-right: 46px; }
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

.form-check-input { width: 1.05em; height: 1.05em; }
.form-check-input:checked { background-color: var(--iu-teal); border-color: var(--iu-teal); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(21, 113, 90, .18); border-color: var(--iu-teal); }
#main a:not(.btn):not(.nav-link) { color: #1b7f97; text-decoration: none; font-weight: 500; }
#main a:not(.btn):not(.nav-link):hover { text-decoration: underline; }

/* Buttons */
#main .btn-primary, #main .btn-success, .modal .btn-primary {
  height: 46px; border: 0; border-radius: 12px; font-weight: 600; letter-spacing: .01em;
  background: linear-gradient(135deg, var(--iu-cyan), var(--iu-teal)); color: #fff;
  box-shadow: 0 6px 16px rgba(21, 113, 90, .22); transition: filter .15s, transform .05s, box-shadow .15s;
}
.modal .btn-primary { height: auto; }
#main .btn-primary:hover, #main .btn-success:hover, .modal .btn-primary:hover { filter: brightness(1.05); box-shadow: 0 8px 20px rgba(21, 113, 90, .28); }
#main .btn-primary:active, #main .btn-success:active { transform: translateY(1px); }
#main .btn-primary:disabled, #main .btn-success:disabled { opacity: .7; }

/* OTP badge inside the signup email field */
#main .overlay-text { font-size: 12px; font-weight: 600; padding: 5px 10px !important; border-radius: 8px !important; z-index: 3; }

/* Reset password tabs */
#main .nav-pills { background: #f1f6f9; border-radius: 12px; padding: 4px; }
#main .nav-pills .nav-link { border-radius: 9px; color: var(--iu-muted); font-weight: 600; cursor: pointer; }
#main .nav-pills .nav-link.active { background: #fff; color: var(--iu-teal); box-shadow: 0 1px 3px rgba(16, 40, 60, .12); }

/* Info boxes */
#main .alert-success { background: var(--iu-teal-soft); border: 0; color: #285c4f; border-radius: 12px; font-size: 13.5px; }

.auth-foot { text-align: center; color: var(--iu-muted); margin: 18px 0 0; font-size: 14px; }
.auth-secure { text-align: center; color: #93a2b1; font-size: 12px; margin-top: 14px; }
.auth-secure i { margin-right: 4px; }

/* Modals */
.modal-content { border: 0; border-radius: 18px; box-shadow: 0 20px 50px rgba(16, 40, 60, .2); }
.modal-header, .modal-footer { border-color: #eef3f7; }
.modal .form-control { height: 46px; border-radius: 12px; }

