.efa-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: transparent;
  font-family: inherit;
}

.efa-form .form-group {
  margin-bottom: 1.5rem;
}

.efa-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.efa-form input,
.efa-form select,
.efa-form textarea,
.iti__country-container {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
  transition: border-color 0.2s;
}

.efa-form input:focus,
.efa-form select:focus,
.efa-form textarea:focus {
  border-color: #6C63FF;
  outline: none;
}

.efa-form button[type="submit"] {
  background-color: #6C63FF;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.efa-form button[type="submit"]:hover {
  background-color: #574bdf;
}

.efa-form .error {
  color: #e63946;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.efa-form.loading {
  position: relative;
  opacity: 0.6;
  pointer-events: none;
  filter: blur(0.8px);
}

.efa-form .efa-form-message {
  margin-top: 1rem;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
}

.efa-form .efa-form-message.success {
  background-color: #d1f5d3;
  color: #1a7f2e;
  border: 1px solid #1a7f2e;
}

.efa-form .efa-form-message.error {
  background-color: #fddddd;
  color: #a51a1a;
  border: 1px solid #a51a1a;
}

.efa-form button.loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.efa-form button.loading::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

.efa-form-success {
  text-align: center;
  padding: 40px 20px;
  color: #1a7f2e;
  animation: fadeIn 0.5s ease-in-out;
}

.efa-checkmark {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 16px;
}

.efa-success-text {
  font-size: 20px;
  font-weight: bold;
}

.efa-form .form-group,
.efa-form button[type="submit"] {
  transition: all 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.efa-form.loading::after {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  border: 4px solid #ddd;
  border-top-color: #00aaff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.iti--allow-dropdown {
  width: 100%;    
}

.iti__tel-input {
  padding-left: 95px !important;
}

.iti__search-input,
.iti__tel-input {
  padding: 12px 16px;
}

.iti__country-name,
.iti__dial-code,
.iti__selected-dial-code {
  font-size: 1rem !important;
  font-family: inherit !important;
}

.iti__selected-country {
  height: 90% !important;
}

.elementor-button[disabled] {
  background-color: #ccc;     /* ganti warna background */
  color: #666;                /* ganti warna teks */
  cursor: not-allowed;        /* ubah kursor */
  opacity: 0.6;               /* ubah transparansi */
  pointer-events: none;       /* cegah interaksi */
}


.elementor-field.invalid {
  border-color: red;
  background-color: #ffe6e6;
}

.elementor-field.valid {
  border-color: green;
  background-color: #e6ffe6;
}

.efa-form-message {
  color: red;
  margin-top: 10px;
  font-size: 14px;
}
