:root { --bg: #1a1a2e; --surface: #16213e; --text: #eaeaea; --muted: #94a3b8; --up: #22c55e; --down: #ef4444; --pending: #eab308; --accent: #3b82f6; } * { box-sizing: border-box; } body { font-family: system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); margin: 0; padding: 1rem 2rem; line-height: 1.5; display: flex; flex-direction: column; align-items: center; } header { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--surface); padding-bottom: 0.5rem; width: 100%; max-width: 900px; } header h1 { margin: 0; font-size: 1.5rem; } header h1 a { color: var(--text); text-decoration: none; } header h1 a:hover { color: var(--accent); } .version { color: var(--muted); font-size: 0.875rem; } main { max-width: 900px; width: 100%; } h2 { margin-top: 0; font-size: 1.25rem; } .add-form { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; padding: 1rem; background: var(--surface); border-radius: 6px; } .add-form input, .add-form select { padding: 0.5rem 0.75rem; border: 1px solid var(--muted); border-radius: 4px; background: var(--bg); color: var(--text); } .add-form input[type="text"] { min-width: 140px; } .add-form input[type="number"] { width: 80px; } .add-form button { padding: 0.5rem 1rem; background: var(--accent); color: white; border: none; border-radius: 4px; cursor: pointer; } .add-form button:hover { opacity: 0.9; } .date-range-form { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1rem; padding: 0.75rem; background: var(--surface); border-radius: 6px; } .date-range-form label { font-size: 0.875rem; color: var(--muted); } .date-range-form input { padding: 0.4rem 0.6rem; border: 1px solid var(--muted); border-radius: 4px; background: var(--bg); color: var(--text); } .date-range-form button { padding: 0.4rem 0.75rem; background: var(--accent); color: white; border: none; border-radius: 4px; cursor: pointer; } .date-range-form a { margin-left: 0.5rem; } .period-section { margin-bottom: 1.5rem; } .period-section h3 { margin: 0 0 0.5rem 0; font-size: 1rem; } .preset-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; } .preset-btn { display: inline-block; padding: 0.4rem 0.75rem; background: var(--surface); color: var(--text); border: 1px solid var(--muted); border-radius: 4px; text-decoration: none; font-size: 0.875rem; } .preset-btn:hover { border-color: var(--accent); color: var(--accent); } .preset-btn.preset-active { background: var(--accent); border-color: var(--accent); color: white; } .period-label { margin: 0 0 0.5rem 0; font-size: 0.875rem; color: var(--muted); } .chart-container { background: var(--surface); border-radius: 6px; padding: 1rem; margin-bottom: 1.5rem; } .chart-container h3 { margin: 0 0 1rem 0; font-size: 1rem; } .chart-wrapper { height: 200px; position: relative; overflow: hidden; } #response-chart { max-height: 200px; } .chart-empty { color: var(--muted); text-align: center; padding: 2rem; margin: 0; } .checks-filter-form { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1rem; } .checks-filter-form select, .checks-filter-form input[type="text"] { padding: 0.4rem 0.6rem; border: 1px solid var(--muted); border-radius: 4px; background: var(--bg); color: var(--text); } .checks-filter-form input[type="text"] { min-width: 180px; } .checks-filter-form button { padding: 0.4rem 0.75rem; background: var(--accent); color: white; border: none; border-radius: 4px; cursor: pointer; } .error-cell { font-size: 0.875rem; color: var(--muted); max-width: 300px; overflow: hidden; text-overflow: ellipsis; } .btn-delete { padding: 0.25rem 0.5rem; font-size: 0.8rem; background: transparent; color: var(--muted); border: 1px solid var(--muted); border-radius: 4px; cursor: pointer; } .btn-delete:hover { color: var(--down); border-color: var(--down); } .services-table, .checks-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 6px; overflow: hidden; } .services-table th, .services-table td, .checks-table th, .checks-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--bg); } .services-table th, .checks-table th { background: rgba(0, 0, 0, 0.2); font-weight: 600; } .services-table tbody tr:hover, .checks-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); } code { font-size: 0.9em; background: rgba(0, 0, 0, 0.3); padding: 0.2em 0.4em; border-radius: 4px; } .badge { display: inline-block; padding: 0.2em 0.5em; border-radius: 4px; font-size: 0.8rem; font-weight: 500; } .badge-up { background: rgba(34, 197, 94, 0.2); color: var(--up); } .badge-down { background: rgba(239, 68, 68, 0.2); color: var(--down); } .badge-pending { background: rgba(234, 179, 8, 0.2); color: var(--pending); } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; } .stat-card { background: var(--surface); padding: 1rem; border-radius: 6px; text-align: center; min-width: 0; overflow: hidden; } .stat-label { display: block; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; } .stat-value { font-size: 1.25rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }