* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f0f2f6;
}
.header {
    background: linear-gradient(135deg, #0f2b3d 0%, #1b4f6e 100%);
    color: white;
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header h1 { font-size: 1.5rem; }
.user-info { display: flex; align-items: center; gap: 20px; }
.logout-btn { background: rgba(255,255,255,0.18); border: none; padding: 6px 16px; border-radius: 40px; color: white; cursor: pointer; }
.container { max-width: 1600px; margin: 24px auto; padding: 0 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; background: white; padding: 8px 16px; border-radius: 60px; }
.tab { padding: 8px 22px; border: none; background: transparent; cursor: pointer; border-radius: 40px; font-weight: 500; color: #4a5b6e; }
.tab.active { background: linear-gradient(120deg, #1e6f5c, #289672); color: white; }
.table-container { background: white; border-radius: 24px; overflow-x: auto; box-shadow: 0 8px 20px rgba(0,0,0,0.05); }
.table-header { padding: 16px 24px; border-bottom: 1px solid #eef2f6; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #edf2f7; }
th { background: #f8fafc; font-weight: 600; }
.btn { padding: 6px 14px; border: none; border-radius: 30px; cursor: pointer; font-size: 0.75rem; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.btn-primary { background: #2c7da0; color: white; }
.btn-danger { background: #e53e3e; color: white; }
.btn-success { background: #2c8c5a; color: white; }
.btn-warning { background: #e67e22; color: white; }
.btn-info { background: #4299e1; color: white; }
.btn-sm { padding: 4px 12px; font-size: 0.7rem; }
.status-badge { padding: 4px 12px; border-radius: 30px; font-size: 0.7rem; font-weight: 600; display: inline-block; }
.status-active { background: #e0f2e9; color: #1e6f3f; }
.status-disabled { background: #ffe5e5; color: #b91c1c; }
.status-running { background: #dff9fb; color: #0c7b93; }
.status-stopped { background: #f1f2f6; color: #576574; }
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(3px); justify-content: center; align-items: center; z-index: 1000; }
.modal-content { background: white; border-radius: 28px; padding: 24px; width: 520px; max-width: 90%; max-height: 85vh; overflow-y: auto; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #eef2f6; }
.form-group { margin-bottom: 18px; }
.form-group label { font-weight: 600; display: block; margin-bottom: 6px; font-size: 0.8rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid #cbd5e0; border-radius: 16px; }
code { background: #f1f5f9; padding: 2px 6px; border-radius: 12px; font-size: 0.75rem; }
.batch-bar { background: #f1f5f9; border-radius: 20px; padding: 12px 20px; margin: 12px 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.icon-btn { background: #eef2ff; border: none; padding: 5px 12px; border-radius: 20px; cursor: pointer; font-size: 0.7rem; }
.loading { text-align: center; padding: 40px; color: #999; }
.toast { position: fixed; bottom: 30px; right: 30px; background: #2d3748; color: white; padding: 12px 20px; border-radius: 40px; z-index: 1200; animation: fadeInUp 0.2s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.stats-row { display: flex; gap: 24px; padding: 12px 24px; background: #fafcff; border-bottom: 1px solid #eef2f6; }
.stat-number { font-size: 1.5rem; font-weight: bold; color: #2c7da0; }
.screenshot-img { max-width: 100%; border-radius: 16px; }