/* MOBILE OVERRIDES – działa tylko na telefonach */
@media (max-width: 600px) {
  /* 1) Hero: niższy, ciemniejsza nakładka, większa czytelność tytułów */
  .login-column-bg .ms-item_fs.full-height { min-height: 40vh; }
  .slideshow-container .overlay { background: rgba(0,0,0,.45); }
  .login-promo-container .video_section-title h1 { font-size: 9vw; line-height: 1.05; }
  .login-promo-container .video_section-title h2 { font-size: 5.5vw; }
  .login-promo-container .video_section-title h3 { font-size: 4vw; }

  /* 2) Zakładki Formularz/RODO przyklejone u góry */
  .tabs-menu {
    position: sticky; top: 0; z-index: 50;
    display: flex; gap: 8px; padding: 8px; margin: 0;
    background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06);
  }
  .tabs-menu li a { display:block; padding:10px 12px; border-radius:12px; }
  .tabs-menu li.current a { box-shadow: 0 2px 10px rgba(0,0,0,.08); }

  /* 3) Większe pola i odstępy – wygodne „tap-targets” */
  .custom-form .form-group { margin-bottom: 16px; }
  input, textarea, select { padding: 14px 12px; font-size: 16px; border-radius: 12px; }
  .dashboard-title h3 { font-size: 18px; margin: 14px 0 8px; }

  /* 4) Sekcje bardziej kompaktowe */
  .block_box, .profile-edit-container { padding: 12px; border-radius: 14px; }

  /* 5) Czytelniejsze etykiety i fokus */
  label i { margin-left: 6px; opacity: .7; }
  input:focus, textarea:focus, select:focus {
    outline: none; box-shadow: 0 0 0 3px rgba(30,136,229,.25);
  }

  /* 6) Przycisk Wyślij – szeroki i „przyklejony” przy dole */
  #save-button {
    position: sticky;
    bottom: calc(8px + env(safe-area-inset-bottom));
    width: 100%;
    border-radius: 14px;
    padding: 14px 18px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
  }
}

/* --- HARD FIX dla przycisku wyboru miasta na mobile --- */
@media (max-width: 768px) {
  .select-custom { position: relative; }

  /* 1) Normalizujemy sam przycisk */
  .select-custom .select-custom__btn {
    position: relative !important;   /* potrzebne dla pseudo-elementu */
    display: block !important;
    width: 100% !important;
    margin: 0 !important;

    background: #fff !important;
    border: none !important;         /* wyłączamy jakiekolwiek „dziwne” obramowania */
    border-radius: 12px !important;
    text-align: left !important;
    padding: 12px 40px 12px 12px !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;

    -webkit-appearance: none !important; /* iOS */
    appearance: none !important;
    box-shadow: inset 0 0 0 1px #e5e7f2 !important; /* ramka jako cień — pewniejsza niż border */
  }

  /* 2) A jakby box-shadow ktoś nadpisał, dokładamy pseudo-ramkę */
  .select-custom .select-custom__btn::before {
    content: "";
    position: absolute;
    inset: 0;                        /* top:0; right:0; bottom:0; left:0 */
    border: 1px solid #e5e7f2;
    border-radius: 12px;
    pointer-events: none;
  }
}


