.test-page-centered{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px}.test-page-centered .test-start-section{margin-top:0;width:100%;max-width:800px}.tests-header-section{margin-top:40px}.test-content-section{margin-top:40px;width:100%;max-width:1000px;margin-left:auto;margin-right:auto;padding:20px}.test-page-centered .test-content-section{margin-top:0;width:100%;max-width:1000px;align-self:center;display:flex;flex-direction:column;margin-left:auto;margin-right:auto;justify-content:flex-start;align-items:stretch}.test-content-section #testPageBody{width:100%;flex:1;min-height:0}.test-back-button-container{margin-bottom:30px;text-align:left;width:100%;flex-shrink:0}.test-back-button{padding:10px 20px;background-color:transparent;color:var(--primary-dark);border:2px solid var(--primary-dark);border-radius:8px;font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:600;cursor:pointer;transition:all 0.3s}.test-back-button:hover{background-color:var(--primary-dark);color:var(--white);transform:translateY(-2px)}.test-questions-navigation{margin-top:40px;padding-top:30px;border-top:2px solid rgba(78,79,115,0.2);width:100%;flex-shrink:0}.test-questions-nav-title{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.1rem;font-weight:600;color:var(--text-dark);margin-bottom:20px;text-align:center}.test-questions-nav-list{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;max-width:100%}.test-question-nav-item{width:45px;height:45px;border:2px solid var(--primary-dark);border-radius:8px;background-color:var(--white);color:var(--primary-dark);font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:600;cursor:pointer;transition:all 0.3s;display:flex;align-items:center;justify-content:center}.test-question-nav-item:hover{background-color:var(--primary-blue);color:var(--white);border-color:var(--primary-blue);transform:translateY(-2px)}.test-question-nav-item.answered{background-color:var(--primary-dark);color:var(--white);border-color:var(--primary-dark)}.test-question-nav-item.current{background-color:var(--primary-blue);color:var(--white);border-color:var(--primary-blue);box-shadow:0 0 0 3px rgba(78,79,115,0.3);transform:scale(1.1)}.test-question-nav-item.unanswered{background-color:var(--white);color:var(--text-dark);border-color:rgba(78,79,115,0.3);opacity:0.6}.test-question-nav-item.unanswered:hover{opacity:1;border-color:var(--primary-dark)}@media (max-width:768px){.test-question-nav-item{width:40px;height:40px;font-size:0.9rem}.test-questions-nav-list{gap:8px}}.test-content-section .test-category-table-container{max-width:100%;overflow-x:auto}.tests-intro{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.1rem;font-weight:400;color:var(--text-dark);margin-top:0px;line-height:1.6;text-align:center}.test-start-section{margin-top:40px}.test-start-container{max-width:800px;margin:0 auto}.test-start-info{background-color:var(--white);border:2px solid var(--primary-dark);border-radius:12px;padding:40px}.test-start-title{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:2rem;font-weight:700;color:var(--primary-dark);margin-bottom:15px}.test-start-author,.test-start-source{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.95rem;font-weight:400;color:var(--text-dark);opacity:0.7;margin-bottom:8px;font-style:italic}.test-start-description{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:400;color:var(--text-dark);line-height:1.8;margin-bottom:30px}.test-start-instructions{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:400;color:var(--text-dark);line-height:1.8;margin-bottom:30px;padding:20px;background-color:var(--brown-light);border-radius:8px;color:var(--white)}.test-start-instructions strong{font-weight:700}.test-start-button{padding:15px 40px;background-color:var(--primary-dark);color:var(--white);border:none;border-radius:8px;font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.2rem;font-weight:600;cursor:pointer;transition:all 0.3s;display:block;margin:0 auto}.test-start-button:hover{background-color:var(--primary-blue);transform:translateY(-2px);box-shadow:0 4px 12px rgba(78,79,115,0.3)}@media (max-width:768px){.test-start-info{padding:30px 20px}}.section.tests-filter-section{margin-top:40px;display:block !important;width:100%;visibility:visible !important}.tests-filter-container{max-width:1200px;margin:0 auto;padding:0 20px;display:flex !important;flex-direction:column;align-items:center;gap:20px;visibility:visible !important}.tests-filter-label{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.1rem;font-weight:600;color:var(--text-dark);margin:0;text-align:center !important;display:block !important;visibility:visible !important;width:100%}.tests-filter-cards{display:flex !important;gap:15px;flex-wrap:wrap;justify-content:center;align-items:center;width:100%;visibility:visible !important;opacity:1 !important}.tests-filter-card{display:flex !important;align-items:center;gap:12px;padding:12px 20px;background-color:rgba(255,255,255,0.9);border:2px solid rgba(78,79,115,0.3);border-radius:8px;color:var(--primary-dark);font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:600;cursor:pointer;transition:all 0.3s ease;box-shadow:0 2px 8px rgba(0,0,0,0.1);backdrop-filter:blur(10px);visibility:visible !important;opacity:1 !important}.tests-filter-card:hover{background-color:rgba(78,79,115,0.1);border-color:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px rgba(78,79,115,0.2)}.tests-filter-card.active{background-color:var(--primary-dark);color:var(--white);border-color:var(--primary-dark);box-shadow:0 4px 12px rgba(78,79,115,0.3)}.tests-filter-card.active:hover{background-color:var(--primary-blue);border-color:var(--primary-blue)}.tests-filter-checkbox{width:20px !important;height:20px !important;min-width:20px !important;min-height:20px !important;border:2px solid var(--primary-dark) !important;border-radius:4px;background-color:var(--white) !important;display:block !important;align-items:center;justify-content:center;flex-shrink:0;transition:all 0.3s ease;position:relative;visibility:visible !important;opacity:1 !important}.tests-filter-card.active .tests-filter-checkbox{background-color:var(--white);border-color:var(--white)}.tests-filter-card.active .tests-filter-checkbox::after{content:'✓';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:var(--primary-dark);font-weight:bold;font-size:14px;line-height:1}.tests-filter-card:not(.active) .tests-filter-checkbox{border-color:var(--primary-dark)}.tests-filter-card.active:hover .tests-filter-checkbox{border-color:var(--white)}.tests-filter-text{user-select:none}@media (max-width:768px){.tests-filter-container{padding:0 15px}.tests-filter-label{font-size:1rem;margin-bottom:15px}.tests-filter-cards{gap:10px}.tests-filter-card{padding:10px 16px;font-size:0.95rem;flex:1;min-width:140px;justify-content:center}.tests-filter-checkbox{width:18px;height:18px}}.tests-list-section{margin-top:60px}.tests-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:30px;max-width:1200px}.test-card{background-color:var(--white);border:2px solid var(--primary-dark);border-radius:12px;padding:30px;transition:all 0.3s ease;cursor:pointer;display:flex;flex-direction:column}.test-card:hover{box-shadow:0 8px 24px rgba(78,79,115,0.15);transform:translateY(-4px);border-color:var(--primary-blue)}.test-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:10px;flex-wrap:wrap}.test-card-title{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.4rem;font-weight:700;color:var(--text-dark);margin:0;line-height:1.4;flex:1;min-width:200px}.test-card-topic{display:inline-flex;align-items:center;padding:6px 12px;background-color:var(--primary-dark);color:var(--white);border-radius:6px;font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.85rem;font-weight:600;white-space:nowrap;flex-shrink:0;box-shadow:0 2px 4px rgba(78,79,115,0.2)}.test-card-author,.test-card-source{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.9rem;font-weight:400;color:var(--text-dark);line-height:1.5;margin-bottom:8px;opacity:0.7;font-style:italic}.test-card-description{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:400;color:var(--text-dark);line-height:1.6;margin-bottom:20px;flex-grow:1;opacity:0.8}.test-card-button{padding:12px 24px;background-color:var(--primary-dark);color:var(--white);border:none;border-radius:8px;font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:600;cursor:pointer;transition:all 0.3s;margin-top:auto;text-decoration:none;display:inline-block;text-align:center}.test-card-button:hover{background-color:var(--primary-blue);transform:translateY(-2px);text-decoration:none;color:var(--white)}.tests-empty{text-align:center;padding:60px 20px;color:var(--text-dark);opacity:0.6;grid-column:1 / -1}.tests-empty-text{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.1rem;font-weight:400}.test-modal{display:none;position:fixed;z-index:2000;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgba(0,0,0,0.6);backdrop-filter:blur(4px)}.test-modal.show{display:flex;align-items:center;justify-content:center;padding:20px}.test-modal-content{background-color:var(--white);border-radius:12px;padding:40px;max-width:800px;width:100%;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 8px 32px rgba(0,0,0,0.3)}.test-modal-close{position:absolute;top:20px;right:30px;color:var(--text-dark);font-size:32px;font-weight:bold;cursor:pointer;transition:color 0.3s;z-index:10}.test-modal-close:hover{color:var(--primary-blue)}.test-modal-body{margin-top:20px}.test-category-header{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.5rem;font-weight:700;color:var(--primary-dark);margin-bottom:30px;margin-top:20px;padding-bottom:15px;border-bottom:3px solid var(--primary-dark);text-align:center}.test-category-header:first-child{margin-top:0}.test-info-block{margin-bottom:30px;padding:25px;background-color:rgba(78,79,115,0.05);border-radius:8px;border-left:4px solid var(--primary-dark)}.test-info-description{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;line-height:1.6;color:var(--text-dark);margin-bottom:15px}.test-info-description p{margin:0 0 10px 0}.test-info-description p:last-child{margin-bottom:0}.test-info-meta{margin-top:15px;padding-top:15px;border-top:1px solid rgba(78,79,115,0.2)}.test-info-author,.test-info-source{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.9rem;line-height:1.5;color:var(--text-dark);opacity:0.8;margin:5px 0}.test-info-author strong,.test-info-source strong{font-weight:600;opacity:1}.test-checklist-instructions{margin-bottom:30px;padding:20px;background-color:var(--brown-light);border-radius:8px}.test-checklist-instructions-title{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.2rem;font-weight:700;color:var(--white);margin-bottom:10px}.test-checklist-instructions-text{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;color:var(--white);margin-bottom:15px}.test-checklist-scale{display:flex;flex-wrap:wrap;gap:20px;justify-content:flex-start;align-items:center}.test-checklist-scale-item{display:flex;align-items:center;gap:5px;font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;color:var(--white)}.test-checklist-scale-number{font-weight:700;font-size:1.1rem}.test-checklist-scale-equals{font-weight:400}.test-checklist-scale-text{font-weight:400}.test-checklist-questions{margin-top:30px}.test-checklist-question{margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid rgba(78,79,115,0.2)}.test-checklist-question:last-child{border-bottom:none}.test-checklist-question-number{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:700;color:var(--text-dark);display:inline-block;margin-right:5px}.test-checklist-question-text{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:400;color:var(--text-dark);display:inline-block;line-height:1.5;margin-bottom:15px}.test-checklist-options{display:flex;flex-wrap:wrap;gap:20px;margin-top:15px;padding-left:25px}.test-checklist-option{display:flex;flex-direction:column;align-items:center;cursor:pointer;position:relative;min-width:100px;padding-top:5px}.test-checklist-radio{position:absolute;opacity:0;cursor:pointer;width:100%;height:100%;top:0;left:0;margin:0;z-index:2}.test-checklist-option-content{display:flex;flex-direction:row;align-items:center;gap:5px;padding-top:25px;transition:all 0.3s;position:relative;justify-content:center}.test-checklist-option-number{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.9rem;font-weight:400;color:var(--text-dark)}.test-checklist-option-text{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.85rem;font-weight:400;color:var(--text-dark);text-align:center;line-height:1.3}.test-checklist-option::before{content:'';position:absolute;top:5px;left:50%;transform:translateX(-50%);width:20px;height:20px;border:2px solid var(--primary-dark);border-radius:50%;background-color:var(--white);transition:all 0.3s;z-index:0;box-sizing:border-box}.test-checklist-radio:checked~.test-checklist-option-content::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:20px;height:20px;border:2px solid var(--primary-dark);border-radius:50%;background-color:var(--primary-dark);z-index:1;box-sizing:border-box}.test-checklist-option:hover::before{border-color:var(--primary-blue);transform:translateX(-50%) scale(1.1)}.test-checklist-radio:checked~.test-checklist-option-content:hover::before{transform:translateX(-50%) scale(1.05)}.test-checklist-radio:checked~.test-checklist-option-content .test-checklist-option-number,.test-checklist-radio:checked~.test-checklist-option-content .test-checklist-option-text{color:var(--primary-dark);font-weight:400}@media (max-width:768px){.test-checklist-scale{flex-direction:column;align-items:flex-start;gap:10px}.test-checklist-options{flex-direction:column;align-items:flex-start;gap:15px;padding-left:0}.test-checklist-option{flex-direction:row;align-items:center;min-width:auto;width:100%}.test-checklist-option-content{flex-direction:row;align-items:center;gap:10px;padding-top:0;padding-left:30px}.test-checklist-option::before{top:0;left:0;transform:none}.test-checklist-radio:checked~.test-checklist-option-content::before{top:0;left:0;transform:none}}.test-question{margin-bottom:40px}.test-question-title{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.3rem;font-weight:700;color:var(--text-dark);margin-bottom:20px;line-height:1.5}.test-question-number{color:var(--primary-dark);opacity:0.7;font-size:0.9em;font-weight:600}.test-options{display:flex;flex-direction:column;gap:15px}.test-option{padding:15px 20px;background-color:var(--white);border:2px solid var(--primary-dark);border-radius:8px;font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:400;color:var(--text-dark);cursor:pointer;transition:all 0.3s;text-align:left}.test-option:hover{background-color:var(--primary-dark);color:var(--white)}.test-option.selected{background-color:var(--primary-dark);color:var(--white)}.test-navigation{display:flex;justify-content:space-between;align-items:center;margin-top:40px;padding-top:30px;border-top:2px solid rgba(78,79,115,0.2)}.test-navigation--centered{justify-content:center;border-top:none;padding-top:0}.test-navigation--centered-flex{justify-content:center;gap:15px;flex-wrap:wrap;border-top:none;padding-top:0}.test-button{padding:12px 30px;background-color:var(--primary-dark);color:var(--white);border:none;border-radius:8px;font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:600;cursor:pointer;transition:all 0.3s}.test-button:hover:not(:disabled){background-color:var(--primary-blue);transform:translateY(-2px)}.test-button:disabled{opacity:0.5;cursor:not-allowed}.test-button-secondary{background-color:transparent;border:2px solid var(--primary-dark);color:var(--text-dark)}.test-button-secondary:hover:not(:disabled){background-color:var(--primary-dark);color:var(--white)}.test-progress{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.95rem;color:var(--text-dark);opacity:0.7}.test-result{text-align:center;padding:40px 20px}.test-result-title{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.8rem;font-weight:700;color:var(--text-dark);margin-bottom:30px}.test-result-score{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:3rem;font-weight:800;color:var(--primary-dark);margin-bottom:30px}.test-result-average,.test-result-max,.test-result-date{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.95rem;font-weight:400;color:var(--text-dark);opacity:0.7;margin-bottom:10px;margin-bottom:15px}.test-result-description{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.1rem;font-weight:400;color:var(--text-dark);line-height:1.8;margin-bottom:30px;white-space:pre-wrap}.test-instructions{padding:20px 0}.test-instructions-title{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.8rem;font-weight:700;color:var(--text-dark);margin-bottom:15px}.test-instructions-author,.test-instructions-source{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.95rem;font-weight:400;color:var(--text-dark);opacity:0.7;margin-bottom:10px;font-style:italic}.test-instructions-text{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:400;color:var(--text-dark);line-height:1.8;margin-top:30px}.test-instructions-text p{margin-bottom:15px}.test-result-interpretation{padding:30px;border-radius:12px;margin-top:30px}.test-result-interpretation.low{background-color:#e8f5e9;color:#1b5e20}.test-result-interpretation.mild{background-color:#fffde7;color:#827717}.test-result-interpretation.moderate{background-color:#fff3e0;color:#e65100}.test-result-interpretation.high{background-color:#ffebee;color:#b71c1c}.test-result-interpretation:not(.low):not(.mild):not(.moderate):not(.high){background-color:var(--brown-light);color:var(--white)}.test-result-interpretation-title{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.3rem;font-weight:700;margin-bottom:20px}.test-result-interpretation-text{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:400;line-height:1.8;white-space:pre-wrap}.test-result-interpretation.low .test-result-interpretation-title,.test-result-interpretation.low .test-result-interpretation-text{color:#1b5e20}.test-result-interpretation.mild .test-result-interpretation-title,.test-result-interpretation.mild .test-result-interpretation-text{color:#827717}.test-result-interpretation.moderate .test-result-interpretation-title,.test-result-interpretation.moderate .test-result-interpretation-text{color:#e65100}.test-result-interpretation.high .test-result-interpretation-title,.test-result-interpretation.high .test-result-interpretation-text{color:#b71c1c}.test-result-interpretation:not(.low):not(.mild):not(.moderate):not(.high) .test-result-interpretation-title,.test-result-interpretation:not(.low):not(.mild):not(.moderate):not(.high) .test-result-interpretation-text{color:var(--white)}.test-result-categories{margin:40px 0;text-align:left}.test-result-categories-title{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.3rem;font-weight:700;color:var(--text-dark);margin-bottom:25px;text-align:center}.test-result-categories-list{display:flex;flex-direction:column;gap:20px}.test-result-category-item{background-color:var(--white);border:2px solid var(--primary-dark);border-radius:8px;padding:20px;transition:all 0.3s}.test-result-category-item:hover{box-shadow:0 4px 12px rgba(78,79,115,0.2)}.test-result-category-item.high{border-color:#d32f2f;background-color:#ffebee}.test-result-category-item.moderate{border-color:#f57c00;background-color:#fff3e0}.test-result-category-item.mild{border-color:#fbc02d;background-color:#fffde7}.test-result-category-item.low{border-color:#388e3c;background-color:#e8f5e9}.test-result-category-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.test-result-category-name{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.1rem;font-weight:600;color:var(--text-dark);flex:1}.test-result-category-score{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:700;color:var(--primary-dark)}.test-result-category-bar{width:100%;height:12px;background-color:rgba(78,79,115,0.1);border-radius:6px;overflow:hidden;margin-bottom:10px}.test-result-category-bar-fill{height:100%;background-color:var(--primary-dark);transition:width 0.5s ease;border-radius:6px}.test-result-category-item.high .test-result-category-bar-fill{background-color:#d32f2f}.test-result-category-item.moderate .test-result-category-bar-fill{background-color:#f57c00}.test-result-category-item.mild .test-result-category-bar-fill{background-color:#fbc02d}.test-result-category-item.low .test-result-category-bar-fill{background-color:#388e3c}.test-result-category-footer{display:flex;justify-content:space-between;align-items:center}.test-result-category-percentage{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.95rem;font-weight:600;color:var(--text-dark)}.test-result-category-difficulty{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.9rem;font-weight:500;color:var(--text-dark);opacity:0.8}.test-result-percentage{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:400;color:var(--text-dark);opacity:0.7;margin-bottom:15px}@media (max-width:768px){.test-result-category-header{flex-direction:column;align-items:flex-start;gap:10px}.test-result-category-footer{flex-direction:column;align-items:flex-start;gap:5px}}@media (max-width:768px){.tests-container{grid-template-columns:1fr}.test-card{padding:20px}.test-card-header{flex-direction:column;align-items:flex-start;gap:10px}.test-card-title{min-width:auto;width:100%}.test-card-topic{font-size:0.8rem;padding:5px 10px}.test-modal-content{padding:30px 20px;max-height:95vh}.test-modal-close{top:15px;right:20px;font-size:28px}.test-question-title{font-size:1.2rem}.test-navigation{flex-direction:column;gap:15px}.test-button{width:100%}}.test-category-table-container{margin-top:30px;overflow-x:auto}.test-category-table{width:100%;border-collapse:collapse;background-color:var(--white);border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.1)}.test-category-table thead{background-color:var(--primary-dark);color:var(--white)}.test-question-column{padding:15px;text-align:left;font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:700;min-width:300px}.test-answer-column{padding:15px;text-align:center;font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.9rem;font-weight:600;min-width:120px}.test-answer-label{font-size:1.1rem;font-weight:700;display:inline;margin-right:5px}.test-answer-text{font-size:0.85rem;font-weight:400;line-height:1.2;display:inline}.test-question-cell{padding:15px;vertical-align:top}.test-question-number{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.95rem;font-weight:700;color:var(--primary-dark);margin-bottom:5px}.test-question-text{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.95rem;font-weight:400;color:var(--text-dark);line-height:1.4}.test-answer-cell{padding:15px;text-align:center;vertical-align:middle}.test-radio-label{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;position:relative}.test-radio-input{position:absolute;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;z-index:2}.test-radio-custom{display:inline-block;width:24px;height:24px;border:2px solid var(--primary-dark);border-radius:50%;background-color:var(--white);transition:all 0.3s;position:relative}.test-radio-input:checked~.test-radio-custom{background-color:var(--primary-dark);border-color:var(--primary-dark)}.test-radio-input:checked~.test-radio-custom::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;background-color:var(--white)}.test-radio-label:hover .test-radio-custom{border-color:var(--primary-blue);transform:scale(1.1)}.test-category-table tbody tr{border-bottom:1px solid rgba(78,79,115,0.1)}.test-category-table tbody tr:last-child{border-bottom:none}.test-category-table tbody tr:hover{background-color:rgba(78,79,115,0.05)}@media (max-width:768px){.test-category-table{font-size:0.9rem}.test-question-column{min-width:200px;padding:10px;font-size:0.9rem}.test-answer-column{min-width:80px;padding:10px;font-size:0.8rem}.test-answer-text{font-size:0.75rem}.test-question-cell{padding:10px}.test-answer-cell{padding:10px}.test-question-text{font-size:0.85rem}}.test-category-table-horizontal{width:100%;border-collapse:collapse;background-color:var(--white);border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.1)}.test-category-table-horizontal thead{background-color:var(--primary-dark);color:var(--white)}.test-table-question-header{padding:15px;text-align:left;font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:700;min-width:300px}.test-table-answer-header{padding:15px;text-align:center;font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.9rem;font-weight:600;min-width:120px}.test-table-answer-header-content{display:flex;flex-direction:column;align-items:center;gap:5px}.test-table-answer-number{font-size:1.1rem;font-weight:700}.test-table-answer-text{font-size:0.85rem;font-weight:400;line-height:1.2}.test-table-question-row{border-bottom:1px solid rgba(78,79,115,0.1)}.test-table-question-row:last-child{border-bottom:none}.test-table-question-row:hover{background-color:rgba(78,79,115,0.05)}.test-table-question-cell{padding:15px;vertical-align:top}.test-table-question-number{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.95rem;font-weight:700;color:var(--primary-dark);margin-bottom:5px}.test-table-question-text{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:0.95rem;font-weight:400;color:var(--text-dark);line-height:1.4}.test-table-answer-cell{padding:15px;text-align:center;vertical-align:middle}.test-table-radio-label{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;position:relative}.test-table-radio-input{position:absolute;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;z-index:2}.test-table-radio-custom{display:inline-block;width:24px;height:24px;border:2px solid var(--primary-dark);border-radius:50%;background-color:var(--white);transition:all 0.3s;position:relative}.test-table-radio-input:checked~.test-table-radio-custom{background-color:var(--primary-dark);border-color:var(--primary-dark)}.test-table-radio-label:hover .test-table-radio-custom{border-color:var(--primary-blue);transform:scale(1.1)}@media (max-width:768px){.test-category-table-container{overflow-x:scroll}.test-table-question-header{min-width:200px;font-size:0.9rem;padding:10px}.test-table-answer-header{min-width:80px;font-size:0.8rem;padding:10px}.test-table-answer-text{font-size:0.75rem}.test-table-question-cell{padding:10px}.test-table-answer-cell{padding:10px}.test-table-question-text{font-size:0.85rem}}.test-loading-message{text-align:center;padding:40px}.test-flex-row{display:flex;gap:15px}.test-navigation-centered{margin-top:40px;justify-content:center}.test-navigation-centered-flex{margin-top:40px;justify-content:center;gap:15px;flex-wrap:wrap}.test-print-title{text-align:center}.test-print-meta{text-align:center;font-size:12px;color:#666}.test-print-date{text-align:center;font-size:12px}.test-print-section-title{page-break-before:always;margin-top:40px}.test-print-category-title{margin-top:30px;color:#4e4f73}.test-back-button-container{margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid rgba(78,79,115,0.2)}.test-back-button{padding:10px 20px;background-color:transparent;color:var(--primary-dark);border:2px solid var(--primary-dark);border-radius:8px;font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:600;cursor:pointer;transition:all 0.3s;text-decoration:none;display:inline-block}.test-back-button:hover{background-color:var(--primary-dark);color:var(--white);transform:translateY(-2px);box-shadow:0 4px 12px rgba(78,79,115,0.3)}.test-questions-navigation{margin-top:40px;padding-top:30px;border-top:2px solid rgba(78,79,115,0.2)}.test-questions-nav-title{font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1.1rem;font-weight:700;color:var(--primary-dark);margin-bottom:20px;text-align:center}.test-questions-nav-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(50px,1fr));gap:10px;max-width:100%;margin:0 auto}.test-question-nav-item{width:50px;height:50px;border:2px solid;border-radius:8px;background-color:var(--white);color:var(--text-dark);font-family:'OpenSans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;font-weight:600;cursor:pointer;transition:all 0.3s;display:flex;align-items:center;justify-content:center;position:relative}.test-question-nav-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.15)}.test-question-nav-item.answered{background-color:#e8f5e9;border-color:#4caf50;color:#2e7d32}.test-question-nav-item.answered:hover{background-color:#c8e6c9;box-shadow:0 4px 12px rgba(76,175,80,0.3)}.test-question-nav-item.unanswered{background-color:#f0f0f5;border-color:#9a9bb8;color:#6B6D9A}.test-question-nav-item.unanswered:hover{background-color:#e5e5ed;box-shadow:0 4px 12px rgba(78,79,115,0.2)}.test-question-nav-item.current{background-color:#6B6D9A;border-color:#4E4F73;color:#ffffff;font-weight:700;box-shadow:0 4px 16px rgba(78,79,115,0.4)}.test-question-nav-item.current:hover{background-color:#5a5c85;border-color:#4E4F73;transform:translateY(-2px);box-shadow:0 4px 16px rgba(78,79,115,0.5)}.test-question-nav-item.current.answered{background-color:#6B6D9A;border-color:#4E4F73;color:#ffffff}.test-question-nav-item.current.answered:hover{background-color:#5a5c85}.test-question-nav-item.current.unanswered{background-color:#6B6D9A;border-color:#4E4F73;color:#ffffff}.test-question-nav-item.current.unanswered:hover{background-color:#5a5c85}@media (max-width:768px){.test-questions-nav-grid{grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:8px}.test-question-nav-item{width:40px;height:40px;font-size:0.9rem}}
/* === Enhanced test UI (2025 refresh) === */

