.dove-cf-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.dove-cf-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.dove-cf-field {
  display: flex;
  flex-direction: column;
}

.dove-cf-half {
  flex: 1;
}

.dove-cf-full {
  flex: 1;
}

.dove-cf-field label {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.dove-cf-req {
  color: #c0392b;
}

.dove-cf-field input[type="text"],
.dove-cf-field input[type="email"],
.dove-cf-field input[type="tel"],
.dove-cf-field select,
.dove-cf-field textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #1a1a2e;
  transition: border-color 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}

.dove-cf-field input:focus,
.dove-cf-field select:focus,
.dove-cf-field textarea:focus {
  outline: none;
  border-color: #b8860b;
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.15);
}

.dove-cf-field input::placeholder,
.dove-cf-field textarea::placeholder {
  color: #9ca3af;
}

.dove-cf-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.dove-cf-field textarea {
  resize: vertical;
  min-height: 120px;
}

/* Phone field with code prefix */
.dove-cf-phone-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.dove-cf-phone-wrap:focus-within {
  border-color: #b8860b;
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.15);
}

.dove-cf-phone-code {
  padding: 10px 8px 10px 14px;
  font-size: 14px;
  color: #6b7280;
  white-space: nowrap;
  min-width: 40px;
  background: #f9fafb;
  border-right: 1px solid #d1d5db;
  user-select: none;
}

.dove-cf-phone-code:empty {
  display: none;
}

.dove-cf-phone-code:empty + input {
  border-radius: 8px;
}

.dove-cf-phone-wrap input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
}

.dove-cf-phone-wrap input:focus {
  box-shadow: none !important;
}

/* Other country input */
.dove-cf-hidden {
  display: none !important;
}

.dove-cf-visible {
  display: block !important;
  margin-top: 8px;
}

/* Submit button */
.dove-cf-submit {
  display: inline-block;
  padding: 12px 40px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #b8860b;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
}

.dove-cf-submit:hover {
  background: #9a7209;
}

.dove-cf-submit:active {
  transform: scale(0.98);
}

.dove-cf-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Status messages */
.dove-cf-status {
  margin-top: 16px;
  font-size: 14px;
  min-height: 24px;
}

.dove-cf-status.dove-cf-success {
  color: #16a34a;
}

.dove-cf-status.dove-cf-error {
  color: #dc2626;
}

/* Field validation */
.dove-cf-field.dove-cf-invalid input,
.dove-cf-field.dove-cf-invalid select,
.dove-cf-field.dove-cf-invalid textarea,
.dove-cf-field.dove-cf-invalid .dove-cf-phone-wrap {
  border-color: #dc2626;
}

/* Responsive */
@media (max-width: 767px) {
  .dove-cf-wrap {
    padding: 16px 10px;
  }

  .dove-cf-field label {
    font-size: 11px;
    margin-bottom: 3px;
  }

  .dove-cf-field input[type="text"],
  .dove-cf-field input[type="email"],
  .dove-cf-field input[type="tel"],
  .dove-cf-field select,
  .dove-cf-field textarea {
    font-size: 12px;
    padding: 6px 8px;
  }

  .dove-cf-row {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 4px;
  }

  .dove-cf-field textarea {
    min-height: 60px;
  }

  .dove-cf-submit {
    font-size: 13px;
    padding: 8px 28px;
  }

  .dove-cf-phone-code {
    font-size: 12px;
    padding: 6px 6px 6px 8px;
  }
}
