* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #0f172a; color: #e2e8f0; min-height: 100vh; } /* Login */ .login-screen { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: #0f172a; } .login-box { background: #1e293b; padding: 40px; border-radius: 12px; text-align: center; min-width: 320px; box-shadow: 0 25px 50px rgba(0,0,0,.5); } .login-box h1 { margin-bottom: 24px; font-size: 1.5rem; } .login-box input { width: 100%; padding: 10px 14px; margin-bottom: 12px; background: #0f172a; border: 1px solid #334155; border-radius: 6px; color: #e2e8f0; font-size: 14px; } .login-box button { width: 100%; padding: 10px; background: #3b82f6; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 600; } .login-box button:hover { background: #2563eb; } .error { color: #ef4444; margin-top: 8px; font-size: 13px; } /* Nav */ nav { display: flex; align-items: center; gap: 16px; padding: 0 24px; height: 56px; background: #1e293b; border-bottom: 1px solid #334155; } .nav-brand { font-weight: 700; font-size: 1.1rem; margin-right: 24px; } .nav-tabs { display: flex; gap: 4px; flex: 1; } .tab { padding: 8px 16px; background: transparent; color: #94a3b8; border: none; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 500; } .tab:hover { background: #334155; color: #e2e8f0; } .tab.active { background: #3b82f6; color: #fff; } .btn-logout { padding: 6px 12px; background: transparent; color: #94a3b8; border: 1px solid #475569; border-radius: 6px; cursor: pointer; font-size: 12px; } .btn-logout:hover { background: #ef4444; color: #fff; border-color: #ef4444; } /* Tab content */ .tab-content { display: none; padding: 24px; } .tab-content.active { display: block; } /* Stats */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; } .stat-card { background: #1e293b; padding: 24px; border-radius: 10px; border-left: 4px solid #3b82f6; } .stat-card.stat-online { border-left-color: #22c55e; } .stat-card.stat-offline { border-left-color: #ef4444; } .stat-card.stat-users { border-left-color: #a855f7; } .stat-number { font-size: 2rem; font-weight: 700; } .stat-label { color: #94a3b8; font-size: 13px; margin-top: 4px; } /* Card */ .card { background: #1e293b; border-radius: 10px; padding: 20px; overflow-x: auto; } /* Table */ table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 10px 12px; font-size: 13px; border-bottom: 1px solid #334155; } th { color: #94a3b8; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; } tr:hover { background: #263248; } /* Toolbar */ .toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; } .toolbar h2 { font-size: 1.2rem; } .toolbar div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .toolbar input, .toolbar select { padding: 6px 10px; background: #0f172a; border: 1px solid #334155; border-radius: 6px; color: #e2e8f0; font-size: 13px; } .toolbar label { font-size: 13px; color: #94a3b8; display: flex; align-items: center; gap: 4px; } /* Buttons */ .btn { padding: 6px 14px; border: 1px solid #475569; background: transparent; color: #e2e8f0; border-radius: 6px; cursor: pointer; font-size: 13px; } .btn:hover { background: #334155; } .btn-primary { background: #3b82f6; border-color: #3b82f6; color: #fff; } .btn-primary:hover { background: #2563eb; } .btn-danger { background: #ef4444; border-color: #ef4444; color: #fff; } .btn-danger:hover { background: #dc2626; } .btn-sm { padding: 4px 10px; font-size: 12px; } /* Status badge */ .badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; } .badge-online { background: #166534; color: #4ade80; } .badge-offline { background: #7f1d1d; color: #fca5a5; } .badge-expired { background: #78350f; color: #fcd34d; } /* Toast */ .toast { position: fixed; bottom: 24px; right: 24px; background: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 12px 20px; font-size: 13px; opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 1000; max-width: 400px; } .toast.show { opacity: 1; pointer-events: auto; } .toast.error { border-color: #ef4444; } .toast.success { border-color: #22c55e; } /* Key display */ .key-text { font-family: monospace; font-size: 11px; background: #0f172a; padding: 2px 6px; border-radius: 4px; word-break: break-all; cursor: pointer; } .key-text:hover { background: #334155; }