/* NHC Uptime — Panel CSS */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', sans-serif; background: #060a14; color: #f8fafc; -webkit-font-smoothing: antialiased; }
a { color: #22c55e; text-decoration: none; }
a:hover { opacity: 0.85; }

/* Layout */
.panel-wrapper { display: flex; min-height: 100vh; }
.panel-content { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.panel-main { padding: 24px 32px; flex: 1; }

/* Sidebar */
.panel-sidebar { width: 260px; background: #0a0e1a; border-right: 1px solid rgba(255,255,255,0.06); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar-brand { padding: 20px 20px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.sidebar-brand span:first-child { font-size: 20px; font-weight: 900; color: #f8fafc; }
.sidebar-brand span:last-child { font-size: 20px; font-weight: 900; color: #22c55e; }
.sidebar-nav { padding: 12px 0; flex: 1; }
.sidebar-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: #64748b; font-size: 13px; font-weight: 500; transition: all 0.2s; }
.sidebar-nav a:hover, .sidebar-nav a.active { color: #f8fafc; background: rgba(34,197,94,0.06); }
.sidebar-nav a.active { border-right: 2px solid #22c55e; }
.sidebar-section { padding: 16px 20px 6px; font-size: 10px; font-weight: 700; color: #334155; text-transform: uppercase; letter-spacing: 1px; }
.sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 11px; color: #334155; }

/* Header */
.panel-header { padding: 16px 32px; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; background: rgba(10,14,26,0.8); backdrop-filter: blur(10px); }
.panel-header-title { font-size: 18px; font-weight: 800; color: #f8fafc; margin: 0; }
.panel-header-user { display: flex; align-items: center; gap: 10px; }
.panel-header-user span { font-size: 13px; color: #94a3b8; }

/* Cards */
.panel-card { background: rgba(15,23,42,0.6); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 24px; }
.panel-card-title { font-size: 13px; font-weight: 600; color: #64748b; margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.panel-card-value { font-size: 32px; font-weight: 900; font-family: 'JetBrains Mono', monospace; margin: 0; }

/* Stat grid */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }

/* Monitor list */
.monitor-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: rgba(15,23,42,0.4); border: 1px solid rgba(255,255,255,0.04); border-radius: 10px; margin-bottom: 8px; transition: border-color 0.2s; }
.monitor-row:hover { border-color: rgba(34,197,94,0.15); }
.monitor-name { font-size: 14px; font-weight: 600; color: #f8fafc; }
.monitor-url { font-size: 11px; color: #475569; font-family: 'JetBrains Mono', monospace; }
.monitor-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.monitor-status .dot { width: 8px; height: 8px; border-radius: 50%; }
.status-up .dot { background: #22c55e; }
.status-up { color: #22c55e; }
.status-down .dot { background: #ec3d3d; }
.status-down { color: #ec3d3d; }
.status-paused .dot { background: #f59e0b; }
.status-paused { color: #f59e0b; }
.status-pending .dot { background: #64748b; }
.status-pending { color: #64748b; }

/* Buttons */
.btn-green { background: #22c55e; color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.btn-green:hover { background: #16a34a; color: #fff; }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.12); color: #94a3b8; padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.btn-outline:hover { border-color: rgba(34,197,94,0.3); color: #f8fafc; }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-danger { background: rgba(236,61,61,0.1); color: #f87171; border: 1px solid rgba(236,61,61,0.2); }
.btn-danger:hover { background: #ec3d3d; color: #fff; }

/* Forms */
.form-label { display: block; color: #94a3b8; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.form-input { width: 100%; padding: 10px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; color: #f8fafc; font-size: 14px; outline: none; font-family: 'Inter', sans-serif; }
.form-input:focus { border-color: rgba(34,197,94,0.4); }
.form-select { width: 100%; padding: 10px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; color: #94a3b8; font-size: 14px; outline: none; }

/* Auth pages */
.auth-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #060a14; }
.auth-card { width: 100%; max-width: 420px; padding: 40px; background: rgba(15,23,42,0.6); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; }
.auth-title { font-size: 24px; font-weight: 900; color: #f8fafc; margin: 0 0 6px; text-align: center; }
.auth-subtitle { font-size: 14px; color: #64748b; margin: 0 0 30px; text-align: center; }
.auth-error { background: rgba(236,61,61,0.1); border: 1px solid rgba(236,61,61,0.2); color: #f87171; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: 8px; font-size: 13px; }
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); color: #4ade80; }
.alert-danger { background: rgba(236,61,61,0.1); border: 1px solid rgba(236,61,61,0.2); color: #f87171; }

/* Badge */
.badge-plan { padding: 3px 10px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.badge-free { background: rgba(100,116,139,0.1); color: #94a3b8; }
.badge-solo { background: rgba(59,130,246,0.1); color: #60a5fa; }
.badge-team { background: rgba(139,92,246,0.1); color: #a78bfa; }
.badge-enterprise { background: rgba(245,158,11,0.1); color: #fbbf24; }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state-title { font-size: 18px; font-weight: 700; color: #f8fafc; margin: 0 0 8px; }
.empty-state-text { font-size: 14px; color: #64748b; margin: 0 0 24px; }
