.case-vignettes-container{max-width:900px;margin:0 auto;padding:20px}.main-header{text-align:center;margin-bottom:30px}.main-header h1{font-size:2.5em;margin-bottom:10px;color:var(--primary-color, #2c3e50)}.main-header p{font-size:1.1em;color:var(--text-secondary, #666)}.stats-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:30px}.stats-card{background:var(--card-bg, #fff);border-radius:8px;padding:20px;box-shadow:0 2px 4px #0000001a;text-align:center}.stats-card h3{margin:0 0 10px;font-size:.9em;color:var(--text-secondary, #666);text-transform:uppercase;letter-spacing:1px}.stat-number{display:block;font-size:2em;font-weight:700;color:var(--primary-color, #2c3e50)}.filters-container{background:var(--card-bg, white);border-radius:10px;padding:20px;margin-bottom:30px;box-shadow:0 2px 10px #0000001a;border:1px solid var(--border-color, #e9ecef);display:flex;flex-direction:column;gap:20px}.filter-section{margin-bottom:0}.filter-section h3{margin-bottom:10px;color:var(--text-color, #333);font-size:16px;font-weight:600}.filter-buttons{display:flex;flex-wrap:wrap;gap:8px}.filter-button{padding:8px 16px;border:2px solid var(--border-color, #e9ecef);background:var(--card-bg, white);border-radius:20px;cursor:pointer;font-size:14px;font-weight:500;transition:all .3s ease;color:var(--text-color, #666)}.filter-button:hover{border-color:#667eea;color:#667eea}.filter-button.multi-select.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff;box-shadow:0 2px 8px #667eea4d;transform:translateY(-1px)}.filter-button.multi-select:hover:not(.active){border-color:#667eea;color:#667eea;background:#667eea0d;transform:translateY(-1px)}body.dark-theme .filter-button.multi-select:hover:not(.active){background:#667eea1a;border-color:#8b9cf7;color:#8b9cf7}.btn{padding:10px 20px;border:none;border-radius:4px;font-size:1em;cursor:pointer;transition:all .3s ease;font-weight:600}.btn-primary{background:var(--primary-color, #2c3e50);color:#fff}.btn-primary:hover{background:var(--primary-hover, #34495e)}.btn-secondary{background:var(--secondary-color, #95a5a6);color:#fff}.btn-secondary:hover{background:var(--secondary-hover, #7f8c8d)}.btn:disabled{opacity:.6;cursor:not-allowed}.case-display-section{background:var(--card-bg, #fff);border-radius:8px;padding:24px;margin-bottom:30px;box-shadow:0 2px 4px #0000001a}.case-header{margin-bottom:25px;padding-bottom:20px;border-bottom:2px solid var(--border-color, #eee)}.case-header h2{margin:0 0 10px;color:var(--primary-color, #2c3e50)}.case-meta{display:flex;gap:10px;flex-wrap:wrap}.difficulty-badge,.location-badge{display:inline-block;padding:5px 12px;border-radius:20px;font-size:.85em;font-weight:600}.difficulty-badge{background:var(--accent-color, #3498db);color:#fff}.location-badge{background:var(--secondary-color, #95a5a6);color:#fff}.case-section{margin-bottom:20px}.case-section h3{margin:0 0 15px;color:var(--primary-color, #2c3e50);font-size:1.3em;border-left:4px solid var(--primary-color, #2c3e50);padding-left:10px}.case-content{line-height:1.6;color:var(--text-primary, #333);white-space:pre-wrap}.chat-panel{background:var(--card-bg, white);border-radius:10px;padding:20px;margin-bottom:30px;box-shadow:0 2px 10px #0000001a;border:1px solid var(--border-color, #e9ecef)}.chat-header{margin-bottom:15px}.chat-header h3{margin:0;color:var(--text-color, #333);font-size:1.1em;font-weight:600}.conversation-container{background:var(--input-bg, #f8f9fa);border-radius:8px;padding:15px;margin-bottom:20px;min-height:200px;max-height:400px;overflow-y:auto;border:2px solid var(--border-color, #e9ecef);color:var(--text-color, #333)}.conversation-message{margin-bottom:15px;padding:10px;border-radius:6px}.conversation-message.user{background:#e3f2fd;border-left:4px solid #2196f3;margin-left:20px}.conversation-message.ai{background:#f3e5f5;border-left:4px solid #9c27b0;margin-right:20px}.conversation-message.system{background:#fff3e0;border-left:4px solid #ff9800;font-style:italic}.conversation-message.evaluation{background:#fff;border-left:4px solid #667eea;margin:15px 0}.evaluation-status{font-size:18px;font-weight:700;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.1);text-align:center}.evaluation-status.correct{color:#28a745}.evaluation-status.partial{color:#ff9800}.evaluation-status.incorrect{color:#dc3545}.evaluation-feedback{margin:12px 0;line-height:1.6;color:var(--text-color, #333);font-size:15px}.evaluation-feedback p{margin:8px 0}.evaluation-correct-answer{margin-top:16px;padding:12px;background:#f8f9fa;border-radius:8px}.evaluation-correct-answer strong{color:#667eea;display:block;margin-bottom:6px;font-size:14px;font-weight:600}.evaluation-correct-answer>div{color:var(--text-color, #2c3e50);font-size:15px;font-weight:500}#questionForm{margin-bottom:20px;display:block!important;visibility:visible!important}#questionForm input{width:100%;padding:12px;border:2px solid var(--border-color, #e9ecef);border-radius:8px;font-size:16px;transition:border-color .3s ease;background:var(--input-bg, white);color:var(--text-color, #333);box-sizing:border-box;display:block!important;visibility:visible!important}#questionForm input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}#questionForm input:disabled{background:#f5f5f5;cursor:not-allowed;opacity:.6}.action-buttons{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}.action-buttons button{padding:10px 20px;border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;transition:all .3s ease}#sendChatBtn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}#sendChatBtn:hover{transform:translateY(-1px);box-shadow:0 4px 15px #667eea4d}#sendChatBtn:disabled{background:#ccc;cursor:not-allowed;transform:none}#conversation-buttons{display:flex;gap:10px;justify-content:center;margin-top:20px}#conversation-buttons button{padding:8px 16px;border:2px solid var(--border-color, #6c757d);background:var(--card-bg, white);color:var(--text-color, #6c757d);border-radius:6px;cursor:pointer;font-size:14px;transition:all .3s ease}#conversation-buttons button:hover{background:#6c757d;color:#fff}.diagnosis-section{background:var(--card-bg, #fff);border-radius:8px;padding:30px;margin-bottom:30px;box-shadow:0 2px 4px #0000001a}.diagnosis-header{margin-bottom:20px}.diagnosis-header h3{margin:0 0 10px;color:var(--primary-color, #2c3e50)}.diagnosis-hint{margin:0;color:var(--text-secondary, #666);font-size:.9em}.diagnosis-input-container{display:flex;gap:10px}.diagnosis-input-container input{flex:1;padding:12px;border:2px solid var(--border-color, #ddd);border-radius:4px;font-size:1.1em}.diagnosis-input-container input:focus{outline:none;border-color:var(--primary-color, #2c3e50)}.evaluation-display{background:var(--card-bg, #fff);border-radius:8px;padding:30px;margin-bottom:30px;box-shadow:0 2px 4px #0000001a}.evaluation-content{margin-bottom:20px;padding:20px;border-radius:8px}.evaluation-content.correct{background:#d4edda;border:2px solid #28a745}.evaluation-content.incorrect{background:#f8d7da;border:2px solid #dc3545}.evaluation-content.partial{background:#fff3cd;border:2px solid #ffc107}.evaluation-content h3{margin:0 0 15px;font-size:1.5em}.evaluation-content.correct h3{color:#155724}.evaluation-content.incorrect h3{color:#721c24}.evaluation-content.partial h3{color:#856404}.evaluation-feedback{line-height:1.8;color:var(--text-primary, #333);white-space:pre-wrap}.evaluation-correct-answer{margin-top:15px;padding:15px;background:#ffffff80;border-radius:4px;font-weight:600}.loading-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:9999}.loading-spinner{width:50px;height:50px;border:5px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#loadingText{color:#fff;margin-top:20px;font-size:1.1em}.notification{position:fixed;top:20px;right:20px;background:var(--card-bg, #fff);padding:15px 20px;border-radius:4px;box-shadow:0 4px 6px #0000001a;z-index:10000;display:flex;align-items:center;gap:15px;min-width:300px;max-width:500px}.notification.success{border-left:4px solid #28a745}.notification.error{border-left:4px solid #dc3545}.notification.info{border-left:4px solid #17a2b8}.notification-close{background:none;border:none;font-size:1.5em;cursor:pointer;color:var(--text-secondary, #666);padding:0;margin-left:auto}.notification-close:hover{color:var(--text-primary, #333)}@media (max-width: 768px){.case-vignettes-container{padding:10px}.stats-panel{grid-template-columns:repeat(2,1fr)}.filters-container,.filter-buttons{flex-direction:column}.filter-button{text-align:center}.action-buttons{flex-direction:column}.action-buttons button{width:100%}#conversation-buttons{flex-direction:column}#conversation-buttons button{width:100%}.diagnosis-input-container{flex-direction:column}.diagnosis-input-container input,.diagnosis-input-container button{width:100%}}body.dark-theme .conversation-message.user{background:#2196f333;border-left:4px solid #2196f3}body.dark-theme .conversation-message.ai{background:#9c27b033;border-left:4px solid #9c27b0}body.dark-theme .conversation-message.system{background:#ff980033;border-left:4px solid #ff9800}body.dark-theme #questionForm input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea33}body.dark-theme #conversation-buttons button:hover{background:var(--text-color, #6c757d);color:var(--card-bg, white)}
