﻿* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f5f6fa; color: #2c3e50; line-height: 1.6; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.navbar { background: #2c3e50; color: white; padding: 0; position: sticky; top: 0; z-index: 1000; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { color: white; text-decoration: none; font-size: 1.2rem; font-weight: bold; padding: 15px 0; }
.nav-menu { list-style: none; display: flex; gap: 0; margin: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { color: #ecf0f1; text-decoration: none; padding: 15px 18px; display: block; font-size: 0.9rem; }
.nav-menu > li > a:hover { background: #34495e; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: white; min-width: 200px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border-radius: 0 0 4px 4px; z-index: 100; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { color: #2c3e50; padding: 10px 16px; display: block; text-decoration: none; font-size: 0.85rem; border-bottom: 1px solid #eee; }
.dropdown-menu a:hover { background: #f0f0f0; }
main.container { padding: 25px 20px; min-height: calc(100vh - 120px); }
h1 { font-size: 1.6rem; margin-bottom: 20px; color: #2c3e50; border-bottom: 2px solid #3498db; padding-bottom: 8px; }
h2 { font-size: 1.2rem; margin: 20px 0 10px; color: #34495e; }
h3 { font-size: 1rem; margin-bottom: 10px; color: #555; }
.card { background: white; border-radius: 6px; padding: 20px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; margin-bottom: 25px; }
.stat-card { background: white; border-radius: 8px; padding: 20px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-left: 4px solid #3498db; }
.stat-card h3 { font-size: 0.85rem; color: #7f8c8d; margin-bottom: 8px; }
.stat-number { font-size: 2rem; font-weight: bold; color: #2c3e50; }
.table { width: 100%; border-collapse: collapse; background: white; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.08); margin-bottom: 20px; }
.table th { background: #34495e; color: white; padding: 10px 12px; text-align: left; font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.table td { padding: 8px 12px; border-bottom: 1px solid #eee; font-size: 0.85rem; }
.table tr:hover { background: #f8f9fa; }
.table-sm td, .table-sm th { padding: 5px 8px; font-size: 0.8rem; }
.truncate { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
input[type='text'], input[type='number'], select { padding: 8px 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 0.85rem; margin: 2px; }
.filter-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.form-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.btn { display: inline-block; padding: 8px 16px; background: #3498db; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 0.85rem; text-decoration: none; }
.btn:hover { background: #2980b9; }
.btn-secondary { background: #95a5a6; }
.btn-secondary:hover { background: #7f8c8d; }
.btn-sm { padding: 4px 10px; font-size: 0.8rem; }
.alert { padding: 12px 16px; border-radius: 4px; margin-bottom: 15px; font-size: 0.9rem; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 15px; margin: 20px 0; }
.pagination a { color: #3498db; text-decoration: none; padding: 6px 14px; border: 1px solid #3498db; border-radius: 4px; font-size: 0.85rem; }
.pagination a:hover { background: #3498db; color: white; }
.pagination span { font-size: 0.85rem; color: #666; }
.footer { background: #2c3e50; color: #bdc3c7; text-align: center; padding: 15px 0; font-size: 0.8rem; margin-top: 30px; }
