/* ── Skymax Living Custom Contact Form ── */
#skymax-contact-form {
  font-family: var(--font-body, 'Inter', sans-serif);
}
.sf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.sf-row.sf-full {
  grid-template-columns: 1fr;
}
.sf-col label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text, #1a1a2e);
  margin-bottom: 6px;
}
.sf-req {
  color: var(--sky-orange, #e8612d);
  margin-left: 2px;
}
.sf-col input[type="text"],
.sf-col input[type="email"],
.sf-col input[type="tel"],
.sf-col select,
.sf-col textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-body, 'Inter', sans-serif);
  color: var(--color-text, #1a1a2e);
  background: #fff;
  border: 1.5px solid #d0d5dd;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.sf-col input:focus,
.sf-col select:focus,
.sf-col textarea:focus {
  outline: none;
  border-color: var(--sky-blue, #1B5EA8);
  box-shadow: 0 0 0 3px rgba(27, 94, 168, 0.12);
}
.sf-col input::placeholder,
.sf-col textarea::placeholder {
  color: #9ca3af;
}
.sf-col select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.sf-col select option[value=""] {
  color: #9ca3af;
}
.sf-col textarea {
  resize: vertical;
  min-height: 100px;
}
.sf-error {
  display: block;
  font-size: 12px;
  color: #dc2626;
  margin-top: 4px;
  min-height: 16px;
}

/* File upload */
.sf-file-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sf-file-wrap input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.sf-file-label {
  display: inline-flex !important;
  align-items: center;
  padding: 10px 20px;
  background: var(--sky-blue-light, #eef4fb);
  color: var(--sky-blue, #1B5EA8) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.sf-file-label:hover {
  background: #dce8f5;
}
.sf-file-name {
  font-size: 14px;
  color: #6b7280;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Footer / Submit */
.sf-footer {
  margin-top: 8px;
}
.sf-gdpr {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 16px;
}
.sf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 32px;
  background: var(--sky-orange, #e8612d);
  color: #fff;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.sf-submit:hover {
  background: var(--sky-orange-dark, #d4551f);
  transform: translateY(-1px);
}
.sf-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Status messages */
.sf-status {
  text-align: center;
  padding: 32px 20px;
  border-radius: 12px;
}
.sf-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.sf-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: #22c55e;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 56px;
  border-radius: 50%;
}
.sf-success p {
  color: #166534;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.sf-error-msg {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.sf-error-msg p {
  color: #991b1b;
  font-size: 15px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 640px) {
  .sf-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sf-submit {
    padding: 12px 24px;
    font-size: 15px;
  }
}