/* Category header: flex column, aligned */
.test-category-header{display:flex !important;flex-direction:column;align-items:center;gap:10px;padding:20px 0 24px;border-bottom:none !important}

/* Category progress pill */
.test-cat-progress{display:inline-flex;align-items:center;background:rgba(78,79,115,0.12);color:var(--primary-dark);border-radius:20px;padding:4px 16px;font-size:0.75rem;font-weight:700;letter-spacing:0.08em;text-transform:uppercase}

/* Overall progress strip (below header) */
.test-overall-progress-strip{width:100%;height:5px;background:rgba(78,79,115,0.12);border-radius:3px;margin-bottom:16px;overflow:hidden}
.test-overall-progress-fill{height:100%;background:var(--primary-dark);border-radius:3px;transition:width 0.6s ease}

/* Sticky table header */
.test-category-table thead{position:sticky;top:0;z-index:10;box-shadow:0 3px 10px rgba(78,79,115,0.18)}

/* Answer header cells — vertical layout */
.test-answer-header-inner{display:flex;flex-direction:column;align-items:center;gap:5px}
.test-answer-column .test-answer-label{font-size:1.15rem;font-weight:800;display:block}
.test-answer-column .test-answer-text{font-size:0.78rem;font-weight:400;line-height:1.25;display:block;opacity:0.88}

