* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; background: #f5f5f5; color: #333; line-height: 1.6; } .container { max-width: 1200px; margin: 0 auto; padding: 20px; } header { background: #2c3e50; color: white; padding: 20px; border-radius: 8px; margin-bottom: 20px; } header h1 { margin-bottom: 15px; } .status-bar { display: flex; gap: 20px; flex-wrap: wrap; } .status-indicator { padding: 5px 10px; background: rgba(255, 255, 255, 0.2); border-radius: 4px; font-size: 0.9em; } .status-indicator.connected { background: #27ae60; } .status-indicator.disconnected { background: #e74c3c; } .tabs { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 2px solid #ddd; } .tab-button { padding: 12px 24px; background: transparent; border: none; border-bottom: 3px solid transparent; cursor: pointer; font-size: 16px; color: #666; transition: all 0.3s; } .tab-button:hover { color: #2c3e50; background: #f0f0f0; } .tab-button.active { color: #2c3e50; border-bottom-color: #3498db; font-weight: bold; } .tab-content { display: none; background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .tab-content.active { display: block; } .section { margin-bottom: 30px; } .section h2 { margin-bottom: 15px; color: #2c3e50; border-bottom: 2px solid #ecf0f1; padding-bottom: 10px; } .section h3 { margin-top: 20px; margin-bottom: 10px; color: #34495e; } .form-group { margin-bottom: 15px; } .form-group label { display: block; margin-bottom: 5px; font-weight: 500; color: #555; } .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; font-family: inherit; } .form-group textarea { resize: vertical; font-family: 'Courier New', monospace; } .btn { padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.3s; margin-right: 10px; margin-bottom: 10px; } .btn-primary { background: #3498db; color: white; } .btn-primary:hover { background: #2980b9; } .btn-secondary { background: #95a5a6; color: white; } .btn-secondary:hover { background: #7f8c8d; } .btn-small { padding: 5px 10px; font-size: 12px; } .button-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; } .response-section { margin-top: 20px; padding: 15px; background: #f8f9fa; border-radius: 4px; } .response-section pre { background: #2c3e50; color: #ecf0f1; padding: 15px; border-radius: 4px; overflow-x: auto; font-size: 13px; max-height: 400px; overflow-y: auto; } .quick-actions { margin-top: 30px; padding-top: 20px; border-top: 1px solid #ddd; } .messages-section { margin-top: 30px; } .messages-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .messages-container { background: #2c3e50; color: #ecf0f1; padding: 15px; border-radius: 4px; max-height: 500px; overflow-y: auto; font-family: 'Courier New', monospace; font-size: 12px; } .message-item { padding: 8px; margin-bottom: 8px; background: rgba(255, 255, 255, 0.1); border-radius: 4px; border-left: 3px solid #3498db; } .message-item .timestamp { color: #95a5a6; font-size: 11px; margin-bottom: 4px; } .message-item .topic { color: #3498db; font-weight: bold; margin-bottom: 4px; } .message-item .payload { color: #ecf0f1; word-break: break-all; } @media (max-width: 768px) { .container { padding: 10px; } .tabs { flex-wrap: wrap; } .tab-button { flex: 1; min-width: 100px; } .button-group { flex-direction: column; } .btn { width: 100%; margin-right: 0; } }