/* Care Management Software Quiz styles (moved out of the inline style block; keyframes prefixed with quiz-). */
.quiz-hidden { display: none !important; }
.quiz-wrapper { max-width: 650px; margin: 0 auto; font-family: 'Plus Jakarta Sans', sans-serif; background: #ffffff; border-radius: 24px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); padding: 30px; box-sizing: border-box; }
.quiz-text-center { text-align: center; }
.quiz-mb-1 { margin-bottom: 8px; }
.quiz-mb-3 { margin-bottom: 24px; }
.quiz-mt-4 { margin-top: 24px; }
.quiz-flex { display: flex; }
.quiz-flex-between { display: flex; justify-content: space-between; align-items: center; }

.quiz-title { font-size: 24px; font-weight: 700; margin: 0 0 12px 0; color: #000; line-height: 1.3; }
.quiz-subtitle { font-size: 15px; color: #4a5568; margin: 0 0 24px 0; line-height: 1.5; }
.quiz-sm-bold { font-size: 14px; font-weight: 600; }

.quiz-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 99px; background: #5E00B1; color: white; margin-bottom: 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.quiz-icon-sm { width: 16px; height: 16px; flex-shrink: 0; }
.quiz-icon-md { width: 24px; height: 24px; flex-shrink: 0; }
.quiz-icon-lg { width: 32px; height: 32px; flex-shrink: 0; }

.quiz-progress-bg { height: 8px; border-radius: 99px; background: #f0f0f0; overflow: hidden; width: 100%; }
.quiz-progress-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #5E00B1, #68FFAD); transition: width 0.5s ease-out; width: 0%; }

.quiz-q-card { border-radius: 16px; padding: 24px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #f0f0f0; background: white; animation: quiz-fadeSlideIn 0.4s ease-out; }
.quiz-q-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.quiz-q-num { width: 36px; height: 36px; border-radius: 50%; background: #5E00B1; color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; font-size: 16px; }
.quiz-q-text { font-size: 18px; font-weight: 600; color: #000; margin: 0; padding-top: 4px; line-height: 1.4; }

.quiz-option { width: 100%; text-align: left; padding: 16px; border-radius: 12px; border: 2px solid #e2e8f0; background: white; cursor: pointer; display: flex; align-items: center; gap: 16px; margin-bottom: 12px; transition: all 0.2s; font-family: inherit; font-size: 15px; color: #000; }
.quiz-option:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
.quiz-opt-letter { width: 32px; height: 32px; border-radius: 50%; background: #f0e6ff; color: #5E00B1; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }

.quiz-btn { width: 100%; padding: 16px; border-radius: 12px; font-weight: 600; font-size: 16px; border: none; cursor: pointer; transition: all 0.2s; font-family: inherit; margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;}
.quiz-btn-primary { background: #5E00B1; color: white; }
.quiz-btn-success { background: #68FFAD; color: #000; }
.quiz-btn-outline { background: white; color: #5E00B1; border: 2px solid #5E00B1; }
.quiz-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.quiz-btn:not(:disabled):hover { opacity: 0.9; }

.quiz-result-card { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border: 1px solid #f0f0f0; background: white; animation: quiz-scaleIn 0.5s ease-out; }
.quiz-result-header { padding: 30px; color: white; background: linear-gradient(135deg, #5E00B1 0%, #8033d4 100%); display: flex; flex-direction: column; gap: 12px; }
.quiz-result-body { padding: 30px; }
.quiz-pro-tip { border-radius: 12px; padding: 20px; background: #f0e6ff; border-left: 4px solid #5E00B1; margin-bottom: 24px; display: flex; align-items: flex-start; gap: 16px; }
.quiz-result-title { font-size: 26px; font-weight: bold; margin:0;}
.quiz-result-p { font-size: 16px; color: #000; margin: 0 0 24px 0; line-height: 1.6;}
.quiz-link-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 12px; font-weight: 600; background: #68FFAD; color: #000; text-decoration: none; transition: all 0.2s; font-size: 16px; }
.quiz-link-btn:hover { opacity: 0.9; transform: translateY(-1px); }

@keyframes quiz-fadeSlideIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes quiz-scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
