
/* LetisFlow App – Dark UI base */
:root{
  --lf-bg:#0b0f14;
  --lf-card:#0f1720;
  --lf-border:rgba(255,255,255,.10);
  --lf-text:rgba(255,255,255,.92);
  --lf-muted:rgba(255,255,255,.65);
  --lf-accent:#f97316;
  --lf-accent-2:#fb923c;
  --lf-radius:16px;
}

body{
  background: var(--lf-bg);
  color: var(--lf-text);
}

/* wrapper che useremo nei template */
.lf-app{
  max-width: 980px;
  margin: 48px auto;
  padding: 0 18px;
}

.lf-card{
  background: var(--lf-card);
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius);
  padding: 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.lf-title{
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .2px;
  margin: 0 0 14px 0;
}

.lf-subtitle{
  color: var(--lf-muted);
  margin: 0 0 18px 0;
}

/* input base */
.lf-card input,
.lf-card select,
.lf-card textarea{
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: var(--lf-text);
  padding: 12px 12px;
}

.lf-card label{
  display:block;
  margin: 12px 0 6px 0;
  color: var(--lf-muted);
  font-size: 14px;
}

/* bottoni */
.lf-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background: linear-gradient(90deg, var(--lf-accent), var(--lf-accent-2));
  color:#111;
  border:0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 800;
  cursor:pointer;
}

.lf-btn:disabled{ opacity:.5; cursor:not-allowed; }

/* === LetisFlow: form "white card" + accent arancio === */

/* Card contenitore del form */
body.lf-app .lf-card,
body.lf-app .lf-form-card,
body.lf-app .lf-panel,
body.lf-app .lf-box,
body.lf-app .lf-container-card,
body.lf-app form{
  background:#ffffff !important;
  color:#111827 !important;
  border:1px solid rgba(0,0,0,.08) !important;
  border-radius:14px !important;
}

/* Titoli dentro card */
body.lf-app .lf-card h1,
body.lf-app .lf-card h2,
body.lf-app .lf-card h3,
body.lf-app form h1,
body.lf-app form h2,
body.lf-app form h3{
  color:#111827 !important;
}

/* Label arancio */
body.lf-app label{
  color:#f97316 !important;
  font-weight:700 !important;
}

/* Input bianchi (puliti) */
body.lf-app input[type="text"],
body.lf-app input[type="email"],
body.lf-app input[type="date"],
body.lf-app input[type="tel"],
body.lf-app input[type="number"],
body.lf-app select,
body.lf-app textarea{
  background:#ffffff !important;
  color:#111827 !important;
  border:1px solid rgba(17,24,39,.18) !important;
  border-radius:10px !important;
}

/* Focus arancio */
body.lf-app input:focus,
body.lf-app select:focus,
body.lf-app textarea:focus{
  outline:none !important;
  border-color:#f97316 !important;
  box-shadow:0 0 0 3px rgba(249,115,22,.25) !important;
}

/* Placeholder più soft */
body.lf-app ::placeholder{
  color:rgba(17,24,39,.45) !important;
}

/* Bottoni arancio */
body.lf-app button,
body.lf-app .button,
body.lf-app input[type="submit"]{
  background:#f97316 !important;
  color:#0b0b0f !important;
  border:0 !important;
  border-radius:12px !important;
  font-weight:800 !important;
}

body.lf-app button:hover,
body.lf-app .button:hover,
body.lf-app input[type="submit"]:hover{
  filter:brightness(1.05) !important;
}