:root { --bg-primary: #0a0e17; --bg-card: #111827; --bg-card-hover: #1a2332; --bg-input: #1e293b; --border: #1e3a5f; --border-active: #3b82f6; --text-primary: #e2e8f0; --text-secondary: #94a3b8; --text-muted: #64748b; --accent: #3b82f6; --accent-glow: rgba(59, 130, 246, 0.3); --success: #22c55e; --success-bg: rgba(34, 197, 94, 0.1); --warning: #f59e0b; --warning-bg: rgba(245, 158, 11, 0.1); --danger: #ef4444; --danger-bg: rgba(239, 68, 68, 0.1); --radius: 12px; --radius-sm: 8px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; background: var(--bg-primary); color: var(--text-primary); min-height: 100vh; overflow-x: hidden; } /* Animated background grid */ body::before { content: ''; position: fixed; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(59,130,246,0.08) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(139,92,246,0.06) 0%, transparent 50%), linear-gradient(180deg, rgba(59,130,246,0.02) 0%, transparent 40%); pointer-events: none; z-index: 0; } .app { position: relative; z-index: 1; max-width: 540px; margin: 0 auto; padding: 16px; padding-bottom: 80px; } /* Header */ .header { text-align: center; padding: 24px 0 20px; } .header-icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #3b82f6, #8b5cf6); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; box-shadow: 0 8px 32px rgba(59,130,246,0.3); } .header-icon svg { width: 28px; height: 28px; fill: white; } .header h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; background: linear-gradient(135deg, #e2e8f0, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .header p { font-size: 13px; color: var(--text-muted); margin-top: 4px; } /* Status bar */ .status-bar { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; padding: 2px; } .status-bar::-webkit-scrollbar { display: none; } .status-chip { flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; background: var(--bg-card); border: 1px solid var(--border); } .status-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 6px var(--success); } .status-chip .dot.warn { background: var(--warning); box-shadow: 0 0 6px var(--warning); } .status-chip .dot.off { background: var(--text-muted); box-shadow: none; } /* Section */ .section { margin-bottom: 16px; } .section-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); padding: 0 4px; margin-bottom: 8px; } /* Cards */ .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; transition: border-color 0.2s; } .card:hover { border-color: rgba(59,130,246,0.3); } .card-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; } .card-row + .card-row { border-top: 1px solid var(--border); } .card-row-info { flex: 1; min-width: 0; } .card-row-label { font-size: 14px; font-weight: 500; color: var(--text-primary); } .card-row-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; } /* Toggle switch */ .toggle { position: relative; width: 44px; height: 26px; flex-shrink: 0; margin-left: 12px; } .toggle input { opacity: 0; width: 0; height: 0; } .toggle-slider { position: absolute; inset: 0; background: var(--bg-input); border-radius: 13px; cursor: pointer; transition: all 0.3s; border: 1px solid var(--border); } .toggle-slider::before { content: ''; position: absolute; width: 20px; height: 20px; left: 2px; bottom: 2px; background: var(--text-muted); border-radius: 50%; transition: all 0.3s; } .toggle input:checked + .toggle-slider { background: var(--accent); border-color: var(--accent); } .toggle input:checked + .toggle-slider::before { transform: translateX(18px); background: white; } /* WiFi mode selector */ .mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 16px 16px; } .mode-btn { padding: 10px 8px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-input); color: var(--text-secondary); font-size: 12px; font-weight: 500; text-align: center; cursor: pointer; transition: all 0.2s; } .mode-btn:hover { border-color: var(--accent); color: var(--text-primary); } .mode-btn.active { background: rgba(59,130,246,0.15); border-color: var(--accent); color: var(--accent); box-shadow: 0 0 12px rgba(59,130,246,0.2); } .mode-btn .mode-icon { font-size: 18px; display: block; margin-bottom: 4px; } /* Info grid */ .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); } .info-cell { background: var(--bg-card); padding: 12px 14px; } .info-cell:first-child { border-radius: var(--radius) 0 0 0; } .info-cell:nth-child(2) { border-radius: 0 var(--radius) 0 0; } .info-cell:nth-last-child(2) { border-radius: 0 0 0 var(--radius); } .info-cell:last-child { border-radius: 0 0 var(--radius) 0; } .info-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; } .info-value { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-top: 4px; word-break: break-all; } /* Flags table */ .flags-table { width: 100%; font-size: 12px; } .flags-table tr + tr td { border-top: 1px solid var(--border); } .flags-table td { padding: 10px 14px; vertical-align: middle; } .flags-table .prop-name { color: var(--accent); font-family: 'SF Mono', 'Fira Code', monospace; font-size: 11px; white-space: nowrap; } .flags-table .prop-value { color: var(--text-secondary); font-family: 'SF Mono', 'Fira Code', monospace; font-size: 11px; text-align: right; word-break: break-all; } /* Action buttons */ .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; } .btn { padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-card); color: var(--text-primary); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s; text-align: center; } .btn:hover { border-color: var(--accent); background: var(--bg-card-hover); } .btn-danger { border-color: rgba(239,68,68,0.3); color: var(--danger); } .btn-danger:hover { background: var(--danger-bg); border-color: var(--danger); } .btn-primary { background: var(--accent); border-color: var(--accent); color: white; } .btn-primary:hover { background: #2563eb; box-shadow: 0 4px 16px rgba(59,130,246,0.3); } /* Toast notifications */ .toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(80px); padding: 12px 20px; border-radius: var(--radius-sm); background: var(--bg-card); border: 1px solid var(--border); color: var(--text-primary); font-size: 13px; font-weight: 500; box-shadow: 0 8px 32px rgba(0,0,0,0.4); opacity: 0; transition: all 0.3s ease; z-index: 100; white-space: nowrap; } .toast.show { transform: translateX(-50%) translateY(0); opacity: 1; } .toast.success { border-color: var(--success); } .toast.error { border-color: var(--danger); } /* Loading shimmer */ @keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } } .loading { background: linear-gradient(90deg, var(--bg-input) 25%, var(--bg-card-hover) 50%, var(--bg-input) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 4px; height: 14px; width: 60px; } /* Tab bar */ .tab-bar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(10,14,23,0.95); backdrop-filter: blur(20px); border-top: 1px solid var(--border); display: flex; justify-content: center; gap: 4px; padding: 8px 16px; padding-bottom: max(8px, env(safe-area-inset-bottom)); z-index: 50; } .tab-item { flex: 1; max-width: 100px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 8px; border-radius: var(--radius-sm); color: var(--text-muted); font-size: 10px; font-weight: 500; cursor: pointer; transition: all 0.2s; border: none; background: none; } .tab-item:hover { color: var(--text-secondary); } .tab-item.active { color: var(--accent); } .tab-item svg { width: 20px; height: 20px; fill: currentColor; } /* Page visibility */ .page { display: none; } .page.active { display: block; } /* AT Terminal */ .terminal-output { background: #030712; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; max-height: 320px; overflow-y: auto; font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace; font-size: 12px; line-height: 1.6; } .terminal-input { flex: 1; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; color: var(--text-primary); font-family: 'SF Mono', 'Fira Code', monospace; font-size: 13px; outline: none; transition: border-color 0.2s; } .terminal-input:focus { border-color: var(--accent); } .term-cmd { color: var(--accent); padding: 2px 0; } .term-prompt { color: var(--success); margin-right: 4px; } .term-time { color: var(--text-muted); font-size: 10px; margin-left: 8px; } .term-resp { color: var(--text-secondary); white-space: pre-wrap; word-break: break-all; padding: 2px 0 6px; border-bottom: 1px solid rgba(255,255,255,0.04); margin-bottom: 4px; } .term-err { color: var(--danger); padding: 2px 0; } /* File browser */ .file-content { background: #030712; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 11px; line-height: 1.5; color: var(--text-secondary); white-space: pre-wrap; word-break: break-all; max-height: 400px; overflow-y: auto; } .breadcrumb { padding: 8px 0 0; font-size: 12px; color: var(--text-muted); } .crumb { cursor: pointer; color: var(--accent); transition: color 0.2s; } .crumb:hover { color: var(--text-primary); } /* Responsive */ @media (max-width: 380px) { .mode-grid { grid-template-columns: repeat(2, 1fr); } .info-grid { grid-template-columns: 1fr; } .actions { grid-template-columns: 1fr; } }