.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}.study-config-section{margin-top:1.25rem;padding:1rem 1.5rem;background-color:#f0fdf4;border-radius:.5rem;border:1px solid #bbf7d0}.study-config-row{display:flex;align-items:center;gap:.5rem}.auto-advance-info{position:relative;display:flex;align-items:center}.info-icon{width:1.1rem;height:1.1rem;color:#6b7280;cursor:pointer;flex-shrink:0}.auto-advance-tooltip{display:none;position:absolute;left:1.5rem;top:50%;transform:translateY(-50%);background:#1f2937;color:white;font-size:.8rem;line-height:1.4;padding:.5rem .75rem;border-radius:.4rem;width:260px;z-index:10;pointer-events:none;box-shadow:0 4px 12px rgba(0,0,0,.15)}.auto-advance-info:hover .auto-advance-tooltip{display:block}.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}}