/* === EXTREME AUTH PAGES (Login / Register / Forgot) === */

html, body { height: 100%; }
body.auth-body {
  margin: 0;
  background: radial-gradient(1200px 600px at 10% -10%, #41c6ff22 0%, transparent 60%),
              radial-gradient(1000px 500px at 110% 10%, #15618c22 0%, transparent 60%),
              linear-gradient(135deg, #f5f9ff 0%, #ffffff 100%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2c3e50;
}

.auth-container {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
}

.auth-card {
  width: 100%;
  max-width: 880px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(21,97,140,0.18);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr; /* single column layout */
  animation: authSlideIn 0.6s ease;
}

@keyframes authSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero header replacing visual pane */
.auth-hero {
  position: relative;
  padding: 48px 28px 14px 28px;
  text-align: center;
  background: radial-gradient(900px 400px at -10% 10%, #41c6ff33 0%, transparent 60%),
              radial-gradient(700px 320px at 120% -10%, #15618c33 0%, transparent 60%),
              linear-gradient(135deg, #f7fbff 0%, #ffffff 100%);
}
.auth-hero .panel-title {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 900; font-size: 2.0rem; letter-spacing: .6px;
  color: #0f4f73;
  text-shadow: 0 2px 6px rgba(65,198,255,0.25);
}
.auth-hero .panel-title i { color: #ffd700; }
.auth-hero .panel-subtitle { margin-top: 8px; color: #6b88a9; font-weight: 600; }
.auth-hero .accent-bar {
  width: 120px; height: 4px; border-radius: 999px; margin: 16px auto 0 auto;
  background: linear-gradient(90deg, #15618c, #41c6ff);
  box-shadow: 0 4px 14px rgba(65,198,255,0.35);
}

.auth-visual .brand {
  position: absolute;
  top: 20px; left: 20px;
  color: #0b2c41;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 900; letter-spacing: .6px;
  background: rgba(255,255,255,0.92);
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  backdrop-filter: blur(4px);
}
.auth-visual .brand i { color: #e0a800; }

.auth-visual .big-text {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  color: #eaf6ff;
  font-size: 1.2rem;
  line-height: 1.6;
}

.auth-form {
  padding: 36px 28px;
}

.auth-title {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 1.8rem; color: #15618c; margin: 6px 0 14px 0;
}
.auth-subtitle { color: #6b88a9; margin-bottom: 20px; }

.form-field { margin-bottom: 14px; }
.form-field label { display:block; font-weight: 700; color: #15618c; margin-bottom: 8px; }
.form-control {
  width: 100%; height: 40px; border-radius: 10px; border: 1.3px solid #dbe6f5; padding: 10px 12px;
  font-size: 0.95rem; transition: all .2s ease; background: #f7fbff; color: #23384d;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.03);
}
.form-control::placeholder { color: #7fa2c4; }
.form-control:focus { outline: none; border-color: #41c6ff; box-shadow: 0 0 0 4px rgba(65,198,255,0.18); background: #fff; }

/* Override legacy login input styles to look modern */
.wrap-input100 { position: relative; width: 100%; }
.input100 {
  width: 100% !important; height: 40px !important;
  border-radius: 10px !important; border: 1.3px solid #dbe6f5 !important;
  padding: 10px 12px !important; background: #f7fbff !important; color: #23384d !important;
  font-size: 15px !important; transition: all .2s ease !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.03) !important;
}
.input100::placeholder { color: #7fa2c4 !important; }
.input100:focus { outline: none !important; border-color: #41c6ff !important; box-shadow: 0 0 0 4px rgba(65,198,255,0.18) !important; background: #fff !important; }
.focus-input100 { display: none !important; }

.auth-action {
  margin-top: 10px; display: flex; flex-direction: column; gap: 12px;
}
.btn-primary {
  background: linear-gradient(135deg, #15618c 0%, #41c6ff 100%);
  color: #fff; border: none; border-radius: 10px; padding: 12px 16px; font-weight: 800; letter-spacing: .5px;
  cursor: pointer; transition: all .25s ease; width: 100%; box-shadow: 0 10px 22px rgba(65,198,255,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(65,198,255,0.38); }

.btn-secondary {
  background: #eef5ff; color: #15618c; border: 1px solid #d7e6fb; border-radius: 10px; padding: 10px 12px;
  font-weight: 700; cursor: pointer; transition: all .2s ease; width: 100%;
}
.btn-secondary:hover { background: #e7f0ff; }

/* Legacy login button override */
.container-login100-form-btn .login100-form-btn {
  width: 100% !important;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
  color: #fff !important; border: none !important; border-radius: 10px !important;
  padding: 12px 16px !important; font-weight: 800 !important; letter-spacing: .5px;
  box-shadow: 0 10px 22px rgba(32,201,151,0.25) !important; transition: all .25s ease !important;
}
.container-login100-form-btn .login100-form-btn:hover {
  transform: translateY(-2px); box-shadow: 0 14px 28px rgba(32,201,151,0.35) !important;
}

/* Resend OTP button styling */
button.btn.btn-primary { border-radius: 10px !important; padding: 10px 18px !important; box-shadow: 0 8px 18px rgba(0,123,255,0.25) !important; }
button.btn.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,123,255,0.35) !important; }

.links { display:flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.links a { color: #15618c; font-weight: 700; text-decoration: none; }
.links a:hover { text-decoration: underline; }

.auth-footer {
  margin-top: 18px; color: #7a9bc4; font-size: .9rem; text-align: center;
}

@media (max-width: 900px) {
  .auth-card { grid-template-columns: 1fr; }
}

