.phone-input-group {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

.country-selector-wrapper {
  flex: 1;
  display: flex;
  width: 100%;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
}

#country-select {
  width: 100%;
  padding: 12px 10px 12px;
  border: none;
  font-size: 14px;
  font-family: "Cera Godrej Interio", Arial, sans-serif;
  background-color: #fff;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0px center;
  background-size: 20px;
  padding-right: 30px;
}

#country-select:hover {
  border-color: var(--primary-col);
}

#country-select:focus {
  outline: none;
}

#country-select option {
  padding: 10px;
  background-color: #fff;
  color: #333;
  font-size: 13px;
}

#country-flag {
  font-size: 18px;
  pointer-events: none;
  z-index: 1;
  align-items: center;
  justify-content: center;
  height: 20px;
  width: 20px;
  min-width: 20px;
}

#country-flag img {
  height: 100%;
  object-fit: contain;
  border-radius: 2px;
  display: block;
}

#phone-input {
  flex: 9;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Cera Godrej Interio", Arial, sans-serif;
  margin-top: 15px;
}

#phone-input:focus {
  outline: none;
  border-color: var(--primary-col);
  box-shadow: 0 0 0 3px rgba(65, 65, 65, 0.1);
}

/* ===== TABLET & DESKTOP BREAKPOINT (1200px) ===== */
@media (max-width: 1200px) {
  .phone-input-group {
    gap: 8px;
    margin-bottom: 12px;
  }

  .country-selector-wrapper {
    min-width: 110px;
  }

  #country-select {
    padding: 10px 8px 10px 36px;
    font-size: 13px;
  }

  #country-flag {
    font-size: 16px;
    left: 8px;
    height: 18px;
    width: 18px;
  }

  #phone-input {
    padding: 10px;
    font-size: 13px;
  }
}

/* ===== TABLET BREAKPOINT (900px) ===== */
@media (max-width: 900px) {
  .phone-input-group {
    gap: 8px;
    margin-bottom: 12px;
  }

  .country-selector-wrapper {
    min-width: 100px;
  }

  #country-select {
    padding: 10px 8px 10px 35px;
    font-size: 12px;
  }

  #country-flag {
    font-size: 15px;
    height: 16px;
    width: 16px;
  }

  #phone-input {
    padding: 10px;
    font-size: 12px;
  }
}

/* ===== MOBILE BREAKPOINT (520px) ===== */
@media (max-width: 520px) {
  .phone-input-group {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
  }

  .country-selector-wrapper {
    width: 100%;
    min-width: auto;
  }

  #country-select {
    width: 100%;
    padding: 10px 8px 10px 35px;
    font-size: 12px;
  }

  #country-flag {
    font-size: 15px;
    left: 8px;
    height: 16px;
    width: 16px;
  }

  #phone-input {
    width: 100%;
    padding: 10px;
    font-size: 12px;
  }
}

/* ===== SMALL MOBILE BREAKPOINT (375px) ===== */
@media (max-width: 375px) {
  .phone-input-group {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
  }

  .country-selector-wrapper {
    width: 100%;
    min-width: auto;
  }

  #country-select {
    width: 100%;
    padding: 9px 8px 9px 32px;
    font-size: 11px;
  }

  #country-flag {
    font-size: 14px;
    height: 14px;
    width: 14px;
  }

  #phone-input {
    width: 100%;
    padding: 9px;
    font-size: 11px;
  }
}
