/* membership-form.css */


#membership-form {
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  margin-top: 50px 0 0 0;
}


#membership-form .mf-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}


#membership-form .mf-row.mf-row-1 > .mf-col {
  flex: 1 1 calc(33.333% - 1rem);
}


#membership-form .mf-row.mf-row-2 > .mf-col,
#membership-form .mf-row.mf-row-3 > .mf-col,
#membership-form .mf-row.mf-row-4 > .mf-col {
  flex: 1 1 calc(50% - 1rem);
}


#membership-form .mf-row.mf-row-5 > .mf-col {
  flex: 1 1 100%;
}


#membership-form .mf-row.mf-row-6 {
  justify-content: center;
}


#membership-form input,
#membership-form select,
#membership-form textarea {
  width: 100%;
  padding: 0.5rem;
  box-sizing: border-box;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-family: Helvetica, sans-serif;
  font-size: 14px;
  color: #686873;
}

/* Styl placeholdera */
#membership-form ::placeholder {
  font-family: Helvetica, sans-serif;
  color: #686873;
  font-size: 14px;
}

/* Styl przycisku "Apply" */
#membership-form button[type="submit"] {
  background-color: #e22618;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  font-size: 1rem;
}

/* Styl tekstu w wybranej opcji (po kliknięciu) */
.select2-container .select2-selection--single .select2-selection__rendered {
  font-family: Helvetica, sans-serif !important;
  font-size: 14px !important;
  color: #686873 !important;
}

/* Styl placeholdera (np. "Select Country") */
.select2-container .select2-selection--single .select2-selection__placeholder {
  font-family: Helvetica, sans-serif !important;
  font-size: 14px !important;
  color: #686873 !important;
  padding: 0.5 rem;
}

/* Styl listy rozwijanej (opcje do wyboru) */
.select2-container .select2-results__option {
  font-family: Helvetica, sans-serif !important;
  font-size: 14px !important;
  color: #686873 !important;
}

/* Styl pola wyszukiwania (jeśli nie wyłączasz search) */
.select2-container .select2-search__field {
  font-family: Helvetica, sans-serif !important;
  font-size: 14px !important;
  color: #686873 !important;
}

/* Zmiana tła opcji podświetlonej w Select2 na lekko szary */
.select2-container--default .select2-results__option--highlighted,
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #f0f0f0 !important;
  color: #686873 !important;
}

#mf-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999999; /* wysoki z-index, by przykryć logo i inne elementy */
  display: flex;
  align-items: center;
  justify-content: center;
}


#mf-popup {
  background: #fff;
  width: 90%;
  max-width: 400px;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  position: relative;
}

#mf-popup h2 {
  color: #000; 
  margin: 0 0 1rem;
  font-size:18px;
}

#mf-popup p {
  color: #818181; 
  margin: 0 0 1rem;
  font-size:14px;
}

/* Ikona w popupie (ptaszek) */
.mf-popup-icon {
  font-size: 2rem;
  color: #4caf50;
  margin-bottom: 1rem;
}

/* Przycisk z białym tekstem i czerwonym tłem */
.mf-popup-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 0;
  width:100%;
  background: #e22618;
  color: #fff; /* biały tekst */
  border-radius: 8px;
  text-decoration: none;
}

.phone-input-group {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  gap: 0; /* brak odstępów między elementami */
}

.phone-input-group select {
  border: none !important;
  background: transparent 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23686873'/%3E%3C/svg%3E")
    no-repeat right 0.5rem center;
  background-size: 8px 5px;
  font-family: Helvetica, sans-serif;
  font-size: 14px;
  color: #686873;
  padding: 0.5rem;
  max-width: 50px;
  appearance: none;
  cursor: pointer;
  margin: 0;
}

.phone-input-group select::-ms-expand {
  display: none;
}

.phone-input-group input[type="tel"] {
  border: none !important;
  background: transparent;
  padding: 0.5rem;
  flex: 1;
  font-family: Helvetica, sans-serif;
  font-size: 14px;
  color: #686873;
  margin: 0;
  box-sizing: border-box;
}


@media (max-width: 768px) {
  /* Każda mf-col ma wtedy zająć 100% dostępnej szerokości */
  #membership-form .mf-row .mf-col {
    flex: 1 1 100% !important;
  }
}