:root { --bg:#f6f7fb; --fg:#1b1f2a; --accent:#0f6cbd; --card:#fff; --muted:#5b6475; }
* { box-sizing: border-box; }
body { margin:0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background:var(--bg); color:var(--fg); }
header { display:flex; justify-content:space-between; align-items:center; padding:.9rem 1.5rem; background:var(--fg); color:#fff; }
header a { color:#fff; text-decoration:none; margin-left:1rem; }
.brand { font-weight:700; margin-left:0; font-size:1.2rem; }
.user { margin-left:1rem; opacity:.75; }
main { max-width:1000px; margin:2rem auto; padding:0 1rem; }
footer { text-align:center; color:var(--muted); padding:2rem 0; font-size:.85rem; }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1rem; }
.card { background:var(--card); border-radius:10px; padding:1rem 1.2rem; box-shadow:0 1px 4px rgba(0,0,0,.08); }
.card.wide { max-width:640px; }
.card img { width:100%; border-radius:8px; margin-bottom:.6rem; max-height:220px; object-fit:cover; }
.meta { color:var(--muted); font-size:.9rem; }
.btn { display:inline-block; background:var(--accent); color:#fff; border:0; padding:.55rem 1rem; border-radius:6px; text-decoration:none; cursor:pointer; font-size:1rem; }
form { display:grid; gap:.6rem; max-width:320px; }
input { padding:.5rem; font-size:1rem; border:1px solid #c4c9d4; border-radius:6px; }
table { width:100%; border-collapse:collapse; background:var(--card); border-radius:10px; overflow:hidden; }
th, td { text-align:left; padding:.6rem .8rem; border-bottom:1px solid #e6e8ef; }
.alert { background:#fdecea; color:#8a1c12; padding:.7rem 1rem; border-radius:6px; }
.ok { background:#e8f6ec; color:#14532d; padding:.7rem 1rem; border-radius:6px; }
.badge { padding:.15rem .6rem; border-radius:999px; font-size:.8rem; background:#e6e8ef; }
.badge.confirmed { background:#c9f0d4; color:#14532d; }
.badge.pending { background:#fff3c4; color:#7a5b00; }
.badge.failed { background:#fdecea; color:#8a1c12; }
