:root { --ink: #0F1218; --cyan: #00E5FF; --cyan-dark: #00B8CC; --cyan-50: #E8FCFF; --white: #FFFFFF; --gray-500: #5B6573; --gray-100: #F2F4F7; --gray-200: #E4E7EC; --red: #DC2626; --green: #16A34A; --yellow: #D97706; --blue: #2563EB; } * { box-sizing: border-box; margin: 0; padding: 0; } body { font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif; color: var(--ink); background: var(--gray-100); } header { background: var(--ink); color: var(--white); padding: 20px 24px; border-bottom: 3px solid var(--cyan); } .header-content { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; } .logo { display: flex; align-items: center; gap: 16px; } .logo-icon { font-size: 42px; } .logo h1 { font-size: 28px; font-weight: 800; line-height: 1.1; } .subtitle { color: #9AA3B2; font-size: 14px; margin-top: 4px; } .header-stats { display: flex; gap: 16px; } .stat-card { background: rgba(255,255,255,0.1); padding: 12px 20px; border-radius: 8px; text-align: center; min-width: 120px; } .stat-value { font-size: 24px; font-weight: 700; color: var(--cyan); } .stat-label { font-size: 12px; color: #9AA3B2; margin-top: 4px; } .tabs { background: var(--white); padding: 0 24px; border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 10; } .tab-btn { background: none; border: none; padding: 16px 20px; font-size: 15px; font-weight: 600; color: var(--gray-500); cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.2s; } .tab-btn:hover { color: var(--ink); background: var(--gray-100); } .tab-btn.active { color: var(--cyan-dark); border-bottom-color: var(--cyan); } main { max-width: 1400px; margin: 0 auto; padding: 24px; } .tab-content { display: none; } .tab-content.active { display: block; } .dashboard-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; } .card { background: var(--white); border-radius: 12px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .card h2 { font-size: 20px; font-weight: 700; margin-bottom: 16px; } .map-container { height: 400px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; } .ams-point { position: absolute; width: 16px; height: 16px; border-radius: 50%; cursor: pointer; border: 3px solid white; box-shadow: 0 2px 8px rgba(0,0,0,0.3); } .ams-point.online { background: var(--green); } .ams-point.offline { background: var(--red); } .alerts-list { max-height: 400px; overflow-y: auto; } .alert-item { padding: 12px; border-left: 4px solid var(--red); background: var(--gray-100); margin-bottom: 12px; border-radius: 4px; } .alert-item.confirmed { border-left-color: var(--yellow); } .alert-item.closed { border-left-color: var(--green); opacity: 0.6; } .alert-header { display: flex; justify-content: space-between; margin-bottom: 8px; } .alert-title { font-weight: 600; } .alert-time { color: var(--gray-500); font-size: 13px; } .alert-details { font-size: 14px; color: var(--gray-500); } .toolbar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; } .filter-group { display: flex; align-items: center; gap: 8px; } .filter-group label { font-weight: 600; } select, input[type="text"] { padding: 10px 14px; border: 1px solid var(--gray-200); border-radius: 6px; font-size: 14px; } button { padding: 10px 20px; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; transition: all 0.2s; } .btn-primary { background: var(--cyan); color: var(--ink); } .btn-primary:hover { background: var(--cyan-dark); } .btn-secondary { background: var(--gray-200); color: var(--ink); } .btn-secondary:hover { background: var(--gray-500); color: white; } .table-container { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } table { width: 100%; border-collapse: collapse; } th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--gray-200); } th { background: var(--gray-100); font-weight: 600; font-size: 13px; text-transform: uppercase; color: var(--gray-500); } tr:hover { background: var(--cyan-50); } .status-badge { display: inline-block; padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; text-transform: uppercase; } .status-new { background: #FEE2E2; color: var(--red); } .status-confirmed { background: #FEF3C7; color: var(--yellow); } .status-closed { background: #D1FAE5; color: var(--green); } .status-online { background: #D1FAE5; color: var(--green); } .status-offline { background: #FEE2E2; color: var(--red); } .form-group { margin-bottom: 16px; } .form-group label { display: block; font-weight: 600; margin-bottom: 8px; } .form-group input, .form-group select { width: 100%; padding: 10px; border: 1px solid var(--gray-200); border-radius: 6px; } .coords-row { display: flex; gap: 12px; } .coords-row input { flex: 1; } .modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 100; align-items: center; justify-content: center; } .modal.active { display: flex; } .modal-content { background: var(--white); border-radius: 12px; padding: 32px; max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; } .modal-content h2 { margin-bottom: 20px; } .modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; } .simulate-form { max-width: 500px; } .result-box { margin-top: 20px; padding: 16px; border-radius: 8px; display: none; } .result-box.success { background: #D1FAE5; border: 1px solid var(--green); display: block; } .result-box.error { background: #FEE2E2; border: 1px solid var(--red); display: block; } .stats-container { padding: 20px 0; } .stat-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--gray-200); } .stat-row:last-child { border-bottom: none; } .stat-row .label { color: var(--gray-500); } .stat-row .value { font-weight: 700; font-size: 18px; } @media (max-width: 1024px) { .dashboard-grid { grid-template-columns: 1fr; } } @media (max-width: 768px) { .header-content { flex-direction: column; text-align: center; } .logo { justify-content: center; } .header-stats { width: 100%; justify-content: center; } .tabs { overflow-x: auto; } main { padding: 16px; } }