/* === Digital Dialer – Form/Inputs kit ===================================== */
:root{
  --ink: #e2e8f0;
  --ink-muted: #94a3b8;
  --bg: #0b1220;
  --bg-focus: #0f172a;
  --outline: rgba(255,255,255,.14);
  --ring: rgba(249,115,22,.18);   /* orange glow */
  --brand: #f97316;               /* orange */
  --danger: #ef4444;
  --radius: 12px;
}

/* Labels inside cards */
.card label{
  display:block;
  font-size:.85rem;
  color:var(--ink-muted);
  margin:0 0 .35rem .15rem;
}

/* Text inputs & textarea (applies to .inp and generic inputs on Settings) */
.inp,
.card input[type="text"],
.card input[type="tel"],
.card input[type="email"],
.card input[type="number"],
.card input[type="url"],
.card textarea{
  width:100%;
  color:var(--ink);
  background:var(--bg);
  border:1px solid var(--outline);
  border-radius:var(--radius);
  padding:.75rem .9rem;
  line-height:1.4;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .06s ease;
}

.inp::placeholder,
.card input::placeholder,
.card textarea::placeholder{
  color:var(--ink-muted);
}

.inp:focus,
.card input:focus,
.card textarea:focus{
  background:var(--bg-focus);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--ring);
}

/* Subtle hover and active micro-interactions */
.inp:hover,
.card input:hover,
.card textarea:hover{
  border-color: rgba(255,255,255,.22);
}
.inp:active,
.card input:active,
.card textarea:active{
  transform: translateY(0.5px);
}

/* Disabled state */
.inp:disabled,
.card input:disabled,
.card textarea:disabled{
  opacity:.65;
  cursor:not-allowed;
}

/* Textarea sizing */
.card textarea{
  min-height: 120px;
  resize: vertical;
}

/* Nice toggle for the AI enable checkbox (id=aiEnabled) */
#aiEnabled{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  width:46px; height:28px; border-radius:999px;
  background:var(--bg);
  border:1px solid var(--outline);
  position:relative; display:inline-block; vertical-align:middle;
  transition: background .18s ease, border-color .18s ease;
  cursor:pointer;
}
#aiEnabled::after{
  content:"";
  position:absolute; top:2px; left:2px;
  width:24px; height:24px; border-radius:999px;
  background:var(--ink);
  transition:left .18s ease, background .18s ease;
}
#aiEnabled:checked{
  background: var(--brand);
  border-color: var(--brand);
}
#aiEnabled:checked::after{ left:20px; background:#0f172a; }

/* Button system (matches your preferred look) */
a.navbtn, .navbtn{ text-decoration:none; }
.btn, a.btn{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.625rem 1rem; border-radius:var(--radius);
  background: var(--brand); color:#0f172a; font-weight:700;
  border:1px solid var(--outline);
}
.btn:hover{ filter:brightness(1.06); }
.btn-secondary, a.btn-secondary{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.625rem 1rem; border-radius:var(--radius);
  background:transparent; color:var(--ink);
  border:1px solid var(--outline);
}
.btn-secondary:hover{ background:rgba(255,255,255,.06); }
.btn-danger, a.btn-danger{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.625rem 1rem; border-radius:var(--radius);
  background:var(--danger); color:#0b0f19; font-weight:700;
  border:1px solid var(--outline);
}
.btn-danger:hover{ filter:brightness(1.06); }

/* Small icon buttons (e.g., modal close) */
.icon-btn{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:10px;
  background:transparent; color:var(--ink);
  border:1px solid var(--outline);
}
.icon-btn:hover{ background:rgba(255,255,255,.06); }

