body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

/* Reset verifyedge.css .auth-body overrides */
body.auth-body {
  background: none !important;
  display: block !important;
  min-height: unset !important;
}

.auth-bg {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.auth-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("../assets/form_bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(10px);
  transform: scale(1.05);
  z-index: 0;
}

.auth-center {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Reset main.auth-page to not interfere */
main.auth-page {
  display: contents;
}

.auth-card {
  width: 100%;
  max-width: 422px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

/* Logo */
.logo-section {
  text-align: center;
  margin-bottom: 14px;
}
.logo-section img {
  height: 52px;
}

/* Title & subtitle */
.form-title {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  color: #111;
  margin: 0 0 4px;
}
.form-subtitle {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin: 0 0 20px;
}

/* Toggle */
.tab-group {
  display: flex;
  background: #363636;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 20px;
  gap: 4px;
  width: 100%;
}
.tab-btn {
  flex: 1;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  font-family: 'Poppins', sans-serif;
}
.tab-btn.active-tab {
  background: #8B8B8B;
  color: #FFFFFF;
}

/* Input with icon */
.form-group {
  margin-bottom: 12px;
  position: relative;
  width: 100%;
}
.auth-card .form-group {
  flex: unset;
  max-width: 100%;
  width: 100%;
}
.input-icon-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  width: 100%;
}
.input-icon-wrap:focus-within {
  border-color: #C62222;
}
.input-icon-wrap .field-icon {
  padding: 0 12px;
  color: #C62222;
  font-size: 14px;
  min-width: 30px;
  text-align: center;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #CCCCCC;
}
.input-icon-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 8px 11px 8PX;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}
.input-icon-wrap input::placeholder {
  color: #bbb;
}
.input-icon-wrap .eye-icon {
  padding: 0 12px;
  cursor: pointer;
  color: #999;
  font-size: 14px;
  flex-shrink: 0;
}

/* Forgot password */
.footer-link {
  text-align: right;
  font-size: 13px;
  margin-bottom: 14px;
}
.footer-link a {
  color: #2582DA;
  text-decoration: none;
}
.footer-link a:hover {
  text-decoration: underline;
}

/* Submit button */
.btn-submit {
  width: 100%;
  padding: 12px;
  background: #C62222;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s;
  margin-top: 4px;
}
.btn-submit:hover {
  background: #a81c1c;
}

/* Messages */
.msg {
  padding: 8px 12px;
  font-size: 13px;
  margin-bottom: 10px;
  border-radius: 6px;
}
.msg.success { background: #d4edda; color: #155724; }
.msg.error   { background: #f8d7da; color: #721c24; }

/* Footer text */
.recaptcha-text {
  font-size: 11px;
  color: #999;
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}
.recaptcha-text a {
  color: #2582DA;
  font-size: 12px;
  text-decoration: none;
}
.recaptcha-text a:hover {
  text-decoration: underline;
}

/* Form row (first/last name) */
.form-row {
  display: flex;
  gap: 10px;
}
.form-row .form-group {
  flex: 1;
}

/* Responsive */
@media (max-width: 480px) {
  .auth-card {
    width: 100%;
    padding: 24px 18px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}
