/*
  K2 UI – Contact Form Structure CSS
  contact-form.css
*/

.k2-contactform {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 100%;
  padding: 1rem;
}

.k2-form-title {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.k2-form-intro {
  font-size: 1rem;
  color: var(--k2-color-gray-600);
  line-height: 1.5;
}

.k2-form-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  /*border: 1px solid yellow;*/
  margin-bottom: 25px;
  padding:20px;
  background-color: var(--k2-color-gray-100);
  border-radius: 10px;
}
.k2-form-section-title {
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
}

.k2-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.k2-form-field > label {
  font-weight: 500;
  font-size: 0.95rem;
  
}

.k2-form-field > input,
.k2-form-field > textarea,
.k2-form-field > select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--k2-radius-md);
  border: 1px solid var(--k2-color-gray-300);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.k2-form-field > input:focus,
.k2-form-field > textarea:focus,
.k2-form-field > select:focus {
  border-color: var(--k2-bg-muted);
  outline: none;
}

.k2-form-field > .k2-radio-group,
.k2-form-field > .k2-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.k2-form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.k2-form-footer {
  font-size: 0.875rem;
  color: var(--k2-color-gray-500);
  margin-top: 1rem;
  line-height: 1.4;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .k2-form {
    padding: 1rem 0.5rem;
  }

  .k2-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
