Spaces:
Runtime error
Runtime error
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background-color: #f5f7fa; | |
| color: #1e2139; | |
| } | |
| /* Medical exam styling */ | |
| .exam-container { | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .exam-header { | |
| background: linear-gradient(135deg, #1e2139 0%, #2d3561 100%); | |
| color: white; | |
| padding: 1rem 2rem; | |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| } | |
| .exam-content { | |
| flex: 1; | |
| display: flex; | |
| gap: 2rem; | |
| padding: 2rem; | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| width: 100%; | |
| } | |
| .question-panel { | |
| flex: 1; | |
| background: white; | |
| border-radius: 8px; | |
| padding: 2rem; | |
| box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | |
| } | |
| .sidebar-panel { | |
| width: 280px; | |
| background: white; | |
| border-radius: 8px; | |
| padding: 1.5rem; | |
| box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | |
| height: fit-content; | |
| } | |
| .question-text { | |
| font-size: 1.1rem; | |
| line-height: 1.6; | |
| margin-bottom: 1.5rem; | |
| color: #1e2139; | |
| } | |
| .answer-option { | |
| padding: 1rem; | |
| margin-bottom: 0.75rem; | |
| border: 2px solid #e0e4e8; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| background: white; | |
| } | |
| .answer-option:hover { | |
| border-color: #0066cc; | |
| background: #f0f6ff; | |
| } | |
| .answer-option.selected { | |
| border-color: #0066cc; | |
| background: #e6f0ff; | |
| font-weight: 500; | |
| } | |
| .answer-option.correct { | |
| border-color: #10b981; | |
| background: #f0fdf4; | |
| } | |
| .answer-option.incorrect { | |
| border-color: #ef4444; | |
| background: #fef2f2; | |
| } | |
| .timer { | |
| font-size: 1.5rem; | |
| font-weight: 600; | |
| text-align: center; | |
| padding: 1rem; | |
| background: #f0f6ff; | |
| border-radius: 6px; | |
| margin-bottom: 1rem; | |
| } | |
| .timer.warning { | |
| background: #fff3cd; | |
| color: #856404; | |
| } | |
| .timer.critical { | |
| background: #f8d7da; | |
| color: #721c24; | |
| } | |
| .progress-bar { | |
| width: 100%; | |
| height: 8px; | |
| background: #e0e4e8; | |
| border-radius: 4px; | |
| overflow: hidden; | |
| margin-bottom: 1rem; | |
| } | |
| .progress-fill { | |
| height: 100%; | |
| background: linear-gradient(90deg, #0066cc, #0052a3); | |
| transition: width 0.3s ease; | |
| } | |
| .navigation-buttons { | |
| display: flex; | |
| gap: 1rem; | |
| margin-top: 2rem; | |
| } | |
| .btn { | |
| padding: 0.75rem 1.5rem; | |
| border-radius: 6px; | |
| border: none; | |
| cursor: pointer; | |
| font-size: 1rem; | |
| font-weight: 500; | |
| transition: all 0.2s ease; | |
| } | |
| .btn-primary { | |
| background: #0066cc; | |
| color: white; | |
| } | |
| .btn-primary:hover:not(:disabled) { | |
| background: #0052a3; | |
| } | |
| .btn-secondary { | |
| background: #e0e4e8; | |
| color: #1e2139; | |
| } | |
| .btn-secondary:hover:not(:disabled) { | |
| background: #c8cdd5; | |
| } | |
| .btn:disabled { | |
| opacity: 0.5; | |
| cursor: not-allowed; | |
| } | |
| .image-container { | |
| margin: 1.5rem 0; | |
| background: #f9fafb; | |
| padding: 1rem; | |
| border-radius: 6px; | |
| border: 1px solid #e0e4e8; | |
| } | |
| .image-container img { | |
| max-width: 100%; | |
| height: auto; | |
| display: block; | |
| margin: 0 auto; | |
| } | |
| .image-controls { | |
| display: flex; | |
| gap: 0.5rem; | |
| margin-top: 0.5rem; | |
| } | |
| .contrast-slider { | |
| width: 100%; | |
| cursor: pointer; | |
| } | |
| .settings-panel { | |
| background: white; | |
| border-radius: 8px; | |
| padding: 1.5rem; | |
| box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | |
| margin-top: 1rem; | |
| } | |
| .settings-title { | |
| font-weight: 600; | |
| margin-bottom: 1rem; | |
| font-size: 0.9rem; | |
| text-transform: uppercase; | |
| color: #666; | |
| } | |
| .setting-item { | |
| margin-bottom: 0.75rem; | |
| padding: 0.75rem; | |
| background: #f9fafb; | |
| border-radius: 4px; | |
| } | |
| .setting-label { | |
| font-size: 0.85rem; | |
| color: #555; | |
| margin-bottom: 0.25rem; | |
| } | |
| .question-review { | |
| max-height: 300px; | |
| overflow-y: auto; | |
| } | |
| .review-item { | |
| padding: 0.5rem 0; | |
| font-size: 0.9rem; | |
| border-bottom: 1px solid #e0e4e8; | |
| cursor: pointer; | |
| color: #0066cc; | |
| } | |
| .review-item:hover { | |
| text-decoration: underline; | |
| } | |
| .status-indicator { | |
| display: inline-block; | |
| width: 12px; | |
| height: 12px; | |
| border-radius: 50%; | |
| margin-right: 0.5rem; | |
| } | |
| .status-indicator.answered { | |
| background: #10b981; | |
| } | |
| .status-indicator.not-answered { | |
| background: #ef4444; | |
| } | |
| .status-indicator.marked { | |
| background: #f59e0b; | |
| } | |
| @media (max-width: 1024px) { | |
| .exam-content { | |
| flex-direction: column; | |
| } | |
| .sidebar-panel { | |
| width: 100%; | |
| } | |
| } | |
| @media (max-width: 768px) { | |
| .exam-content { | |
| padding: 1rem; | |
| } | |
| .question-panel { | |
| padding: 1.5rem; | |
| } | |
| .answer-option { | |
| padding: 0.75rem; | |
| } | |
| } | |