/* Question number badge inside table */
.test-category-table .test-question-number,.test-table-question-number{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 6px;background:var(--primary-dark);color:#fff;border-radius:50%;font-size:0.8rem;font-weight:700;margin-bottom:7px;line-height:1;box-sizing:border-box;flex-shrink:0}

/* Answered row subtle highlight */
.row-answered{background:rgba(78,79,115,0.045) !important}
.row-answered .test-category-table .test-question-number,.row-answered .test-question-number{background:#417a56}

/* Radio buttons — slightly larger */
.test-radio-custom{width:27px;height:27px}
.test-radio-input:checked~.test-radio-custom::after{width:9px;height:9px}
.test-table-radio-custom{width:27px;height:27px}

/* Wider answer column hit area */
.test-answer-cell,.test-table-answer-cell{padding:12px 8px}

/* ── Single-question mode: number badge ── */
.test-q-header{display:flex;align-items:baseline;gap:10px;margin-bottom:10px}
.test-q-num-badge{font-size:2.4rem;font-weight:800;color:var(--primary-dark);line-height:1;font-family:'OpenSans',-apple-system,sans-serif}
.test-q-total{font-size:1rem;color:var(--text-dark);opacity:0.45;font-weight:400}

/* Navigation: buttons a bit more rounded */
.test-button{border-radius:10px}

/* ── Mobile tweaks ── */
@media(max-width:768px){
  .test-q-num-badge{font-size:1.9rem}
  .test-category-table .test-question-number{min-width:24px;height:24px;font-size:0.75rem}
  .test-overall-progress-strip{margin-bottom:12px}
}

.test-cat-done{margin-bottom:16px;border:1px solid rgba(78,79,115,.15);border-radius:10px;opacity:.6;pointer-events:none;}

/* Compact list layout for tests index */
.tests-list-section{margin-top:36px}
.tests-container{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;max-width:1120px;align-items:start}
.test-card{padding:18px;border-width:1.5px;border-radius:10px}
.test-card-header{margin-bottom:8px;gap:8px}
.test-card-title{font-size:1.05rem;line-height:1.35;min-width:0}
.test-card-topic{font-size:.74rem;padding:4px 9px;border-radius:999px}
.test-card-source{font-size:.82rem;margin-bottom:6px}
.test-card-description{font-size:.92rem;line-height:1.45;margin-bottom:14px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.test-card-button{padding:10px 14px;font-size:.92rem;border-radius:7px}

@media (max-width:768px){
  .tests-container{gap:12px}
  .test-card{padding:14px}
  .test-card-title{font-size:1rem}
  .test-card-description{-webkit-line-clamp:3;font-size:.9rem}
  .test-card-button{padding:9px 12px;font-size:.88rem}
}

/* Tighten top spacing on tests index */
.main-content{
  padding-top:20px;
}

.tests-header-section{
  margin-top:10px;
  margin-bottom:10px;
}

.tests-intro{
  margin-top:4px;
}

.section.tests-filter-section{
  margin-top:14px;
}

.tests-filter-container{
  gap:12px;
}

.tests-list-section{
  margin-top:20px;
}

@media (max-width:768px){
  .main-content{padding-top:12px}
  .tests-header-section{margin-top:4px;margin-bottom:6px}
  .section.tests-filter-section{margin-top:10px}
  .tests-list-section{margin-top:14px}
}