/* assets/style.css */
:root{
  --bg:#f7f7fb;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --primary:#2563eb;
  --primary-600:#1d4ed8;
  --border:#e5e7eb;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial;}
header{background:var(--card);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:5}
header h1{margin:0;padding:16px}
nav{padding:0 16px 16px}
nav a{margin-right:12px;text-decoration:none;color:var(--primary)}
.container{max-width:900px;margin:24px auto;padding:0 16px}
.card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:16px;margin-bottom:20px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.grid-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.grid-form label{display:flex;flex-direction:column;font-size:14px;color:var(--muted)}
.grid-form input{margin-top:6px;padding:10px;border:1px solid var(--border);border-radius:8px;font-size:16px}
.grid-form button{grid-column:1/-1;padding:12px 16px;border:0;border-radius:10px;background:var(--primary);color:#fff;font-weight:600;cursor:pointer}
.grid-form button:hover{background:var(--primary-600)}
.alert{padding:10px 12px;border-radius:8px;margin-bottom:8px}
.alert.success{background:#e8f5e9;border:1px solid #a5d6a7}
.alert.error{background:#ffebee;border:1px solid #ef9a9a}
.wedding-list{list-style:none;padding:0;margin:0}
.wedding-list li{padding:12px;border-bottom:1px solid var(--border)}
.wedding-list .title{font-weight:700}
.wedding-list .meta{color:var(--muted);display:flex;gap:16px;margin-top:4px}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:10px;border-bottom:1px solid var(--border);text-align:left}
.inline-form{display:inline}
.secondary{background:#e5e7eb;color:#111827}
@media (max-width:700px){
  .grid-form{grid-template-columns:1fr}
}
