.aecp-contact-form-wrap {
  width: 100%;
}

.aecp-status {
  display: none;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
}

.aecp-success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.aecp-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.aecp-contact-form {
  display: block;
}

.aecp-grid {
  display: grid;
  gap: 20px;
}

.aecp-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aecp-field {
  margin-bottom: 20px;
}

.aecp-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #16325c;
}

.aecp-field input,
.aecp-field select,
.aecp-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cfd8e3;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.4;
  color: #1f2937;
  background: #ffffff;
  box-sizing: border-box;
}

.aecp-field textarea {
  resize: vertical;
  min-height: 150px;
}

.aecp-field input:focus,
.aecp-field select:focus,
.aecp-field textarea:focus {
  outline: none;
  border-color: #0b4b84;
  box-shadow: 0 0 0 3px rgba(11, 75, 132, 0.12);
}

.aecp-invalid {
  border-color: #dc2626 !important;
}

.aecp-required {
  color: #dc2626;
}

.aecp-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

#aecp-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 24px;
  border: 0;
  border-radius: 4px;
  background: #0b4b84;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

#aecp-submit-btn:hover {
  background: #0a3f6f;
}

#aecp-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.aecp-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cfd8e3;
  border-top-color: #0b4b84;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.aecp-spinner.is-active {
  opacity: 1;
  animation: aecp-spin 0.8s linear infinite;
}

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

@media (max-width: 767px) {
  .aecp-grid-two {
    grid-template-columns: 1fr;
  }
}
