.App { min-height: 100vh; } .navbar { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 1rem 2rem; color: white; box-shadow: 0 2px 8px rgba(0,0,0,0.1); } .navbar h1 { margin: 0; font-size: 1.5rem; } .container { max-width: 1400px; margin: 0 auto; padding: 2rem; } .dashboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; } .resource-card { background: white; border-radius: 10px; padding: 1rem 1.1rem; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; border: 1px solid #f1f1f3; } .resource-card.compact { display: flex; flex-direction: column; gap: 0.4rem; } .resource-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); } .resource-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; } .resource-name { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.2rem 0; } .resource-url { color: #666; font-size: 0.8rem; word-break: break-all; } .status-badge { padding: 0.25rem 0.75rem; border-radius: 12px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; } .status-up { background: #d4edda; color: #155724; } .status-down { background: #f8d7da; color: #721c24; } .status-unknown { background: #e2e3e5; color: #383d41; } .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; } .stat { text-align: center; } .stat-value { font-size: 1.2rem; font-weight: 700; color: #333; margin: 0; } .stat-value.small { font-size: 1.05rem; } .stat-label { font-size: 0.75rem; color: #666; text-transform: uppercase; margin: 0; } .resource-meta { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 0.75rem; } .sparkline { width: 100%; height: 52px; } .last-check { margin: 0; font-size: 0.75rem; color: #999; } .btn { padding: 0.75rem 1.5rem; border: none; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s; } .btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; } .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3); } .btn-danger { background: #dc3545; color: white; } .btn-danger:hover { background: #c82333; } .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; } .modal { background: white; border-radius: 12px; padding: 2rem; max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; } .modal h2 { margin-top: 0; } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: #333; } .form-group input, .form-group select { width: 100%; padding: 0.75rem; border: 1px solid #ddd; border-radius: 6px; font-size: 1rem; } .form-group input:focus, .form-group select:focus { outline: none; border-color: #667eea; } .form-actions { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 2rem; } .detail-section { background: white; border-radius: 8px; padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.1); } .detail-section h2 { margin-top: 0; color: #333; } .chart-container { margin-top: 1rem; height: 300px; } .incident-badge { display: inline-block; padding: 0.5rem 1rem; background: #fff3cd; color: #856404; border-radius: 6px; font-weight: 600; margin-bottom: 1rem; } .back-button { display: inline-block; margin-bottom: 1rem; padding: 0.5rem 1rem; background: #6c757d; color: white; text-decoration: none; border-radius: 6px; transition: background 0.2s; } .back-button:hover { background: #5a6268; } .empty-state { text-align: center; padding: 3rem; color: #666; } .empty-state h3 { color: #333; margin-bottom: 0.5rem; }