* { box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #F5F7F5;
    margin: 0;
    color: #1A1A1A;
}
.topbar {
    background: #2E7D32;
    color: #fff;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar .brand { font-size: 18px; font-weight: bold; display: flex; align-items: center; gap: 8px; }
.nav {
    background: #1B5E20;
    padding: 0 24px;
    display: flex;
    gap: 4px;
}
.nav a {
    color: #E8F5E9;
    text-decoration: none;
    padding: 12px 16px;
    display: inline-block;
    font-size: 14px;
}
.nav a:hover, .nav a.active { background: #2E7D32; }
.container { max-width: 1100px; margin: 24px auto; padding: 0 20px; }
.card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}
h1 { font-size: 22px; margin-top: 0; }
h2 { font-size: 18px; color: #2E7D32; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid #eee; font-size: 14px; }
th { background: #E8F5E9; color: #1B5E20; }
tr:hover { background: #FAFAFA; }
.btn {
    display: inline-block;
    background: #2E7D32;
    color: #fff;
    border: none;
    padding: 9px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}
.btn:hover { background: #1B5E20; }
.btn-danger { background: #C62828; }
.btn-danger:hover { background: #8E0000; }
.btn-secondary { background: #757575; }
.actions a { margin-right: 8px; font-size: 13px; }
input[type=text], input[type=number], input[type=email], input[type=password], textarea, select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 4px;
}
label { font-weight: 600; font-size: 13px; color: #333; display:block; margin-top: 12px; }
.form-row { margin-bottom: 4px; }
.alert { padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #E8F5E9; color: #1B5E20; border: 1px solid #A5D6A7; }
.alert-error { background: #FFEBEE; color: #B71C1C; border: 1px solid #EF9A9A; }
.stats { display: flex; gap: 16px; flex-wrap: wrap; }
.stat-box { flex: 1; min-width: 160px; background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); text-align: center; }
.stat-box .num { font-size: 28px; font-weight: bold; color: #2E7D32; }
.stat-box .label { font-size: 13px; color: #666; margin-top: 4px; }
.login-wrap { display:flex; align-items:center; justify-content:center; min-height:100vh; }
.login-box { background:#fff; padding:32px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); width: 340px; text-align:center; }
.login-box h1 { color:#2E7D32; }
.thumb { width: 44px; height: 44px; background:#E8F5E9; border-radius:6px; display:flex; align-items:center; justify-content:center; color:#2E7D32; font-size:20px; }
