/* ============================================================
   Dentalign Booking Form – form.css
   ============================================================ */

.dnl-wrap *,
.dnl-wrap *::before,
.dnl-wrap *::after {
  box-sizing: border-box;
}

.dnl-wrap {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  color: #333;
  padding: 0 16px;
}

/* ---------- Form rows ---------- */
.dnl-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.dnl-field {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Standalone field spacing */
#dnl-booking-form > .dnl-field {
  margin-bottom: 16px;
}

/* ---------- Labels ---------- */
.dnl-field label {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
}

.dnl-field label span {
  color: #e74c3c;
  margin-left: 2px;
}

/* ---------- Inputs / Select / Textarea ---------- */
.dnl-field input[type="text"],
.dnl-field input[type="email"],
.dnl-field input[type="tel"],
.dnl-field input[type="date"],
.dnl-field select,
.dnl-field textarea {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
  margin-bottom: 10px;
}

.dnl-field textarea {
  height: auto;
  padding: 10px 12px;
  resize: vertical;
  min-height: 96px;
}

/* Focus */
.dnl-field input[type="text"]:focus,
.dnl-field input[type="email"]:focus,
.dnl-field input[type="tel"]:focus,
.dnl-field input[type="date"]:focus,
.dnl-field select:focus,
.dnl-field textarea:focus {
  outline: none;
  border-color: #1a5fa8;
  box-shadow: 0 0 0 3px rgba(26,95,168,0.1);
}

/* Select arrow */
.dnl-field 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='%23666' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
  cursor: pointer;
}

/* Placeholder */
.dnl-field input::placeholder,
.dnl-field textarea::placeholder {
  color: #bbb;
}

/* ---------- Notice ---------- */
.dnl-notice {
  padding: 11px 14px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 0;
}

.dnl-notice.success,
.dnl-notice.error {
  margin-bottom: 16px;
}

.dnl-notice.success {
  background: #eafaf1;
  border: 1px solid #82e0aa;
  color: #1e8449;
}

.dnl-notice.error {
  background: #fdedec;
  border: 1px solid #f1948a;
  color: #c0392b;
}

/* ---------- Button ---------- */
.dnl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px!important;
  background: #1c1c1c;
  color: #fff;
  border: none;
  padding: 0 28px;
  height: 42px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.dnl-btn:hover  { background: #3a3a3a; }
.dnl-btn:active { transform: translateY(1px); }
.dnl-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 580px) {
  .dnl-row {
    flex-direction: column;
    gap: 0;
  }
  .dnl-row .dnl-field {
    margin-bottom: 16px;
  }
  .dnl-btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .dnl-field input[type="text"],
  .dnl-field input[type="email"],
  .dnl-field input[type="tel"],
  .dnl-field input[type="date"],
  .dnl-field select,
  .dnl-field textarea {
    font-size: 16px; /* prevent iOS zoom */
  }/* ============================================================
   Dentalign Booking Form – form.css
   ============================================================ */

.dnl-wrap *,
.dnl-wrap *::before,
.dnl-wrap *::after {
  box-sizing: border-box;
}

.dnl-wrap {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  color: #333;
  padding: 0 16px;
}

/* ---------- Form rows ---------- */
.dnl-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.dnl-field {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Standalone field spacing */
#dnl-booking-form > .dnl-field {
  margin-bottom: 16px;
}

/* ---------- Labels ---------- */
.dnl-field label {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
}

.dnl-field label span {
  color: #e74c3c;
  margin-left: 2px;
}

/* ---------- Inputs / Select / Textarea ---------- */
.dnl-field input[type="text"],
.dnl-field input[type="email"],
.dnl-field input[type="tel"],
.dnl-field input[type="date"],
.dnl-field select,
.dnl-field textarea {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.dnl-field textarea {
  height: auto;
  padding: 10px 12px;
  resize: vertical;
  min-height: 96px;
}

/* Focus */
.dnl-field input[type="text"]:focus,
.dnl-field input[type="email"]:focus,
.dnl-field input[type="tel"]:focus,
.dnl-field input[type="date"]:focus,
.dnl-field select:focus,
.dnl-field textarea:focus {
  outline: none;
  border-color: #1a5fa8;
  box-shadow: 0 0 0 3px rgba(26,95,168,0.1);
}

/* Select arrow */
.dnl-field 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='%23666' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
  cursor: pointer;
}

/* Placeholder */
.dnl-field input::placeholder,
.dnl-field textarea::placeholder {
  color: #bbb;
}

/* ---------- Notice ---------- */
.dnl-notice {
  padding: 11px 14px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 0;
}

.dnl-notice.success,
.dnl-notice.error {
  margin-bottom: 16px;
}

.dnl-notice.success {
  background: #eafaf1;
  border: 1px solid #82e0aa;
  color: #1e8449;
}

.dnl-notice.error {
  background: #fdedec;
  border: 1px solid #f1948a;
  color: #c0392b;
}

/* ---------- Button ---------- */
.dnl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1c1c1c;
  color: #fff;
  border: none;
  padding: 0 28px;
  height: 42px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.dnl-btn:hover  { background: #3a3a3a; }
.dnl-btn:active { transform: translateY(1px); }
.dnl-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 580px) {
  .dnl-row {
    flex-direction: column;
    gap: 0;
  }
  .dnl-row .dnl-field {
    margin-bottom: 16px;
  }
  .dnl-btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .dnl-field input[type="text"],
  .dnl-field input[type="email"],
  .dnl-field input[type="tel"],
  .dnl-field input[type="date"],
  .dnl-field select,
  .dnl-field textarea {
    font-size: 16px; /* prevent iOS zoom */
  }
}