.elementor-1563 .elementor-element.elementor-element-e4dc548{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;overflow:visible;}/* Start custom CSS for html, class: .elementor-element-ce6ea33 *//* =============================================
   Dr. Neemz Dental E-Consultation Form
   style.css
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:     #0a6e5c;
  --primary-lt:  #e8f5f2;
  --accent:      #c8a96e;
  --accent-lt:   #fdf6ec;
  --bg:          #f4f7f6;
  --card-bg:     #ffffff;
  --text:        #1a2e28;
  --muted:       #6b7c78;
  --border:      #d5e3df;
  --error:       #d64040;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 4px 32px rgba(10,110,92,0.10);
  --transition:  0.22s ease;
}

html {
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding: 2rem 1rem 4rem;
  background-image:
    radial-gradient(ellipse at 10% 0%, rgba(10,110,92,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 100%, rgba(200,169,110,0.08) 0%, transparent 60%);
}

/* ── Brand header ── */
.page-wrapper {
  max-width: 620px;
  margin: 0 auto;
}

.brand {
  text-align: center;
  margin-bottom: 1.8rem;
  animation: fadeDown 0.6s ease both;
}

.tooth-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.8rem;
  color: var(--primary);
  background: var(--primary-lt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 2px solid rgba(10,110,92,0.2);
}

.tooth-icon svg {
  width: 100%;
  height: 100%;
}

.brand h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.tagline {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ── Card ── */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: fadeUp 0.6s 0.1s ease both;
}

.card-header {
  background: linear-gradient(135deg, var(--primary) 0%, #0d8a72 100%);
  padding: 1.8rem 2rem;
  position: relative;
  overflow: hidden;
}

.card-header::before {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.card-header::after {
  content: '';
  position: absolute;
  right: 30px;
  bottom: -50px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.card-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.3rem;
}

.card-header p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  font-weight: 300;
  max-width: 400px;
}

/* ── Form Body ── */
form {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Field Group ── */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.req {
  color: var(--accent);
  margin-left: 2px;
}

/* ── Input Wrap ── */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 0.875rem;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
  flex-shrink: 0;
  transition: color var(--transition);
  z-index: 1;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.925rem;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.875rem 0.7rem 2.75rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10,110,92,0.10);
}

input:focus + .field-icon,
.input-wrap:focus-within .field-icon {
  color: var(--primary);
}

input::placeholder,
textarea::placeholder {
  color: #aabdb8;
}

/* Date & Time color fix */
input[type="date"],
input[type="time"] {
  color: var(--text);
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0.5;
  cursor: pointer;
}

/* Select */
.select-wrap {
  position: relative;
}

select {
  cursor: pointer;
  padding-right: 2.5rem;
}

.chevron {
  position: absolute;
  right: 0.875rem;
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
  transition: transform var(--transition);
}

select:focus ~ .chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Textarea */
.textarea-wrap {
  align-items: flex-start;
}

.textarea-wrap .field-icon {
  display: none;
}

textarea {
  padding-left: 0.875rem;
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

/* ── Error messages ── */
.error-msg {
  font-size: 0.78rem;
  color: var(--error);
  font-weight: 400;
  min-height: 1rem;
  display: block;
}

/* ── Submit Button ── */
.submit-btn {
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, #0d8a72 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 4px 16px rgba(10,110,92,0.30);
  letter-spacing: 0.02em;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,110,92,0.35);
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Loading spinner */
.loading-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ── Footer note ── */
.footer-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1.2rem;
  animation: fadeUp 0.6s 0.3s ease both;
}

/* ── Animations ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Responsive ── */
@media (max-width: 520px) {
  body { padding: 1.2rem 0.75rem 3rem; }

  .card-header { padding: 1.4rem 1.25rem; }
  form { padding: 1.4rem 1.25rem; }

  .field-row { grid-template-columns: 1fr; }

  .brand h1 { font-size: 1.6rem; }
}

/* ── Success state (for PHP redirect or JS feedback) ── */
.success-banner {
  background: var(--primary-lt);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1rem;
}/* End custom CSS */