body { font-family: Arial, sans-serif; max-width: 900px; margin: 0 auto; padding: 20px; background-color: #f5f5f5; } h1 { color: #333; text-align: center; margin-bottom: 30px; } /* Common form styles */ .form-group { margin-bottom: 15px; } label { display: block; margin-bottom: 5px; font-weight: bold; } select, input { padding: 8px; width: 100%; max-width: 300px; border: 1px solid #ddd; border-radius: 4px; } button { padding: 12px 20px; background-color: #4CAF50; color: white; border: none; border-radius: 4px; cursor: pointer; margin-right: 10px; margin-bottom: 10px; font-size: 14px; transition: background-color 0.3s; } button:hover { background-color: #45a049; } button:disabled { background-color: #cccccc; cursor: not-allowed; } .output { margin-top: 20px; padding: 15px; border: 1px solid #ddd; border-radius: 4px; background-color: #fff; white-space: pre-wrap; max-height: 300px; overflow-y: auto; font-family: monospace; font-size: 12px; } .hidden { display: none; } img { max-width: 100%; margin-top: 10px; border: 1px solid #ddd; border-radius: 4px; } /* Tab styles */ .tabs-container { background-color: white; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); overflow: hidden; } .tab-buttons { display: flex; background-color: #f8f9fa; border-bottom: 1px solid #ddd; } .tab-button { flex: 1; padding: 15px 20px; background-color: transparent; border: none; cursor: pointer; font-size: 16px; font-weight: 500; color: #666; transition: all 0.3s; border-bottom: 3px solid transparent; } .tab-button:hover { background-color: #e9ecef; color: #333; } .tab-button.active { background-color: white; color: #4CAF50; border-bottom-color: #4CAF50; } .tab-content { display: none; padding: 30px; background-color: white; } .tab-content.active { display: block; } .tab-content h3 { color: #333; margin-top: 0; margin-bottom: 10px; } .tab-content p { color: #666; margin-bottom: 20px; } /* Tab description styles */ .tab-description { margin-top: 20px; color: #666; font-size: 14px; } .tab-description ul { margin-top: 10px; } .tab-description li { margin-bottom: 5px; } .tab-description code { background-color: #f1f3f4; padding: 2px 4px; border-radius: 3px; font-size: 13px; } /* Status styles */ .status { font-weight: bold; margin-top: 15px; padding: 10px; border-radius: 4px; background-color: #f8f9fa; } .error { color: #d32f2f; background-color: #ffebee; } .success { color: #43a047; background-color: #e8f5e8; } .working { color: #1976d2; background-color: #e3f2fd; } .loader { border: 3px solid #f3f3f3; border-top: 3px solid #3498db; border-radius: 50%; width: 16px; height: 16px; animation: spin 1s linear infinite; display: inline-block; vertical-align: middle; margin-right: 8px; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Settings panel */ .settings-panel { background-color: #fff; padding: 20px; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .settings-row { display: flex; gap: 20px; align-items: end; flex-wrap: wrap; } .settings-row .form-group { flex: 1; min-width: 200px; } /* Environment check styles */ #environment-check { margin-top: 20px; padding: 15px; background-color: #fff3cd; border: 1px solid #ffeeba; border-radius: 4px; } .env-success { color: #155724; } .env-error { color: #721c24; } .debug-section { margin-top: 30px; border-top: 1px solid #ddd; padding-top: 20px; text-align: center; } .debug-section button { background-color: #6c757d; margin: 0 5px; } .debug-section button:hover { background-color: #5a6268; } /* Image container styles */ #image-container { margin-top: 20px; text-align: center; } #image-container h4 { color: #333; margin-bottom: 15px; } /* Progress indicator */ .progress-indicator { display: flex; justify-content: center; align-items: center; margin: 20px 0; } .step-indicator { width: 30px; height: 30px; border-radius: 50%; background-color: #ddd; color: white; display: flex; align-items: center; justify-content: center; margin: 0 10px; font-weight: bold; transition: background-color 0.3s; } .step-indicator.completed { background-color: #4CAF50; } .step-indicator.active { background-color: #2196F3; } .step-connector { width: 50px; height: 2px; background-color: #ddd; transition: background-color 0.3s; } .step-connector.completed { background-color: #4CAF50; } /* Responsive design */ @media (max-width: 768px) { body { padding: 10px; } .tab-buttons { flex-direction: column; } .tab-button { text-align: center; border-bottom: 1px solid #ddd; border-right: none; } .tab-button.active { border-bottom: 1px solid #4CAF50; border-left: 3px solid #4CAF50; } .settings-row { flex-direction: column; gap: 10px; } .progress-indicator { flex-wrap: wrap; gap: 10px; } .step-connector { display: none; } }