/* Dark theme variables */ :root { --bg-primary: #1a1a1a; --bg-secondary: #2a2a2a; --text-primary: #ffffff; --text-secondary: #cccccc; --accent-color: #6c63ff; --error-color: #f44336; --success-color: #4CAF50; } /* Loading Overlay */ .loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.9); display: flex; justify-content: center; align-items: center; z-index: 1000; } .loading-content { text-align: center; color: var(--text-primary); } .loading-spinner { width: 50px; height: 50px; border: 3px solid var(--text-primary); border-radius: 50%; border-top-color: transparent; animation: spin 1s linear infinite; margin: 0 auto 20px; } /* Analysis Modal */ .analysis-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: flex; justify-content: center; align-items: center; z-index: 1000; } .modal-content { background: var(--bg-primary); width: 90%; max-width: 800px; max-height: 90vh; border-radius: 8px; overflow: hidden; } .modal-header { padding: 20px; background: var(--bg-secondary); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; } .modal-header h2 { color: var(--text-primary); margin: 0; } .modal-body { padding: 20px; overflow-y: auto; max-height: calc(90vh - 80px); } .analysis-section { background: var(--bg-secondary); border-radius: 6px; padding: 15px; margin-bottom: 15px; } .analysis-section h3 { color: var(--accent-color); margin-bottom: 10px; } .analysis-section p { color: var(--text-secondary); line-height: 1.6; } /* Buttons */ .close-btn { background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; padding: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.3s; } .close-btn:hover { background: rgba(255, 255, 255, 0.1); } .cancel-btn { background: var(--bg-secondary); border: none; color: var(--text-primary); padding: 8px 16px; border-radius: 4px; cursor: pointer; margin-top: 15px; transition: background 0.3s; } .cancel-btn:hover { background: #333; } /* Error Message */ .error-message { position: fixed; top: 20px; right: 20px; background: var(--error-color); color: var(--text-primary); padding: 12px 24px; border-radius: 6px; z-index: 1001; animation: slideIn 0.3s ease-out; } /* Animations */ @keyframes spin { to { transform: rotate(360deg); } } @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } .analysis-container { max-width: 800px; margin: 2rem auto; background-color: var(--card-background); border-radius: 15px; padding: 2rem; box-shadow: 0 4px 15px var(--shadow-color); } .analysis-header { text-align: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid #eee; } .analysis-header h2 { color: var(--primary-color); font-size: 1.8rem; margin-bottom: 0.5rem; } .analysis-section { margin-bottom: 2rem; padding: 1.5rem; background-color: #f8f9fa; border-radius: 10px; transition: all 0.3s ease; } .analysis-section:hover { transform: translateY(-2px); box-shadow: 0 4px 15px var(--shadow-color); } .analysis-section h3 { color: var(--secondary-color); margin-bottom: 1rem; font-size: 1.3rem; display: flex; align-items: center; gap: 0.5rem; } .analysis-section p { line-height: 1.8; color: #4a4a4a; } .back-button { display: inline-block; padding: 0.8rem 1.5rem; background-color: var(--secondary-color); color: white; text-decoration: none; border-radius: 25px; margin-top: 2rem; transition: all 0.3s ease; } .back-button:hover { transform: translateY(-2px); box-shadow: 0 4px 15px var(--shadow-color); } /* Loading Animation */ .analysis-loading { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 3rem; } .analysis-spinner { width: 60px; height: 60px; border: 6px solid #f3f3f3; border-top: 6px solid var(--secondary-color); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }