.fc-loader {
  color: "gray";
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 100%;
  background-color: transparent;
}

.fc-loader::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #888;
  border-top: 2px solid #333;
  border-radius: 50%;
  margin-left: 10px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#flycore-custom-form .fc-input-wrapper {
  display: flex;
}

#flycore-custom-form .fc-phone-input-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

#flycore-custom-form {
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 1rem;
  max-width: 600px;
  width: 100%;
}
#flycore-custom-form select#country {
  background-color: #f0f0f0;
  padding-left: 8px;
}
#flycore-custom-form input#phone {
  width: 100%;
  margin: 0;
  border-left: 0;
}
#flycore-custom-form label,
.fc-question label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 600;
}

#flycore-custom-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#flycore-custom-form h2 {
  text-align: center;
  font-size: 1.5rem;
  margin: 0;
  margin-bottom: 16px;
  padding: 0;
}
#flycore-custom-form input,
#flycore-custom-form select {
  border-radius: 4px;
  border-width: 1px;
  border-style: solid;
  padding: 12px 16px;
  font-size: 16px;
  box-sizing: border-box;
}

.fc-question input:not([type="checkbox"]),
.fc-question select {
  width: 100%;
}

#flycore-custom-form .fc-question-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#flycore-custom-form form > button {
  border-radius: 0.375rem;
  border-width: 1px;
  padding: 0.5rem 1rem;
  height: 40px;
  width: 100%;
  margin-top: 8px;
  font-size: 0.875rem;
  cursor: pointer;
}
.fc-name-container {
  display: flex;
  gap: 12px;
}
.fc-name-container label {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fc-name-container input {
  width: 100%;
  box-sizing: border-box;
}

/* Reset default browser styles */
#flycore-custom-form input:not([type="checkbox"]),
#flycore-custom-form select,
#flycore-custom-form textarea {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Style the dropdown arrow for select elements */
#flycore-custom-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23333' d='M0 2l4 4 4-4z'/%3E%3C/svg%3E");
  background-position: right 10px center;
  background-repeat: no-repeat;
  padding-right: 30px;
}

.fc-question-description {
  margin: 4px 0;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
}
