.test-results{background:#ffffff;padding:calc(64px + 2.5rem) 2rem 2.5rem;width:100%;display:flex;flex-direction:column;animation:resultsIn .5s ease-out}@keyframes resultsIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.results-header{text-align:center;margin-bottom:2.5rem}.results-progress-ring{position:relative;width:140px;height:140px;margin:0 auto 1.5rem}.results-progress-ring svg{transform:rotate(-90deg);width:140px;height:140px}.results-progress-ring .ring-bg{fill:none;stroke:#f3f4f6;stroke-width:8}.results-progress-ring .ring-fill{fill:none;stroke-width:8;stroke-linecap:round;transition:stroke-dashoffset 1s ease-out}.results-progress-ring .ring-fill.ring-success{stroke:#10b981}.results-progress-ring .ring-fill.ring-warning{stroke:#f59e0b}.results-progress-ring .ring-fill.ring-danger{stroke:#ef4444}.results-progress-value{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.results-progress-percentage{font-size:2rem;font-weight:800;color:#111827;line-height:1}.results-progress-label{font-size:.75rem;font-weight:600;color:#9ca3af;text-transform:uppercase;letter-spacing:.08em;margin-top:.25rem}.results-title{font-size:1.5rem;font-weight:700;color:#111827;margin-bottom:.25rem;letter-spacing:-.02em}.results-subtitle{font-size:1rem;color:#6b7280;margin-bottom:1rem}.results-questions-badge{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem 1rem;border-radius:9999px;font-size:.8125rem;font-weight:600;background:#f3f4f6;color:#6b7280;border:1px solid #e5e7eb}.results-questions-badge svg{width:1rem;height:1rem}.results-stats{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:1rem;gap:1rem;margin-bottom:2rem}.results-stat-card{text-align:center;padding:1.25rem 1rem;border-radius:12px;border:1px solid;position:relative;overflow:hidden}.results-stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px}.stat-correct{background:#f0fdf4;border-color:#bbf7d0}.stat-correct:before{background:#10b981}.stat-correct .stat-value{color:#15803d}.stat-correct .stat-label{color:#166534}.stat-incorrect{background:#fef2f2;border-color:#fecaca}.stat-incorrect:before{background:#ef4444}.stat-incorrect .stat-value{color:#dc2626}.stat-incorrect .stat-label{color:#991b1b}.stat-time{background:#f8fafc;border-color:#e2e8f0}.stat-time:before{background:#64748b}.stat-time .stat-value{color:#334155}.stat-time .stat-label{color:#64748b}.stat-value{font-size:1.75rem;font-weight:800;line-height:1;margin-bottom:.25rem}.stat-label{font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.stat-comparison{display:flex;align-items:center;justify-content:center;gap:.25rem;margin-top:.5rem;font-size:.6875rem;font-weight:600;line-height:1}.stat-comparison svg{width:.75rem;height:.75rem;flex-shrink:0}.comparison-improved{color:#10b981}.comparison-worsened{color:#ef4444}.comparison-equal{color:#9ca3af}.stat-comparison strong{font-size:.8125rem;font-weight:800}.results-score-card{gap:1rem;padding:1rem 1.5rem;margin-bottom:2rem;background:linear-gradient(135deg,#fffbeb,#fef3c7);border:1px solid #fde68a;border-radius:12px}.results-score-card,.results-score-icon{display:flex;align-items:center;justify-content:center}.results-score-icon{width:2.5rem;height:2.5rem;background:linear-gradient(135deg,#f59e0b,#d97706);border-radius:50%;flex-shrink:0}.results-score-icon svg{width:1.25rem;height:1.25rem;color:white}.results-score-value{font-size:1.5rem;font-weight:800;color:#92400e;line-height:1}.results-score-label{font-size:.75rem;font-weight:600;color:#a16207;text-transform:uppercase;letter-spacing:.05em}.answers-section{margin-top:0;margin-bottom:2rem;background-color:white;border-radius:12px;border:none;overflow:hidden}.answers-header{display:flex;justify-content:space-between;align-items:center;padding:.875rem 1.25rem;background-color:transparent;border-bottom:1px solid #e5e7eb}.answers-toggle{display:flex;align-items:center;background:none;border:none;font-size:.9375rem;font-weight:600;color:#111827;cursor:pointer;transition:color .2s ease;padding:0}.answers-toggle:hover{color:#3b82f6}.answers-toggle span{margin-right:.5rem}.content-arrow{width:1.125rem;height:1.125rem;transition:transform .3s ease}.content-arrow-open{transform:rotate(180deg)}.filter-controls{gap:1rem;flex-wrap:wrap}.filter-controls,.toggle-label{display:flex;align-items:center}.toggle-label{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toggle-checkbox{display:none}.toggle-slider{position:relative;width:2.5rem;height:1.25rem;background-color:#d1d5db;border-radius:9999px;transition:background-color .3s ease;margin-right:.5rem}.toggle-slider:before{content:"";position:absolute;top:2px;left:2px;width:1rem;height:1rem;background-color:white;border-radius:50%;transition:transform .3s ease;box-shadow:0 1px 3px rgba(0,0,0,.1)}.toggle-checkbox:checked+.toggle-slider{background-color:#ef4444}.toggle-checkbox:checked+.toggle-slider:before{transform:translateX(1.25rem)}.toggle-text{font-size:.8125rem;font-weight:500;color:#6b7280}.answers-body{padding:1.25rem;background-color:white}.questions-list{display:flex;flex-direction:column;gap:1rem}.question-item{padding:1.25rem;border:1px solid #e5e7eb;border-radius:10px;background-color:#fafafa;transition:border-color .2s ease}.question-item:hover{border-color:#d1d5db}.question-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem;gap:.75rem}.question-title{font-size:.9375rem;font-weight:600;color:#111827;line-height:1.5;flex:1 1;margin:0}.question-badges{display:flex;gap:.375rem;flex-shrink:0}.question-type-badge{background-color:#f3f4f6;color:#6b7280;border-radius:9999px;border:1px solid #e5e7eb;font-weight:500}.question-type-badge,.result-badge{font-size:.6875rem;padding:.1875rem .625rem;white-space:nowrap}.result-badge{border-radius:9999px;font-weight:600}.result-correct{background-color:#dcfce7;color:#15803d;border:1px solid #86efac}.result-incorrect{background-color:#fee2e2;color:#dc2626;border:1px solid #fca5a5}.options-list{display:flex;flex-direction:column;gap:.375rem}.option-item{display:flex;justify-content:space-between;align-items:center;padding:.625rem .875rem;background-color:white;border:1px solid #e5e7eb;border-radius:8px;transition:all .15s ease}.option-correct{background-color:#f0fdf4;border-color:#86efac;color:#15803d}.option-user-selected{background-color:#eff6ff;border-color:#93c5fd;color:#1e40af}.option-user-incorrect{background-color:#fef2f2;border-color:#fca5a5;color:#dc2626}.option-text{font-size:.8125rem}.option-icons{display:flex;gap:.375rem;align-items:center;margin-left:.5rem}.correct-icon{width:1.125rem;height:1.125rem}.user-icon{color:#3b82f6}.incorrect-icon,.user-icon{width:1.125rem;height:1.125rem;flex-shrink:0}.incorrect-icon{color:#ef4444}.match-pairs-container{display:flex;flex-direction:column;gap:.5rem}.match-pair{display:flex;justify-content:space-between;padding:.625rem .875rem;background-color:white;border-radius:8px;gap:.75rem}.match-left,.match-right{font-size:.8125rem;font-weight:500;color:#374151;flex:1 1}.match-right{text-align:left}.match-arrow{width:1.25rem;height:1.25rem;color:#9ca3af}.match-answer-correct{background-color:#f0fdf4;border:1px solid #86efac;border-radius:6px;color:#15803d}.match-answer-correct,.match-answer-incorrect{display:flex;align-items:center;padding:.375rem .625rem;font-size:.8125rem}.match-answer-incorrect{background-color:#fef2f2;border:1px solid #fca5a5;border-radius:6px;color:#dc2626}.match-answer-correct span,.match-answer-incorrect span{flex:1 1}.match-answer-correct svg,.match-answer-incorrect svg{width:.875rem;height:.875rem;flex-shrink:0}.match-answer-correct svg{color:#10b981}.match-answer-incorrect svg{color:#ef4444}.user-answer-section{margin-top:.75rem;padding:.875rem;border-radius:8px;border:1px solid}.user-answer-correct{background-color:#f0fdf4;border-color:#86efac}.user-answer-incorrect{background-color:#fef2f2;border-color:#fca5a5}.user-answer-label{font-size:.75rem;font-weight:600;display:block;margin-bottom:.375rem;text-transform:uppercase;letter-spacing:.04em}.user-answer-correct .user-answer-label{color:#15803d}.user-answer-incorrect .user-answer-label{color:#dc2626}.user-answer-text{font-size:.8125rem;padding:.5rem .75rem;background-color:white;border-radius:6px;border:1px solid #e5e7eb;color:#374151}.correct-answers-section{margin-top:.75rem}.correct-answers-pills{display:flex;flex-wrap:wrap;gap:.375rem;margin-top:.375rem}.correct-answer-pill{background:#10b981;color:white;padding:.1875rem .625rem;border-radius:9999px;font-size:.6875rem;font-weight:500}.no-questions-message{text-align:center;padding:2.5rem 1.5rem;color:#6b7280;font-size:1rem}.no-questions-message svg{width:2.5rem;height:2.5rem;margin:0 auto .75rem;color:#10b981}.results-breakdown-section{max-width:48rem;margin:0 auto 2rem;width:100%;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.25rem 1.5rem}.results-breakdown-title{font-size:.8rem;font-weight:600;color:#9ca3af;text-transform:uppercase;letter-spacing:.06em;margin-bottom:1rem}.results-breakdown-list{display:flex;flex-direction:column;gap:.875rem}.results-breakdown-item-header{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;margin-bottom:.375rem}.results-breakdown-test-name{font-size:.875rem;font-weight:500;color:#374151;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.results-breakdown-score{font-size:.875rem;font-weight:600;color:#111827;white-space:nowrap;flex-shrink:0}.results-breakdown-pct{font-weight:400;color:#6b7280}.results-breakdown-bar-wrap{height:.375rem;background:#e5e7eb;border-radius:9999px;overflow:hidden}.results-breakdown-bar-fill{height:100%;border-radius:9999px;transition:width .6s ease}.breakdown-bar-success{background:#10b981}.breakdown-bar-warning{background:#f59e0b}.breakdown-bar-danger{background:#ef4444}.questions-test-group{margin-bottom:1rem}.questions-test-group-header{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:.5rem;margin-bottom:.625rem;font-size:.85rem;font-weight:600;color:#1e40af}.questions-test-group-dot{width:.5rem;height:.5rem;border-radius:50%;background:#3b82f6;flex-shrink:0}.results-actions{display:flex;justify-content:center;padding-top:.5rem;margin-top:auto}.results-restart-btn{display:inline-flex;align-items:center;justify-content:center;gap:.625rem;padding:.875rem 2.5rem;background:#111827;color:white;border:none;border-radius:10px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:200px}.results-restart-btn:hover{background:#1f2937;transform:translateY(-1px);box-shadow:0 4px 12px rgba(17,24,39,.2)}.results-restart-btn:active{transform:translateY(0)}.results-restart-btn svg{width:1.125rem;height:1.125rem}@media (max-width:768px){.test-results{padding:1.5rem 1rem}.results-stats{grid-template-columns:repeat(3,1fr);gap:.5rem}.stat-value{font-size:1.375rem}.stat-label{font-size:.625rem}.results-stat-card{padding:1rem .5rem}.results-progress-ring,.results-progress-ring svg{width:120px;height:120px}.results-progress-percentage{font-size:1.5rem}.results-title{font-size:1.25rem}.answers-header{flex-direction:column;gap:.75rem;align-items:stretch}.filter-controls{justify-content:center}.question-header{flex-direction:column;gap:.5rem}.question-badges{align-self:flex-start}.answers-body,.question-item{padding:.875rem}.results-restart-btn{width:100%}.results-score-card{padding:.875rem 1rem}}@media (max-width:480px){.results-stats{grid-template-columns:repeat(3,1fr);gap:.375rem}.stat-value{font-size:1.125rem}.results-stat-card{padding:.75rem .375rem}.match-pair{flex-direction:column}.match-left,.match-pair{text-align:center}.match-arrow{transform:rotate(90deg)}}.test-execution{position:fixed;top:0;left:0;width:100vw;height:100vh;height:100dvh;background:linear-gradient(135deg,#f8fafc,#f1f5f9);display:flex;flex-direction:column;z-index:1000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.loading-container{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem}.loading-spinner{width:3rem;height:3rem;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite}.loading-message{color:#6b7280;font-size:1.125rem;font-weight:500}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.test-header-2{background:rgba(255,255,255,.95);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(0,0,0,.05);padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 3px rgba(0,0,0,.1);position:-webkit-sticky;position:sticky;top:0;z-index:100}.test-title{font-size:1.5rem;font-weight:700;color:#111827;letter-spacing:-.5px}.test-controls{gap:1rem}.test-controls,.timer{display:flex;align-items:center}.timer{gap:.5rem;font-weight:600;color:#374151;font-size:.875rem}.timer.warning{color:#d97706}.timer.danger{color:#dc2626}.timer svg{width:1rem;height:1rem}.progress-info{display:flex;align-items:center;gap:.75rem}.progress-bar{width:100px;height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(135deg,#3b82f6,#2563eb);transition:width .3s ease}.progress-text{font-size:.875rem;font-weight:600;color:#2563eb;white-space:nowrap}.exit-button{background:white;color:#ef4444;border:1.5px solid #ef4444;padding:.5rem 1rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;font-size:.875rem}.exit-button:hover{background:#fef2f2;transform:translateY(-1px);box-shadow:0 4px 12px rgba(239,68,68,.2)}.exit-button svg{width:1rem;height:1rem}.test-content{flex:1 1;padding:2rem;overflow-y:auto;display:flex;justify-content:center;align-items:flex-start}.question-container{width:100%;max-width:56rem;position:relative}.error-message{text-align:center;padding:3rem 2rem;color:#dc2626}.error-icon{width:3rem;height:3rem;margin:0 auto 1rem;opacity:.7}.error-message h2{font-size:1.5rem;font-weight:600;margin-bottom:1rem;color:#111827}.error-message p{color:#6b7280;font-size:1rem}.study-round{margin-bottom:1rem;background:linear-gradient(135deg,#f3e8ff,#e9d5ff);color:#7c3aed;padding:.5rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600;border:1px solid #c4b5fd;display:flex;align-items:center;gap:.5rem}.round-icon{width:1rem;height:1rem}.question-text{font-size:1.75rem;font-weight:700;color:#111827;line-height:1.4;letter-spacing:-.025em}.question-content,.question-text{margin-bottom:2rem}.options-container{display:flex;flex-direction:column;gap:1rem}.option{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border:2px solid #f3f4f6;border-radius:12px;cursor:pointer;background:linear-gradient(135deg,#ffffff,#f8fafc);position:relative;overflow:hidden}.option,.option:before{transition:all .3s ease}.option:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:transparent}.option:hover:not(.selected){border-color:#e5e7eb;background:linear-gradient(135deg,#f9fafb,#ffffff);transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.1)}.option.selected{border-color:#3b82f6;background:linear-gradient(135deg,#eff6ff,#dbeafe);box-shadow:0 4px 12px rgba(59,130,246,.15)}.option.selected:before{background:#3b82f6}.option.correct{border-color:#10b981;background:linear-gradient(135deg,#ecfdf5,#d1fae5);color:#065f46;box-shadow:0 4px 12px rgba(16,185,129,.15)}.option.correct:before{background:#10b981}.option.incorrect{border-color:#ef4444;background:linear-gradient(135deg,#fef2f2,#fee2e2);color:#991b1b;box-shadow:0 4px 12px rgba(239,68,68,.15)}.option.incorrect:before{background:#ef4444}.option-content{display:flex;align-items:center;gap:1rem;flex:1 1}.option-selector{flex-shrink:0}.checkbox,.option-selector,.radio{display:flex;align-items:center;justify-content:center}.checkbox,.radio{width:20px;height:20px;border:2px solid #d1d5db;transition:all .3s ease;background:white}.radio{border-radius:50%}.checkbox{border-radius:4px}.checkbox-checked,.radio-checked{border-color:#3b82f6;background:#3b82f6}.option.correct .checkbox-checked,.option.correct .radio-checked{border-color:#10b981;background:#10b981}.option.incorrect .checkbox-checked,.option.incorrect .radio-checked{border-color:#ef4444;background:#ef4444}.radio-dot{width:8px;height:8px;border-radius:50%;background:white}.checkbox-icon{width:12px;height:12px;color:white}.option-text{font-size:1.125rem;font-weight:500;line-height:1.5;flex:1 1}.option-number{font-weight:600;color:#6b7280;margin-right:.5rem}.correct-icon{width:1.5rem;height:1.5rem;color:#10b981;flex-shrink:0}.text-input-container{display:flex;flex-direction:column;gap:1.5rem}.text-input{width:100%;padding:1.5rem;border:2px solid #e5e7eb;border-radius:12px;font-size:1rem;min-height:120px;resize:vertical;transition:all .3s ease;background:white;font-family:inherit;line-height:1.5}.text-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.text-input::placeholder{color:#9ca3af;font-style:italic}.text-input.disabled{background-color:#f9fafb;color:#6b7280;cursor:not-allowed}.correct-answers-display{padding:1.5rem;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-radius:12px;border:1px solid #a7f3d0}.correct-answers-header{display:flex;align-items:center;margin-bottom:1rem;gap:.5rem}.correct-answers-icon{width:1.25rem;height:1.25rem;color:#10b981}.correct-answers-label{font-weight:600;color:#065f46;font-size:.875rem}.correct-answers-list{display:flex;flex-wrap:wrap;gap:.5rem}.correct-answer{background:linear-gradient(135deg,#10b981,#059669);color:white;padding:.5rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600;box-shadow:0 2px 4px rgba(16,185,129,.2)}.match-container{display:flex;flex-direction:column;gap:1.5rem}.match-instructions{display:flex;align-items:center;gap:.75rem;font-size:.875rem;color:#6b7280;font-style:italic;padding:1rem;background:linear-gradient(135deg,#f9fafb,#ffffff);border-radius:8px;border:1px solid #e5e7eb}.instructions-icon{width:1.25rem;height:1.25rem;color:#3b82f6;flex-shrink:0}.match-pairs{display:flex;flex-direction:column;gap:1rem}.match-pair{display:grid;grid-template-columns:1fr auto 1fr auto;grid-gap:1rem;gap:1rem;align-items:center;padding:1.5rem;background:linear-gradient(135deg,#ffffff,#f8fafc);border-radius:12px;border:1px solid #e5e7eb;transition:all .3s ease}.match-pair:hover{box-shadow:0 4px 12px rgba(0,0,0,.1);transform:translateY(-1px)}.match-left{font-weight:600;color:#374151;font-size:1rem;text-align:right}.match-arrow{width:1.5rem;height:1.5rem;color:#6b7280;flex-shrink:0}.match-select{padding:.75rem 1rem;border:2px solid #e5e7eb;border-radius:8px;font-size:.875rem;background:white;transition:all .3s ease;cursor:pointer}.match-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.match-select:disabled{background-color:#f9fafb;cursor:not-allowed}.match-result{display:flex;align-items:center;gap:.5rem;min-width:120px;justify-content:center}.match-result.correct{color:#065f46}.match-result.incorrect{color:#991b1b}.result-icon{width:1.25rem;height:1.25rem}.incorrect-result{display:flex;align-items:center;gap:.5rem}.correct-answer-text{font-size:.875rem;font-weight:500;background:#fee2e2;padding:.25rem .5rem;border-radius:4px}.correction-message{display:flex;align-items:center;gap:1rem;font-size:1.25rem;font-weight:600;padding:1.5rem;border-radius:12px;margin-top:1.5rem;position:relative;overflow:hidden}.correction-message:before{content:"";position:absolute;top:0;left:0;right:0;height:4px}.correction-message.correct{background:linear-gradient(135deg,#ecfdf5,#d1fae5);color:#065f46;border:2px solid #10b981}.correction-message.correct:before{background:linear-gradient(90deg,#10b981,#059669)}.correction-message.incorrect{background:linear-gradient(135deg,#fef2f2,#fee2e2);color:#991b1b;border:2px solid #ef4444}.correction-message.incorrect:before{background:linear-gradient(90deg,#ef4444,#dc2626)}.correction-icon{width:1.5rem;height:1.5rem;flex-shrink:0}.correction-text{flex:1 1}.test-actions{background:rgba(255,255,255,.95);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);padding:1.5rem 2rem calc(1.5rem + env(safe-area-inset-bottom, 0px));border-top:1px solid rgba(0,0,0,.05);display:flex;justify-content:space-between;align-items:center}.left-actions,.right-actions{display:flex;gap:1rem}.action-button{padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s ease;font-size:.875rem;display:flex;align-items:center;gap:.5rem}.action-button:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.action-button svg{width:1rem;height:1rem}.primary-button{background:linear-gradient(135deg,#3b82f6,#2563eb);color:white;box-shadow:0 4px 14px rgba(59,130,246,.3)}.primary-button:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px);box-shadow:0 6px 20px rgba(59,130,246,.4)}.secondary-button{background:linear-gradient(135deg,#6b7280,#4b5563);color:white;box-shadow:0 4px 14px rgba(107,114,128,.3)}.secondary-button:hover:not(:disabled){background:linear-gradient(135deg,#4b5563,#374151);transform:translateY(-1px);box-shadow:0 6px 20px rgba(107,114,128,.4)}.postpone-button{background:linear-gradient(135deg,#f59e0b,#d97706);color:white;box-shadow:0 4px 14px rgba(245,158,11,.3)}.postpone-button:hover:not(:disabled){background:linear-gradient(135deg,#d97706,#b45309);transform:translateY(-1px);box-shadow:0 6px 20px rgba(245,158,11,.4)}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:2000;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.modal{background:white;border-radius:16px;padding:2rem;max-width:500px;width:90%;box-shadow:0 25px 50px -12px rgba(0,0,0,.25);border:1px solid rgba(0,0,0,.05);animation:modalSlideIn .3s ease}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}.modal-title{font-size:1.25rem;font-weight:700;color:#111827}.modal-icon{width:1.5rem;height:1.5rem;color:#f59e0b}.modal-content{color:#6b7280;line-height:1.6;margin-bottom:2rem}.modal-actions{display:flex;justify-content:flex-end;gap:1rem}.modal-button{padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s ease;font-size:.875rem}.modal-button-secondary{background:#6b7280;color:white}.modal-button-secondary:hover{background:#4b5563;transform:translateY(-1px)}.modal-button-danger{background:linear-gradient(135deg,#ef4444,#dc2626);color:white;box-shadow:0 4px 14px rgba(239,68,68,.3)}.modal-button-danger:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);transform:translateY(-1px);box-shadow:0 6px 20px rgba(239,68,68,.4)}@media (max-width:768px){.test-header-2{padding:1rem;flex-direction:column;gap:1rem}.test-title{font-size:1.25rem}.test-controls{width:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.exit-text{display:none}.exit-button{justify-self:end;padding:.5rem}.test-content{padding:1rem}.question-container{padding:0}.question-text{font-size:1.5rem}.option{padding:1rem}.option-text{font-size:1rem}.test-actions{padding:1rem;flex-direction:column;gap:1rem}.action-button,.left-actions,.right-actions{width:100%;justify-content:center}.match-pair{grid-template-columns:1fr;gap:1rem}.match-left,.match-pair{text-align:center}.progress-info,.timer{flex:1 1;justify-content:center}.modal{padding:1.5rem}.modal-actions{flex-direction:column}.modal-button{width:100%}}@media (max-width:480px){.question-text{font-size:1.25rem}.test-controls{gap:.5rem}.progress-bar{width:80px}}