.custom-form {
  max-width: 650px;
  margin: 0 auto;
}
.form-row {
  display: flex;
  flex-wrap: wrap; /* allow multiple rows */
  gap: 24px 15px; /* row-gap = 24px, column-gap = 15px */
  margin-bottom: 15px;
}

.form-row > * {
  flex: 0 0 calc(50% - 15px); /* each takes 50% minus gap adjustment */
  box-sizing: border-box;
}
.form-group {
  flex: 1;
  margin-bottom: 20px;
}
.custom-form input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  font-size: 15px;
  background: transparent;
}
textarea {
  border: 1px solid #eee;
  border-radius: 6px;
  resize: none;
}
select {
  appearance: none;
  background: url('data:image/svg+xml;utf8,<svg fill="%2300aa88" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>')
    no-repeat right 12px center;
  background-size: 50px;
}
.phone-input {
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-input .code {
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  font-size: 14px;
}
.checkbox {
  font-size: 12px;
  color: #666;
  display: block;
  margin-top: 6px;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
}
.checkbox input {
  height: auto !important;
  margin-bottom: auto !important;
}
input[type="checkbox"] {
  width: 14px;
}
.iti--separate-dial-code input,
.iti--separate-dial-code input[type="tel"] {
  padding-left: 86px !important;
}
.file-upload label {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  display: block;
}
.file-upload-wrapper {
  display: flex;
  justify-content: space-between;
}
.file-upload-wrapper * {
  width: 50%; /* force equal halves */
  flex: 0 0 50%; /* don’t shrink or grow, stay at 50% */
  box-sizing: border-box;
}

.file-input {
  display: flex;
  align-items: center;
  gap: 10px;
}
.file-input input[type="file"] {
  flex: 1;
}
.upload-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  background: #00aa88;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.submit-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #00aa88;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}
.submit-btn:hover {
  background: #008866;
}
.disclaimer {
  font-size: 12px;
  color: #666;
  margin-top: 12px;
  text-align: center;
}

.file-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-family: inherit;
}

.file-display {
  flex: 1;
  color: #000;
}

.file-btn {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: none;
  background: #009688;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
  max-width: 40px;
}
.file-btn.remove {
  background: #e53935;
}
.file-btn:hover {
  opacity: 0.9;
}
.form-footer {
  text-align: center;
  margin-top: 50px;
}
.form-footer .checkbox {
  justify-content: center;
}

.country-select .flag,
.iti-flag,
.iti__selected-flag .iti__flag {
  background-image: url("https://www.nadcab.com/wp-content/plugins/country-phone-field-contact-form-7/assets/img/flags.png") !important;
}
.iti__selected-flag .iti__flag {
  background-size: 5629px 15px !important;
}
.btn-submit {
  background-color: #019d91;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  width: 160px;
  margin: 0 auto;
  transition: background 0.3s;
}

.custom-form {
  box-shadow: 0 0 26px -11px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  overflow: hidden;
}
.custom-form h2 {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 400;
  padding: 30px;
  background: #f8f8f8;
  color: #000;
}
.custom-contact-form {
  padding: 30px;
}
.custom-form input {
  border: 0;
  border-bottom: 1px solid #bdbdbd;
  border-radius: 0;
  margin-bottom: 5px;
  height: 55px;
}
.custom-form input,
select {
  height: 45px;
  border-radius: 0 !important;
}
.custom-form .disclaimer {
  margin-bottom: 0px;
  padding-bottom: 0px;
  padding-top: 30px;
}
.custom-form textarea {
  margin-top: 15px;
}
.page-id-83652 .entry-title {
  display: none;
}

.shadow-none {
  box-shadow: none;
}

.style-form1 input,
.style-form1 select,
.style-form1 textarea  {
  height: 55px;
  border-radius: 10px !important;
  border: 1px solid rgba(25, 32, 32, 0.2) !important ;
}

.style-form1 .file-upload-wrapper input{
  background: #fafafa !important;
  margin-bottom: 15px;
}

/*--- Hire form ---*/
.hire-form {
  background: #ffddc6;
  padding: 30px;
  border-radius: 20px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.hire-form h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 600;
  text-align: left;
}

.hire-form p {
  margin-bottom: 20px;
  font-size: 14px;
  color: #444;
}

.hire-form .form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.hire-form input,
.hire-form textarea {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  width: 100%;
  background: #fff;
}

.hire-form textarea {
  resize: none;
}

.hire-form .btn-submit {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

.hire-form .btn-submit:hover {
  background: #333;
}
.partner-form textarea{
  height: 100px !important;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #bdbdbd;
}
.custom-form button:hover, .custom-form button:focus{
  background: #000 !important;
  color: #fff !important;
}