.sb-form {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 34px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(49, 49, 49, 0.07);
}

.sb-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.sb-form-field {
  margin-bottom: 22px;
}

.sb-form label {
  display: block;
  margin-bottom: 9px;
  font-weight: 600;
  color: #313131;
  line-height: 1.35;
}

.sb-form input,
.sb-form select,
.sb-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  font-size: 16px;
  color: #313131;
  background: #FFFFFF;
  box-sizing: border-box;
}

.sb-form textarea {
  min-height: 150px;
  resize: vertical;
}

.sb-form input:focus,
.sb-form select:focus,
.sb-form textarea:focus {
  outline: none;
  border-color: #0052A3;
  box-shadow: 0 0 0 3px rgba(0, 82, 163, 0.12);
}

/* Services checkbox list */
.sb-checkbox-group .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.sb-form .wpcf7-checkbox .wpcf7-list-item {
  display: block;
  margin: 8px 0;
}

.sb-form .wpcf7-checkbox .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 400;
  color: #313131;
  line-height: 1.4;
}

.sb-form .wpcf7-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: auto;
  margin: 0;
  flex-shrink: 0;
  accent-color: #0052A3;
}

/* GDPR consent checkbox */
.sb-form-consent {
  margin: 8px 0 24px 0;
  font-size: 14px;
  color: #4B5563;
  line-height: 1.5;
}

.sb-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: 400;
}

.sb-form .wpcf7-acceptance input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: auto;
  margin: 3px 0 0 0;
  flex-shrink: 0;
  accent-color: #0052A3;
}

/* Submit button */
.sb-form-submit input[type="submit"] {
  background: #0052A3;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 15px 30px;
  min-height: auto;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: auto;
}

.sb-form-submit input[type="submit"]:hover {
  background: #003F7D;
}

/* Contact Form 7 messages */
.sb-form .wpcf7-response-output {
  margin: 24px 0 0 0;
  padding: 14px 16px;
  border-radius: 10px;
}

/* Mobile layout */
@media (max-width: 700px) {
  .sb-form {
    padding: 24px;
    border-radius: 14px;
  }

  .sb-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sb-form-submit input[type="submit"] {
    width: 100%;
  }
}