* { box-sizing: border-box; }
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 0;
    color: #222;
}
.container {
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
h1, h2 { margin-top: 0; }
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    background: #2563eb;
    border: none;
    cursor: pointer;
    font-size: 14px;
}
.btn-green { background: #16a34a; }
.btn-red { background: #dc2626; }
.btn-gray { background: #6b7280; }
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
th, td {
    padding: 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}
th { background: #f1f5f9; }
input[type=text], textarea, select {
    width: 100%;
    padding: 8px;
    margin: 6px 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-size: 14px;
}
label { font-weight: bold; }
.correct-tag {
    background: #16a34a;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.msg-ok { color: #16a34a; font-weight: bold; }
.msg-err { color: #dc2626; font-weight: bold; }
.actions a, .actions button { margin-right: 6px; }
