/* Modern UI for Login & Register */
/* Lightweight, layered on top of existing theme */

.auth-page {
  background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 100%);
  min-height: 100vh;
}

.auth-modern .login-register-wrapper {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(31, 45, 61, 0.1);
  padding: 32px 28px;
}

.auth-modern .login-register-tab-list {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.auth-modern .login-register-tab-list a {
  border-radius: 999px;
  padding: 8px 18px;
  background: #f1f5f9;
  color: #0f172a;
  text-transform: capitalize;
}

.auth-modern .login-register-tab-list a.active {
  background: #1f2937; /* neutral slate */
  color: #ffffff;
}

.auth-modern .login-form-container {
  padding: 8px 4px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon input {
  padding-left: 42px;
  padding-right: 42px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
}

.input-with-icon .toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
}

.auth-modern .btn.btn--blue {
  background: #1f2937; /* neutral slate */
  border-color: #1f2937;
}

.auth-modern .btn.btn--blue:hover {
  background: #111827; /* darker slate */
  border-color: #111827;
}

/* Helper spacing for messages */
.auth-modern .form-message {
  margin-bottom: 12px;
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .auth-modern .login-register-wrapper {
    padding: 20px 16px;
  }
}
