.custom-cf7-form {
  font-family: sans-serif;
  color: rgb(17, 24, 39);
}

.custom-cf7-form p {
  margin: 0px;
  position: relative;
}

.wpcf7-not-valid-tip {
  margin-top: 4px;
}
.custom-cf7-form .form-row {
  margin-bottom: 24px;
}
.custom-cf7-form .form-row.submit-row {
  margin-bottom: 0px;
	position: relative;
}
.custom-cf7-form .two-col {
  display: flex;
  gap: 20px;
}
.custom-cf7-form .two-col .form-group {
  flex: 1;
}
.custom-cf7-form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
	margin-bottom: 8px;
}
.custom-cf7-form .req {
  color:rgb(228, 0, 0);
}

.custom-cf7-form select {
  background-image: url(../../img/select.svg);
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.custom-cf7-form input[type="text"],
.custom-cf7-form input[type="email"],
.custom-cf7-form input[type="tel"],
.custom-cf7-form select,
.custom-cf7-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  box-sizing: border-box;
  color: #333;
  background-color: #fff;
  outline: none;
  transition: border-color 0.3s;
  font-family: sans-serif;
}
.custom-cf7-form input:focus,
.custom-cf7-form select:focus,
.custom-cf7-form textarea:focus {
  border-color: #d4a34b;
}
.custom-cf7-form input::placeholder,
.custom-cf7-form textarea::placeholder {
  color: rgb(107, 114, 128);
}
.custom-cf7-form textarea {
  height: 120px;
  resize: vertical;
}
.custom-cf7-form .checkbox-row {
  font-size: 14px;
  line-height: 1.5;
}
.custom-cf7-form .wpcf7-list-item {
  margin-left: 0;
  display: flex;
  align-items: flex-start;
}
.custom-cf7-form span.wpcf7-list-item-label {
  font-weight: 400;
  color: #444;
}

.custom-cf7-form .checkbox-row label {
  display: flex;
  align-items: center;
}
.custom-cf7-form .wpcf7-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  margin-top: 2px;
  cursor: pointer;
  border: 1px solid #d39b32;
  background-color: #fff;
  position: relative;
  flex-shrink: 0;
  border-radius: 3px;
}
.custom-cf7-form .wpcf7-checkbox input[type="checkbox"]:checked {
  background-color: #d39b32;
}
.custom-cf7-form .wpcf7-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.custom-cf7-form .sms-details {
  list-style-type: disc;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-left: 45px;
  color: #555;
  font-size: 13px;
}
.custom-cf7-form .links-row {
  margin-bottom: 24px;
}
.custom-cf7-form .privacy-link {
  color: rgb(232, 170, 48);
  text-decoration: underline;
  font-size: 14px;
  font-weight: 600;
}
.custom-cf7-form .privacy-link:hover {
  color: #b88a38;
}
.custom-cf7-form .submit-row input.wpcf7-submit {
  background-color: #d39b32;
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
}
.custom-cf7-form .submit-row input.wpcf7-submit:hover {
  background-color: #bf8b2a;
}

.wpcf7-spinner {
  margin: 0px !important;
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
}

.custom-cf7-form .note {
	font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    font-style: italic;
    margin-top: 24px;
    color: rgb(232, 170, 48);
	text-align: center;
}

@media (max-width: 768px) {
  .custom-cf7-form .two-col {
    flex-direction: column;
  }
	.custom-cf7-form .form-row {
		margin-bottom: 20px;
	}

}
