/* simple styling */
body { font-family: Arial, Helvetica, sans-serif; margin:0; padding:0; background:#f4f4f4; color:#222; }
header { background:#0077cc; color:#fff; padding:12px 16px; display:flex; justify-content:space-between; align-items:center; }
header h1 { margin:0; font-size:18px; }
header .right a { color:#fff; margin-left:8px; text-decoration:none; }
main { padding:16px; max-width:1000px; margin:16px auto; }
.card.center { max-width:360px; margin:80px auto; padding:18px; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,0.1); border-radius:6px; }
.form label, .searchform label { display:block; margin-bottom:8px; }
input, textarea, select { width:100%; padding:8px; margin-top:4px; box-sizing:border-box; border:1px solid #ccc; border-radius:4px; }
textarea { min-height:100px; }
.actions { margin-top:12px; }
.btn, button { background:#0077cc; color:#fff; padding:8px 12px; border:none; border-radius:4px; cursor:pointer; text-decoration:none; }
.btn-link, .btn-link:visited { color:#0077cc; text-decoration:none; margin-left:8px; }
.btn-small { background:#eee; color:#333; padding:6px 8px; border-radius:4px; text-decoration:none; margin-left:6px; }
.btn-small.danger { background:#ff6666; color:#fff; }
.alert { padding:8px; border-radius:4px; margin-bottom:12px; }
.alert.err { background:#ffe5e5; border:1px solid #ffbcbc; }
.alert.ok { background:#e6ffe6; border:1px solid #bdf2bd; }

.list .item { display:flex; gap:12px; padding:12px; border-radius:6px; margin-bottom:12px; background:#fff; align-items:flex-start; border:1px solid #ddd; }
.item-open { background: #fff8b3; } /* yellow-ish for open */
.item-closed { background: #ffffff; } /* white for resolved */
.item .thumb { max-width:160px; max-height:120px; display:block; margin-top:8px; border-radius:4px; border:1px solid #ccc; }
.meta { flex:1; }
.body { flex:2; }
.small { color:#555; font-size:12px; display:block; margin-top:6px; }
.resolved { margin-top:8px; padding:8px; background:#f9f9f9; border-radius:4px; border:1px dashed #ccc; }
.controls { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; gap:12px; flex-wrap:wrap; }
.searchform { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
footer { text-align:center; padding:12px; color:#666; font-size:13px; }
.right { font-size:14px; }
