/* css/mobile-css/mobile-auth.css */
/* Login modalını mobil üçün bir az səliqəyə salaq */

@media (max-width: 767px) {
  /* Modal overlay (login-modal.css-də varsa override edəcək) */
  #loginModal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-start; /* yuxarıdan açılsın */
    justify-content: center;
    padding: 40px 12px 12px;
    background: rgba(15, 23, 42, 0.55);
  }

  #loginModal.hidden {
    display: none !important;
  }

  #loginModal .modal-content-inner {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 14px 18px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
  }

  #loginModal h2 {
    font-size: 18px;
    margin-bottom: 8px;
    text-align: center;
  }

  #loginModal .close-btn {
    position: absolute;
    right: 16px;
    top: 10px;
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    color: #6b7280;
  }

  #stepRole button,
  #stepPhone button,
  #stepOTP button {
    width: 100%;
    border-radius: 999px;
    padding: 10px 12px;
    font-size: 14px;
  }

  #stepPhone .phone-input-group {
    margin: 10px 0;
  }

  #stepPhone .phone-input-group input {
    font-size: 15px;
  }

  #otpInput {
    width: 100%;
    text-align: center;
    letter-spacing: 3px;
  }
}
