* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #0d1117; min-height: 100vh; color: #f0f6fc; line-height: 1.6; display: flex; flex-direction: column; } .main-wrapper { flex: 1; display: flex; flex-direction: column; } .login-container { display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 20px; } .login-form { background: #161b22; padding: 2rem; border-radius: 12px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); width: 100%; max-width: 400px; border: 1px solid #30363d; } .container { max-width: 1200px; margin: 0 auto; padding: 1rem; background: #0d1117; flex: 1; } .header { background: #161b22; color: #f0f6fc; padding: 1.5rem; border-radius: 12px; margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: center; border: 1px solid #30363d; flex-wrap: wrap; gap: 1rem; } .nav { background: #161b22; padding: 1rem; border-radius: 12px; margin-bottom: 1.5rem; border: 1px solid #30363d; overflow-x: auto; white-space: nowrap; } .nav a { color: #7c3aed; text-decoration: none; margin-right: 1rem; padding: 0.75rem 1rem; border-radius: 8px; transition: all 0.2s; display: inline-block; font-weight: 500; } .nav a:hover, .nav a.active { background: #7c3aed; color: white; } h1 { color: #f0f6fc; margin-bottom: 1.5rem; text-align: center; font-size: clamp(1.5rem, 4vw, 2rem); } .form-group { margin-bottom: 1.5rem; } label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: #f0f6fc; font-size: 0.9rem; } input, select, textarea { width: 100%; padding: 0.875rem; border: 1px solid #30363d; border-radius: 8px; font-size: 1rem; transition: all 0.2s; background: #0d1117; color: #f0f6fc; } input:focus, select:focus, textarea:focus { outline: none; border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1); } button { background: #7c3aed; color: white; padding: 0.875rem 1.5rem; border: none; border-radius: 8px; font-size: 1rem; cursor: pointer; transition: all 0.2s; width: 100%; font-weight: 600; } button:hover { background: #8b5cf6; transform: translateY(-1px); } .btn-small { padding: 0.5rem 0.875rem; font-size: 0.875rem; width: auto; margin: 0.25rem; min-width: 4rem; } .error { background: #1a1a1a; color: #f85149; padding: 1rem; border-radius: 8px; margin-bottom: 1.5rem; border-left: 4px solid #f85149; border: 1px solid #30363d; } .success { background: #1a1a1a; color: #56d364; padding: 1rem; border-radius: 8px; margin-bottom: 1.5rem; border-left: 4px solid #56d364; border: 1px solid #30363d; } .info { background: #161b22; color: #79c0ff; padding: 1rem; border-radius: 8px; margin-bottom: 1.5rem; border-left: 4px solid #79c0ff; border: 1px solid #30363d; } .service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; } .service-card { background: #161b22; border: 1px solid #30363d; border-radius: 12px; padding: 1.5rem; transition: all 0.2s; } .service-card:hover { border-color: #7c3aed; transform: translateY(-2px); } .service-status { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; text-transform: uppercase; } .status-running { background: #e6ffe6; color: #00b894; } .status-stopped { background: #ffe6e6; color: #d63031; } .config-section { background: #161b22; padding: 1.5rem; border-radius: 12px; margin-bottom: 1.5rem; border: 1px solid #30363d; } .log-container { background: #0d1117; color: #56d364; padding: 1.5rem; border-radius: 12px; font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace; font-size: 0.875rem; max-height: 400px; overflow-y: auto; white-space: pre-wrap; border: 1px solid #30363d; } .hidden-service { background: #161b22; border: 1px solid #30363d; border-radius: 12px; padding: 1.5rem; margin-bottom: 1rem; } .onion-address { font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace; background: #0d1117; color: #79c0ff; padding: 1rem; border-radius: 8px; word-break: break-all; margin: 1rem 0; border: 1px solid #30363d; font-size: 0.875rem; } .auth-info { text-align: center; margin-top: 20px; color: #666; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; } .stat-card { background: #161b22; padding: 1.5rem; border-radius: 12px; text-align: center; border: 1px solid #30363d; transition: all 0.2s; } .stat-card:hover { border-color: #7c3aed; transform: translateY(-2px); } .stat-value { font-size: 1.5rem; font-weight: bold; color: #7c3aed; margin-bottom: 0.5rem; } .tabs { display: flex; margin-bottom: 20px; border-bottom: 2px solid #e0e0e0; } .tab { padding: 12px 24px; cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.3s; } .tab.active { border-bottom-color: #667eea; color: #667eea; } .tab-content { display: none; } .tab-content.active { display: block; } .footer { background: #161b22; border-top: 1px solid #30363d; padding: 1.5rem; text-align: center; margin-top: auto; border-radius: 12px 12px 0 0; } .footer-content { max-width: 1200px; margin: 0 auto; } .footer a { color: #7c3aed; text-decoration: none; } .footer a:hover { text-decoration: underline; } .logout-btn { background: #f85149; color: white; padding: 0.5rem 1rem; border-radius: 6px; text-decoration: none; font-size: 0.875rem; margin-left: 1rem; transition: all 0.2s; } .logout-btn:hover { background: #da3633; } .header-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; } /* Mobile First Design */ @media (max-width: 768px) { .container { padding: 0.5rem; } .header { padding: 1rem; text-align: center; } .header-actions { justify-content: center; width: 100%; margin-top: 0.5rem; } .nav { padding: 0.5rem; text-align: center; } .nav a { display: inline-block; margin: 0.25rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; } .service-grid { grid-template-columns: 1fr; gap: 0.75rem; } .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; } .service-card, .stat-card, .config-section { padding: 1rem; } .btn-small { padding: 0.5rem; font-size: 0.8rem; min-width: 3.5rem; } .onion-address { font-size: 0.8rem; word-break: break-all; } h1 { font-size: 1.5rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.1rem; } } @media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } .header { padding: 0.75rem; } .nav a { font-size: 0.8rem; padding: 0.5rem; } }