.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}.filter-controls{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.toggle-slider{width:2.5rem;height:1.25rem;margin-right:.5rem}.toggle-slider:before{width:1rem;height:1rem;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;color:#6b7280}.answers-body{padding:1.25rem;background-color:white}.questions-list{gap:1rem}.question-item{padding:1.25rem;border-radius:10px;transition:border-color .2s ease}.question-item:hover{border-color:#d1d5db}.question-header{margin-bottom:.75rem;gap:.75rem}.question-title{font-size:.9375rem;margin:0}.question-badges{display:flex;gap:.375rem;flex-shrink:0}.question-type-badge{background-color:#f3f4f6;border:1px solid #e5e7eb;font-weight:500}.question-type-badge,.result-badge{font-size:.6875rem;padding:.1875rem .625rem}.result-badge{border-radius:9999px;font-weight:600;white-space:nowrap}.result-correct{background-color:#dcfce7;color:#15803d;border:1px solid #86efac}.result-incorrect{background-color:#fee2e2;color:#dc2626;border:1px solid #fca5a5}.options-list{gap:.375rem}.option-item{padding:.625rem .875rem;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{gap:.5rem}.match-pair{padding:.625rem .875rem;border-radius:8px;gap:.75rem}.match-left,.match-right{font-size:.8125rem}.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-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;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}.option-number{font-weight:600;color:#6b7280;margin-right:.5rem}.correct-icon{width:1.5rem;height:1.5rem}.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-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;padding:1.5rem;background:linear-gradient(135deg,#ffffff,#f8fafc);border-radius:12px;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}.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}}.test-config-container{min-height:100vh;background-color:#f9fafb;padding:calc(64px + 2rem) 0 2rem}.test-config-wrapper{max-width:64rem;margin:0 auto;padding:0 1rem}.test-config-card{background-color:white;border-radius:.5rem;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);padding:1.5rem}.test-header{text-align:center;margin-bottom:2rem}.test-title{font-size:1.875rem;font-weight:700;color:#111827;margin-bottom:.5rem}.test-description{color:#6b7280;margin-bottom:1rem;line-height:1.6}.test-info-badges{display:flex;justify-content:center;gap:.75rem;flex-wrap:wrap}.test-info-badge{display:inline-flex;align-items:center;background-color:#dbeafe;color:#1e40af;padding:.5rem 1rem;border-radius:9999px;font-size:.875rem;font-weight:500}.test-icon{width:1.25rem;height:1.25rem;margin-right:.5rem}.modes-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:2rem;gap:2rem;margin-bottom:2rem}.mode-card{border:2px solid;border-radius:.5rem;padding:1.5rem;cursor:pointer;transition:all .3s ease}.mode-unselected{border-color:#e5e7eb;background-color:white}.mode-unselected:hover{border-color:#d1d5db;box-shadow:0 4px 6px -1px rgba(0,0,0,.1)}.mode-selected-study{border-color:#10b981;background-color:#ecfdf5}.mode-selected-exam{border-color:#3b82f6;background-color:#eff6ff}.mode-header{display:flex;align-items:center;margin-bottom:1rem}.mode-indicator{width:1rem;height:1rem;border-radius:50%;margin-right:.75rem;flex-shrink:0}.indicator-inactive{background-color:#9ca3af}.indicator-study{background-color:#10b981}.indicator-exam{background-color:#3b82f6}.mode-title{font-size:1.25rem;font-weight:600;color:#111827}.mode-features{list-style:none;padding:0;margin:0}.feature-item{display:flex;align-items:center;margin-bottom:.5rem;color:#6b7280;font-size:.875rem}.feature-icon-study{color:#10b981}.feature-icon-exam,.feature-icon-study{width:1rem;height:1rem;margin-right:.5rem;flex-shrink:0}.feature-icon-exam{color:#3b82f6}.exam-config-section{margin-top:2rem;padding:1.5rem;background-color:#eff6ff;border-radius:.5rem;border:1px solid #bfdbfe}.exam-config-title{font-size:1.125rem;font-weight:600;margin-bottom:1rem;color:#111827}.exam-config-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:1rem;gap:1rem}.config-field{display:flex;flex-direction:column}.config-label{font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.5rem}.config-input{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;transition:all .2s ease}.config-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.config-input::placeholder{color:#9ca3af}.start-section{margin-top:2rem;text-align:center}.start-button{background-color:#3b82f6;color:white;padding:.75rem 2rem;border:none;border-radius:.5rem;font-size:1.125rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 14px 0 rgba(59,130,246,.39)}.start-button:hover{background-color:#2563eb;transform:translateY(-1px);box-shadow:0 6px 20px 0 rgba(59,130,246,.5)}.start-button:active{transform:translateY(0)}.content-section{margin-top:2rem;background-color:white;border-radius:.5rem;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);overflow:hidden}.content-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background-color:white;border-bottom:1px solid #e5e7eb}.content-toggle{display:flex;align-items:center;background:none;border:none;font-size:1.125rem;font-weight:600;color:#111827;cursor:pointer;transition:color .2s ease}.content-toggle:hover{color:#3b82f6}.content-toggle span{margin-right:.5rem}.content-arrow{width:1.25rem;height:1.25rem;transition:transform .3s ease}.content-arrow-open{transform:rotate(180deg)}.show-answers-toggle,.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:3rem;height:1.5rem;background-color:#d1d5db;border-radius:9999px;transition:background-color .3s ease;margin-right:.75rem}.toggle-slider:before{content:"";position:absolute;top:2px;left:2px;width:1.25rem;height:1.25rem;background-color:white;border-radius:50%;transition:transform .3s ease;box-shadow:0 2px 4px rgba(0,0,0,.1)}.toggle-checkbox:checked+.toggle-slider{background-color:#10b981}.toggle-checkbox:checked+.toggle-slider:before{transform:translateX(1.5rem)}.toggle-text{font-size:.875rem;font-weight:500;color:#374151}.content-body{padding:1.5rem;background-color:white}.questions-list{display:flex;flex-direction:column;gap:1.5rem}.question-item{padding:1.5rem;border:1px solid #e5e7eb;border-radius:.5rem;background-color:#fafafa}.question-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.question-title{font-size:1.125rem;font-weight:600;color:#111827;line-height:1.5;flex:1 1}.question-type-badge{font-size:.75rem;background-color:#e5e7eb;color:#6b7280;padding:.25rem .75rem;border-radius:9999px;white-space:nowrap;flex-shrink:0}.options-list{display:flex;flex-direction:column;gap:.5rem}.option-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background-color:white;border:1px solid #e5e7eb;border-radius:.375rem;transition:all .2s ease}.option-item:hover{border-color:#d1d5db}.option-correct{background-color:#ecfdf5;border-color:#10b981;color:#065f46}.option-text{flex:1 1;font-size:.875rem;line-height:1.4}.correct-icon{width:1.25rem;height:1.25rem;color:#10b981;flex-shrink:0}.match-pairs-container{display:flex;flex-direction:column;gap:.75rem}.match-pair{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background-color:white;border:1px solid #e5e7eb;border-radius:.375rem;gap:1rem}.match-left,.match-right{font-size:.875rem;font-weight:500;color:#374151;flex:1 1}.match-left{text-align:right}.match-right{text-align:left}.match-arrow{width:1.5rem;height:1.5rem;color:#6b7280;flex-shrink:0}.correct-answers-section{margin-top:1rem;padding:1rem;background-color:#ecfdf5;border:1px solid #a7f3d0;border-radius:.375rem}.correct-answers-label{font-size:.875rem;font-weight:600;color:#065f46;display:block;margin-bottom:.5rem}.correct-answers-list{display:flex;flex-wrap:wrap;gap:.5rem}.correct-answer-tag{background-color:#10b981;color:white;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500}@media (max-width:768px){.test-config-wrapper{padding:0 .5rem}.test-config-card{padding:1rem}.modes-grid{gap:1rem}.exam-config-grid,.modes-grid{grid-template-columns:1fr}.test-title{font-size:1.5rem}.start-button{padding:.75rem 1.5rem;font-size:1rem}.content-header{flex-direction:column;gap:1rem;align-items:stretch}.show-answers-toggle{justify-content:center}.content-body,.question-item{padding:1rem}.question-header{flex-direction:column;gap:.5rem}.question-type-badge{align-self:flex-start}}@media (max-width:480px){.test-title{font-size:1.25rem}.exam-config-section,.mode-card{padding:1rem}}.author-tests-link{display:inline-block;padding:.5rem 0;color:#6b7280;font-size:.875rem;font-weight:500;text-decoration:none;border-bottom:1px solid transparent;transition:all .2s ease;cursor:pointer}.author-tests-link:hover{color:#3b82f6;border-bottom-color:#3b82f6}.rating-comments-column{display:flex;flex-direction:column;align-items:flex-start;margin-top:1rem;gap:.25rem}.comments-author-row{width:100%;display:flex;align-items:center;justify-content:space-between}.rating-section{display:flex;align-items:center;gap:.25rem}.rating-average{font-weight:700;font-size:.95rem;color:#111827;margin-right:.25rem}.rating-star{width:1.25rem;height:1.25rem;cursor:pointer;transition:color .15s ease;flex-shrink:0}.rating-star-filled{color:#f59e0b}.rating-star-half{color:#fcd34d}.rating-star-empty{color:#d1d5db}.rating-star-hover{color:#3b82f6}.rating-star-user{color:#f59e0b}.rating-count{color:#6b7280;font-size:.8rem;margin-left:.25rem;white-space:nowrap}.rating-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)}.rating-modal{background:white;border-radius:16px;padding:2rem;max-width:420px;width:90%;box-shadow:0 25px 50px -12px rgba(0,0,0,.25);border:1px solid rgba(0,0,0,.05);animation:ratingModalSlideIn .3s ease;position:relative}@keyframes ratingModalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.rating-modal-close{position:absolute;top:.75rem;right:.75rem;background:none;border:none;cursor:pointer;padding:.25rem;color:#9ca3af;transition:color .2s ease}.rating-modal-close:hover{color:#111827}.rating-modal-close svg{width:1.25rem;height:1.25rem}.rating-modal-body{text-align:center}.rating-modal-body p{color:#374151;font-size:1rem;line-height:1.6;margin-bottom:1.5rem}.rating-modal-login-btn{display:inline-block;background-color:#3b82f6;color:white;padding:.625rem 1.5rem;border-radius:8px;font-weight:600;font-size:.875rem;text-decoration:none;transition:all .3s ease;box-shadow:0 4px 14px rgba(59,130,246,.3)}.rating-modal-login-btn:hover{background-color:#2563eb;transform:translateY(-1px);box-shadow:0 6px 20px rgba(59,130,246,.4)}@media (max-width:768px){.comments-author-row{flex-direction:column;align-items:flex-start;gap:.25rem}}.comments-section{margin-top:2rem;background-color:white;border-radius:.5rem;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);overflow:hidden}.comments-header{display:flex;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb}.comments-title{font-size:1.125rem;font-weight:600;color:#111827;display:flex;align-items:center;gap:.5rem}.comments-title svg{width:1.25rem;height:1.25rem;color:#6b7280}.comments-count{font-size:.8rem;color:#6b7280;font-weight:400}.comments-body{padding:1.5rem}.comment-form{display:flex;gap:.75rem;margin-bottom:1.5rem}.comment-input{flex:1 1;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;resize:none;min-height:2.75rem;max-height:6rem;font-family:inherit;transition:border-color .2s ease,box-shadow .2s ease}.comment-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.comment-input::placeholder{color:#9ca3af}.comment-submit{align-self:flex-end;background-color:#3b82f6;color:white;border:none;border-radius:.5rem;padding:.625rem 1.25rem;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap}.comment-submit:hover:not(:disabled){background-color:#2563eb}.comment-submit:disabled{opacity:.5;cursor:not-allowed}.comments-list{display:flex;flex-direction:column;gap:1rem}.comment-item{padding:1rem;background-color:#f9fafb;border-radius:.5rem;border:1px solid #e5e7eb}.comment-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.comment-author{font-size:.875rem;font-weight:600;color:#111827}.comment-header-right{display:flex;align-items:center;gap:.5rem}.comment-date{font-size:.75rem;color:#9ca3af}.comment-delete-btn{background:none;border:none;cursor:pointer;padding:.15rem;color:#d1d5db;transition:color .2s ease;display:flex;align-items:center}.comment-delete-btn:hover{color:#ef4444}.comment-delete-btn svg{width:.95rem;height:.95rem}.comment-text{font-size:.875rem;color:#374151;line-height:1.5;white-space:pre-wrap;word-break:break-word}.no-comments{text-align:center;color:#9ca3af;font-size:.875rem;padding:2rem 0}.scroll-comments-btn{display:inline-flex;align-items:center;gap:.5rem;background:none;border:none;color:#6b7280;font-size:.875rem;font-weight:500;cursor:pointer;padding:.5rem 0;transition:color .2s ease}.scroll-comments-btn:hover{color:#3b82f6}.scroll-comments-btn svg{width:1.1rem;height:1.1rem}@media (max-width:768px){.comment-form{flex-direction:column}.comment-submit{align-self:stretch}.comments-body{padding:1rem}}.password-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1rem}.password-container{background:white;padding:3rem 2rem;max-width:480px;width:100%;text-align:center}.lock-icon{width:80px;height:80px;margin:0 auto 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;animation:pulse 2s ease-in-out infinite}.lock-icon svg{width:40px;height:40px;color:white}@keyframes pulse{0%,to{transform:scale(1);box-shadow:0 0 0 0 rgba(102,126,234,.7)}50%{transform:scale(1.05);box-shadow:0 0 0 20px rgba(102,126,234,0)}}.password-title{font-size:1.75rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}.password-subtitle{font-size:1rem;color:#6b7280;margin-bottom:2rem;line-height:1.5}.password-form{display:flex;flex-direction:column;gap:1rem}.input-group{position:relative}.password-input{width:100%;padding:1rem 1rem 1rem 3rem;font-size:1rem;border:2px solid #e5e7eb;border-radius:12px;transition:all .3s ease;letter-spacing:2px}.password-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 4px rgba(102,126,234,.1)}.password-input.error{border-color:#ef4444}.input-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);width:20px;height:20px;color:#9ca3af}.error-message-2{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#fee2e2;border:1px solid #fecaca;border-radius:10px;color:#dc2626;font-size:.875rem}.error-icon-2{width:18px;height:18px;flex-shrink:0}.submit-button{padding:1rem 2rem;font-size:1rem;font-weight:600;color:white;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;cursor:pointer;transition:all .3s ease;margin-top:.5rem}.submit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 25px rgba(102,126,234,.4)}.submit-button:disabled{opacity:.6;cursor:not-allowed}@media (max-width:640px){.password-container{padding:2rem 1.5rem}.password-title{font-size:1.5rem}.lock-icon{width:60px;height:60px}.lock-icon svg{width:30px;height:30px}}