/* Auth pages – register, forgot password, OTP, change password */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.auth-modern.login-page,
.auth-modern.hold-transition.login-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 20px;
  background: #f1f5f9 !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.auth-modern .login-box,
.auth-modern .register-box {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.auth-modern .register-box {
  max-width: 720px;
}

.auth-modern .login-logo,
.auth-modern .register-logo {
  margin-bottom: 20px;
  text-align: center;
}

.auth-modern .login-logo img,
.auth-modern .register-logo img {
  max-height: 56px;
  object-fit: contain;
}

.auth-modern .login-box-body,
.auth-modern .register-box-body {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  border: 1px solid #e2e8f0;
}

.auth-modern .login-box-msg,
.auth-modern .register-box-msg {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 20px;
}

.auth-modern .form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  height: 44px;
  font-size: 1.1rem;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-modern .form-control:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.auth-modern .form-group {
  margin-bottom: 16px;
}

.auth-modern .form-group label {
  font-weight: 500;
  color: #334155;
  font-size: 1.05rem;
}

.auth-modern .btn-primary,
.auth-modern .btn-success {
  background: linear-gradient(135deg, #4f46e5, #4338ca) !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 20px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transition: transform 0.15s, box-shadow 0.2s;
}

.auth-modern .btn-primary:hover,
.auth-modern .btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.auth-modern .btn-default {
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  font-weight: 500;
}

.auth-modern .text-danger,
.auth-modern .text-success {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.auth-modern .text-danger:not(:empty) {
  background: #fef2f2;
  color: #b91c1c !important;
}

.auth-modern .text-success:not(:empty) {
  background: #ecfdf5;
  color: #047857 !important;
}

.auth-modern .has-feedback .form-control-feedback {
  color: #94a3b8;
  line-height: 44px;
}

.auth-modern .row .language_id,
.auth-modern select.language_id {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1rem;
  margin: 10px;
}

.auth-modern a {
  color: #4f46e5;
  font-weight: 500;
}

.auth-modern .select2-container--default .select2-selection--single {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  height: 44px !important;
}

.auth-modern .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 32px !important;
}

/* change-login-password2 layout */
.auth-modern .login-fg {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  background: #f1f5f9;
}

.auth-modern .login-fg .login-section {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
  border: 1px solid #e2e8f0;
}

.auth-modern .login-fg .form-container .input-text,
.auth-modern .login-fg .form-container input {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.auth-modern .login-fg .btn-fg,
.auth-modern .login-fg .btn-md {
  background: linear-gradient(135deg, #4f46e5, #4338ca) !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-weight: 600;
}

@media (max-width: 767px) {
  .auth-modern .login-box-body,
  .auth-modern .register-box-body {
    padding: 24px 20px;
    border-radius: 16px;
  }
}
