/* QuickInvite by SWC - styles */
:root{
  --bg-1: 255, 69, 236;
  --bg-2: 77, 161, 255;
  --bg-3: 120, 255, 214;
  --surface: 16, 18, 26;
  --text: 242, 244, 248;
  --muted: 170, 178, 189;
  --accent: 164, 69, 255;
}

*{ box-sizing: border-box; }

html, body{
  height:100%;
  background: radial-gradient(1200px 800px at 10% 10%, rgba(var(--bg-1),0.25), transparent 60%),
              radial-gradient(1000px 700px at 90% 10%, rgba(var(--bg-2),0.25), transparent 60%),
              radial-gradient(900px 900px at 50% 120%, rgba(var(--bg-3),0.25), transparent 60%),
              rgb(var(--surface));
  color: rgb(var(--text));
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height:1.5;
  margin:0;
}

.app-header{
  padding: 24px 16px 8px;
  text-align:center;
}

h1{ font-size: clamp(24px, 4vw, 40px); margin:0 0 8px; }
h2{ font-size: 20px; margin: 0 0 12px; }
h3{ font-size: 16px; margin: 16px 0 8px; }

.glow{
  text-shadow: 0 0 10px rgba(var(--bg-2), 0.6), 0 0 20px rgba(var(--bg-1), 0.4);
}

.tagline{ color: rgb(var(--muted)); margin: 0 auto 8px; max-width: 720px; }

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  padding: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.card{
  grid-column: span 12;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 10px 40px rgba(0,0,0,0.35), inset 0 0 40px rgba(164,69,255,0.08);
  backdrop-filter: blur(8px);
}

@media (min-width: 900px){
  .card:first-of-type{ grid-column: span 6; }
  .card:last-of-type{ grid-column: span 6; }
}

.form-row{ display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
.form-row.two{ flex-direction:row; gap:12px; }
.form-row.two > div{ flex:1; }

label{ font-weight: 600; }
.hint{ color: rgb(var(--muted)); }

input, textarea, select, button{
  font: inherit;
}

input, textarea{
  width:100%;
  background: rgba(255,255,255,0.06);
  color: rgb(var(--text));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border 200ms, box-shadow 200ms, transform 120ms;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 0 12px rgba(164,69,255,0.08);
}

input:focus, textarea:focus{
  border-color: rgba(var(--accent), 0.7);
  box-shadow: 0 0 12px rgba(var(--accent), 0.45), 0 0 32px rgba(77,161,255,0.35);
}

.checkbox{
  display:flex; align-items:center; gap:8px;
}

.actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:6px; }
.btn{
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: rgb(var(--text));
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  transition: transform 120ms, box-shadow 200ms, background 200ms, border 200ms;
  box-shadow: 0 0 10px rgba(164,69,255,0.25);
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn.primary{
  background: linear-gradient(135deg, rgba(var(--bg-2),0.8), rgba(var(--bg-1),0.8));
  border-color: transparent;
}
.btn.subtle{
  background: rgba(255,255,255,0.08);
}
.btn.ghost{
  background: transparent;
}

.timezone{ color: rgb(var(--muted)); font-size: 14px; margin-top: 8px; }

.preview{ background: rgba(0,0,0,0.3); border-radius: 12px; padding: 12px; border: 1px solid rgba(255,255,255,0.1); }
pre.code{ max-height: 360px; overflow:auto; white-space: pre-wrap; word-break: break-word; }

.template-list{ display:flex; flex-wrap:wrap; gap:8px; }
.template-chip{
  border:1px solid rgba(255,255,255,0.18);
  padding:8px 12px; border-radius:999px; cursor:pointer;
  background: rgba(255,255,255,0.05);
}
.template-chip:hover{ box-shadow: 0 0 12px rgba(164,69,255,0.35); }

.footer{ text-align:center; padding: 16px; color: rgb(var(--muted)); }

/* Decorative background blobs */
.bg-orb{
  position: fixed; pointer-events:none; inset: 0;
  filter: blur(60px); opacity: 0.6;
}
.orb-1::before, .orb-2::before{
  content: ""; position:absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(var(--bg-1),0.55), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(var(--bg-2),0.55), transparent 60%);
}
.orb-1::before{ left: -120px; top: -80px; }
.orb-2::before{ right: -120px; bottom: -80px; }
