/* assets/css/style.css */
* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; margin:0; color:#111; background:#fafafa; }
a { text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.site-header { background: #0f172a; color: #fff; position: sticky; top:0; z-index: 10; }
.site-header .logo a { color: #fff; font-weight: 800; font-size: 1.5rem; display:inline-block; padding: 12px 0; }
.site-header .logo span { color: #60a5fa; }
.nav a { color: #d1d5db; margin: 0 12px; }
.nav a:hover { color: #fff; }

.layout { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; padding: 24px 0; }
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
}

.card { background:#fff; border:1px solid #e5e7eb; border-radius:16px; padding: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.post-item { margin-bottom: 16px; }
.post-item h2 { margin: 0 0 8px; font-size: 1.25rem; }
.post-meta { font-size: .85rem; color:#6b7280; margin-bottom: 8px; }
.btn { display:inline-block; padding: 10px 14px; border-radius: 12px; border:1px solid #e5e7eb; background:#111; color:#fff; cursor:pointer; }
.btn.secondary { background: #fff; color:#111; }
.btn.danger { background: #b91c1c; }
.btn.full { width: 100%; text-align: center; }
.actions a, .actions form { display:inline-block; margin-right: 6px; }

.site-footer { border-top:1px solid #e5e7eb; padding: 24px 0; margin-top: 24px; background:#fff; }

.sidebar .widget { margin-bottom: 16px; }
.input, textarea, input[type="text"], input[type="email"], input[type="password"] {
  width: 100%; padding: 10px 12px; border-radius: 12px; border:1px solid #e5e7eb; background:#fff; margin: 6px 0 12px;
}
label { font-weight: 600; display:block; margin-top:6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px){ .form-row { grid-template-columns: 1fr; } }

.toolbar { display:flex; gap:8px; flex-wrap: wrap; margin-bottom:8px; }
.toolbar button { border:1px solid #e5e7eb; background:#fff; padding:8px 10px; border-radius:10px; cursor:pointer; }
.editor { min-height: 240px; border:1px solid #e5e7eb; border-radius:12px; padding:12px; background:#fff; }
.notice { background:#ecfeff; border:1px solid #a5f3fc; color:#0e7490; padding:10px 12px; border-radius:12px; margin-bottom: 12px; }
