* { box-sizing: border-box; font-family: 'Segoe UI', Arial, sans-serif; }
body { margin: 0; background: #f4f6f9; color: #333; }
.navbar { background: #2c3e50; color: #fff; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; }
.navbar a { color: #fff; text-decoration: none; margin: 0 10px; }
.navbar a:hover { text-decoration: underline; }
.navbar .brand { font-weight: bold; font-size: 18px; }
.container { max-width: 1200px; margin: 20px auto; padding: 0 15px; }
.card { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.1); margin-bottom: 20px; }
h2 { margin-top: 0; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { border: 1px solid #ddd; padding: 8px 10px; text-align: left; }
th { background: #34495e; color: #fff; }
tr:nth-child(even) { background: #f9f9f9; }
.btn { display: inline-block; padding: 8px 14px; border: none; border-radius: 4px; cursor: pointer; text-decoration: none; color: #fff; font-size: 14px; }
.btn-primary { background: #3498db; }
.btn-success { background: #27ae60; }
.btn-warning { background: #f39c12; }
.btn-danger { background: #e74c3c; }
.btn-secondary { background: #7f8c8d; }
.btn:hover { opacity: .85; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; margin-bottom: 4px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px;
}
.row { display: flex; gap: 15px; flex-wrap: wrap; }
.row > .form-group { flex: 1; min-width: 200px; }
.alert { padding: 12px; border-radius: 4px; margin-bottom: 15px; }
.alert-success { background: #d4edda; color: #155724; }
.alert-danger { background: #f8d7da; color: #721c24; }
.login-box { max-width: 400px; margin: 100px auto; background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,.2); }
.login-box h2 { text-align: center; }

@media print {
    .navbar, .no-print { display: none !important; }
    body { background: #fff; }
    .card { box-shadow: none; border: none; }
}