/* Simple attractive admin UI */
:root {
    --bg: #f4f7fb;
    --card: #ffffff;
    --accent: #2563eb;
    --danger: #dc2626;
    --muted: #6b7280
}

* {
    box-sizing: border-box;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial
}

body {
    background: var(--bg);
    margin: 0;
    padding: 24px;
    color: #111
}

.container {
    max-width: 980px;
    margin: 0 auto
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px
}

header h1 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--accent)
}

.card {
    background: var(--card);
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    margin-bottom: 14px
}

.meta {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 8px
}

label {
    display: block;
    margin-bottom: 8px
}

input,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #e6e9ef;
    border-radius: 6px;
    font-size: 1rem
}

textarea {
    min-height: 100px
}

.btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-weight: 600
}

.btn.primary {
    background: linear-gradient(180deg, var(--accent), #1748c6);
    color: #fff
}

.btn.danger {
    background: var(--danger);
    color: #fff
}

.btn.small {
    padding: 6px 8px;
    font-size: .9rem;
    border-radius: 6px
}

.updates {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px
}

.updates td,
.updates th {
    padding: 10px;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: top
}

.updates th {
    background: transparent;
    color: var(--muted);
    text-align: left
}

.small {
    color: var(--muted);
    font-size: .9rem;
    margin-top: 6px
}

.notice {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 10px
}

.error {
    background: #fff1f2;
    border: 1px solid #fecaca;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 10px
}

@media (max-width:600px) {
    .container {
        padding: 12px
    }
}