* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    padding: 20px;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
}
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header h1 { font-size: 24px; }
.header a {
    color: white;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
}
.filter-bar {
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}
.filter-bar form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}
.filter-bar label { font-size: 12px; color: #666; }
.filter-bar input, .filter-bar select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}
.filter-bar button, .filter-bar a {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}
.filter-bar a { background: #aaa; text-decoration: none; }
.stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 6px solid;
}
.stat-card h3 { font-size: 14px; color: #666; margin-bottom: 10px; }
.stat-card .number { font-size: 36px; font-weight: bold; margin-bottom: 8px; }
.stat-card .stat-detail { font-size: 13px; color: #555; }
.stat-card.red { border-left-color: #e74c3c; }
.stat-card.orange { border-left-color: #f39c12; }
.stat-card.green { border-left-color: #27ae60; }
.section {
    background: white;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.section-title {
    background: #f8f9fa;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 2px solid;
}
.section-title.red { border-bottom-color: #e74c3c; color: #e74c3c; }
.section-title.orange { border-bottom-color: #f39c12; color: #f39c12; }
.section-title.green { border-bottom-color: #27ae60; color: #27ae60; }
.table-wrapper {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
th, td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
th {
    background: #fafafa;
    font-weight: 600;
}
tr:hover { background: #f5f5f5; }
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.badge-orange { background: #fff3e0; color: #f39c12; }
@media (max-width: 768px) {
    body { padding: 10px; }
    .stats-row { flex-direction: column; }
    .filter-bar form { flex-direction: column; align-items: stretch; }
    .filter-bar input, .filter-bar select, .filter-bar button { width: 100%; }
}