/*
 * استایل‌های فشرده برای فرم‌های داخل Modal
 * کاهش 10% در اندازه‌ها
 */

/* ===== AuthModal - کاهش ارتفاع ===== */
.auth-modal-content {
  max-height: 85vh !important; /* به جای 90vh */
}

/* ===== Form Elements - کاهش اندازه ===== */
.auth-form input,
.auth-form select,
.auth-form textarea {
  height: 2.75rem !important; /* به جای 3rem (h-12) */
  font-size: 0.875rem !important; /* به جای 1rem */
  padding: 0.5rem 0.75rem !important;
}

/* ===== Headers - کاهش اندازه ===== */
.auth-form h2 {
  font-size: 1.5rem !important; /* به جای 2rem */
  margin-bottom: 0.5rem !important;
}

.auth-form h3 {
  font-size: 1.125rem !important;
}

.auth-form p {
  font-size: 0.875rem !important;
  margin-bottom: 1rem !important;
}

/* ===== Buttons - کاهش ارتفاع ===== */
.auth-form button {
  height: 2.75rem !important; /* به جای 3rem */
  font-size: 0.875rem !important;
}

/* ===== Spacing - کاهش فاصله‌ها ===== */
.auth-form .space-y-6 > * + * {
  margin-top: 1.25rem !important; /* به جای 1.5rem */
}

.auth-form .mb-8 {
  margin-bottom: 1.5rem !important; /* به جای 2rem */
}

/* ===== Icons - کاهش اندازه ===== */
.auth-form svg {
  width: 1.125rem !important;
  height: 1.125rem !important;
}

/* ===== Captcha - کاهش اندازه ===== */
.auth-form .captcha-image {
  height: 7rem !important; /* به جای 8rem */
  min-height: 7rem !important;
}

/* ===== Labels - کاهش فاصله ===== */
.auth-form label {
  margin-bottom: 0.375rem !important;
  font-size: 0.8125rem !important;
}

/* ===== Password Strength Bar ===== */
.auth-form .password-strength {
  height: 0.375rem !important;
  margin-top: 0.375rem !important;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 640px) {
  .auth-modal-content {
    max-height: 95vh !important;
  }

  .auth-form input,
  .auth-form button {
    height: 2.5rem !important;
  }
}