/* ─────────────────────────────
   Global Box Sizing Fix (ESSENTIAL)
───────────────────────────── */
.mypixellab-contact-form *,
.mypixellab-contact-form *::before,
.mypixellab-contact-form *::after {
  box-sizing: border-box;
}

/* ─────────────────────────────
   Contact Form Wrapper
───────────────────────────── */
.mypixellab-contact-form-wrapper {
  margin: 40px auto;
  background-color: #ffffff;
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}


/* ─────────────────────────────
   Form Layout Rows & Columns
───────────────────────────── */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-col {
  flex: 1 1 100%;
}

.form-row.two-column .form-col {
  flex: 1 1 calc(50% - 10px); /* Account for gap */
}

@media (max-width: 768px) {
  .form-row.two-column .form-col {
    flex: 1 1 100%;
  }
}

/* ─────────────────────────────
   Input Fields & Textarea
───────────────────────────── */
.form-col input,
.form-col select,
.form-col textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fafafa;
  transition: border-color 0.3s ease;
  color: #757575;
}

.form-col textarea {
  min-height: 140px;
  resize: vertical;
}

/* ─────────────────────────────
   Focus State
───────────────────────────── */
.form-col input:focus,
.form-col textarea:focus,
.form-col select:focus {
  border-color: #01c0c7;
  background-color: #fff;
  outline: none;
}

/* ─────────────────────────────
   Submit Button
───────────────────────────── */
.mypixellab-contact-form button[type="submit"] {
  background-color: var(--ar-accent, #3aa98f);
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mypixellab-contact-form button[type="submit"]:hover {
   background-color: var(--secondary-color, #3aa98f); 
}

/* ─────────────────────────────
   Form Response Message
───────────────────────────── */
.form-response {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  color: #28a745;
}
