#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Popup */
#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    z-index: 999999; 
    opacity: 0; 
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Popup açıkken */
#popup.show {
    display: block;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1; 
}

#overlay.show {
    display: block;
    opacity: 1; 
}
#popup {
    width: 80vw;
    height: 85vh;
    overflow-y:auto;
}
.neo-form {
  margin: 0 auto;
  padding: 1rem;
  max-width: 800px;
}

.neo-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.neo-form .form-col {
  flex: 1 1 calc(50% - 1rem); /* Varsayılan olarak 2 sütun */
}

.neo-form .form-col.phone {
  flex: 1 1 calc(50% - 1rem); /* Telefon alanı daha geniş */
}

.neo-form .form-col.social-media {
  flex: 1 1 calc(50% - 1rem); /* Sosyal medya alanı daha dar */
}

.neo-form select,
.neo-form input,
.neo-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1rem;
}

.neo-form textarea {
  min-height: 100px;
}

.neo-form [submit] {
  background-color: #007bff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.neo-form [submit]:hover {
  background-color: #0056b3;
}
.neo-form .form-col-inline {
  display: flex;
  gap: 0.5rem; /* Alanlar arası boşluk */
}

.neo-form .form-col-inline .small {
  flex: 0 0 30%; /* Select için küçük bir oran */
}

.neo-form .form-col-inline .large {
  flex: 1 1 auto; /* Input için geniş alan */
}

.neo-form .select_container {
    padding-top: 5px;
    padding-bottom: 5px;
}
.form-col .wpcf7-submit {
    margin-top: 0 !important;
}
.form-col p {
    margin: 0;
}
.neo-form .form-title{
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.scheme_default input[type="checkbox"] + .wpcf7-list-item-label:before {
    width: 1em;
    height: 1em;
    padding: 3px;
    top: 0px;
}

#overlay.show ~ .body_wrap {
    height: 88vh;
    overflow: hidden;
}
.wpcf7-form .sc_contact_form_info .wpcf7-form-control-wrap:first-child{
        padding-right: 0 !important;
}

@media (min-width:1400px){
    #popup {
    width: 65vw;
}
}
@media (min-width: 960px) and (max-width: 1262px) {
   .neo-form .select_container select {
        padding: 0.6em 1.2em;
    }
}
@media (min-width: 768px) and (max-width: 959px){
        .neo-form .select_container select {
        padding: 0.3em 1em !important;
    }
}
@media (max-width: 768px) {
  .neo-form .form-col,
  .neo-form .form-col.phone,
  .neo-form .form-col.social-media{
    flex: 1 1 100%;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
    .neo-form .select_container select {
        padding: 0.3em 1.2em;
    }
}
@media (max-width: 479px) {
        .neo-form .select_container select {
        padding: 0.3em 1.2em;
        padding-right: 0.5em !important;
    }
    .neo-form .form-col-inline .small {
    flex: 0 0 40%;
}
}