/* Auth pages enhanced styling */
body.auth-body {
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vw, 72px) 24px;
  color: #313131;
}

.auth-limiter {
  width: 100%;
  margin: 0 auto;
}

.auth-container {
  width: 100%;
  max-width: 640px;
  padding: 0 16px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-wrapper {
  width: 100%;
  max-width: 520px;
}

.auth-card {
  position: relative;
  width: 100%;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(36, 36, 36, 0.05);
  box-shadow: 0 28px 45px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 1px solid rgba(36, 36, 36, 0.07);
  pointer-events: none;
}

.auth-card__content {
  padding: clamp(36px, 5vw, 48px) clamp(28px, 5vw, 44px) 40px;
}

.auth-card__header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Ubuntu-Bold, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #242424;
  padding: 7px 16px;
  border-radius: 999px;
  background: #f3f3f3;
  margin-bottom: 18px;
}

.auth-card__title {
  font-family: Ubuntu-Bold, sans-serif;
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1.25;
  color: #242424;
  margin-bottom: 12px;
}

.auth-card__subtitle {
  font-size: 15px;
  color: #5b5b5b;
  line-height: 1.6;
  margin: 0;
}

.auth-feedback {
  margin-bottom: 28px;
  padding: 18px 20px;
  border-radius: 14px;
  border-left: 4px solid #242424;
  background: #f7f7f7;
  color: #242424;
}

.auth-feedback__list {
  margin: 0;
  padding-left: 18px;
}

.auth-feedback__list li {
  line-height: 1.6;
  margin-bottom: 6px;
}

.auth-feedback__list li:last-child {
  margin-bottom: 0;
}

.auth-feedback--success {
  background: #f2f2f2;
  border-left-color: #313131;
}

.login100-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-input {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(36, 36, 36, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.auth-input--icon .auth-input__icon {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #8b8b8b;
}

.auth-input--icon .input100 {
  padding-left: 52px;
}

.auth-input:hover {
  border-color: rgba(36, 36, 36, 0.2);
  background: #fdfdfd;
}

.auth-input .input100 {
  height: 58px;
  padding: 0 24px;
  font-size: 17px;
  color: #242424;
}

.auth-input .focus-input100 {
  border-radius: 12px;
  border-color: rgba(36, 36, 36, 0.45);
}

.auth-form__support {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.auth-form__support-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-form__support-item--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.auth-note {
  font-size: 14px;
  color: #515151;
}

.auth-link {
  font-size: 14px;
  color: #313131;
  font-family: Ubuntu-Bold, sans-serif;
  text-decoration: none;
  position: relative;
}

.auth-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s ease;
  transform-origin: left;
  transform: scaleX(0);
}

.auth-link:hover::after {
  transform: scaleX(1);
}

.login100-form-btn {
  width: 100%;
  padding: 18px 24px;
  border-radius: 14px;
  background: #313131;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 16px 22px rgba(36, 36, 36, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login100-form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 28px rgba(36, 36, 36, 0.22);
}

.auth-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.auth-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 12px;
  font-family: Ubuntu-Bold, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  border: 1px solid rgba(36, 36, 36, 0.18);
  color: #242424;
  background: #ffffff;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.auth-secondary-button:hover {
  background: #f4f4f4;
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.08);
}

.auth-card table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.auth-card table th,
.auth-card table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(36, 36, 36, 0.08);
  font-size: 14px;
  color: #3a3a3a;
}

.auth-card table tr:last-child td {
  border-bottom: none;
}

.auth-card .label-success {
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.auth-card .alert-info {
  background: #f9f9f9;
  border: none;
  border-left: 4px solid #313131;
  border-radius: 12px;
  color: #303030;
  padding: 18px 20px;
}

.auth-card .alert-info p,
.auth-card .alert-info li {
  color: inherit;
}

.auth-card .alert {
  margin-bottom: 28px;
  border-radius: 14px;
  border: none;
  padding: 18px 20px;
  background: #f9f9f9;
  color: #242424;
}

.auth-card .alert-success {
  border-left: 4px solid #313131;
}

.auth-card .alert-danger {
  border-left: 4px solid #242424;
}

.auth-card small h6 {
  margin: 0;
}

.auth-card hr {
  margin: 18px auto 0;
  border-top: 1px solid rgba(36, 36, 36, 0.08);
  width: 60px;
}

.g-recaptcha {
  transform-origin: left top;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  body.auth-body {
    padding: clamp(28px, 8vw, 48px) 18px;
  }

  .auth-container {
    max-width: 560px;
  }

  .auth-card {
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.08);
  }

  .auth-form__support {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .auth-form__support {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-secondary-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-secondary-button {
    width: 100%;
  }
}

@media (max-width: 575px) {
  body.auth-body {
    padding: 32px 16px;
  }

  .auth-card__content {
    padding: 32px 24px 28px;
  }

  .auth-input .input100 {
    font-size: 16px;
    height: 54px;
  }

  .auth-card__title {
    font-size: 24px;
  }

  .auth-card__subtitle {
    font-size: 14px;
  }
}
