* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f4f6f8;
    color: #1a1a1a;
}
.topbar {
    background: #1976d2;
    color: #fff;
    padding: 16px 20px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logout-link {
    color: #fff;
    font-size: 14px;
    text-decoration: underline;
}
.container {
    max-width: 760px;
    margin: 24px auto;
    padding: 0 16px;
}
.card {
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.card h3 { margin: 0 0 10px; }
label { font-size: 14px; font-weight: 600; margin-top: 8px; }
input[type=text], input[type=password], input[type=file] {
    padding: 10px;
    border: 1px solid #c7cfd8;
    border-radius: 6px;
    font-size: 15px;
}
button, .btn {
    margin-top: 14px;
    padding: 10px 16px;
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    width: fit-content;
}
button:hover, .btn:hover { background: #145ea8; }
.btn-danger {
    background: #c62828;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 13px;
}
.btn-danger:hover { background: #8e1c1c; }
.alert {
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}
.alert-error { background: #fdecea; color: #b71c1c; border: 1px solid #f5c6c3; }
.alert-success { background: #e8f5e9; color: #1b5e20; border: 1px solid #c3e6c5; }
.doc-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    overflow: hidden;
    font-size: 13px;
}
.doc-table th, .doc-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #eef1f4;
    text-align: left;
}
.doc-table th { background: #f0f3f7; }
.footer {
    text-align: center;
    color: #8a94a3;
    font-size: 12px;
    padding: 20px;
}
