:root{--primary: #2c3e50;--secondary: #3498db;--accent: #e74c3c;--success: #27ae60;--warning: #f39c12;--light: #ecf0f1;--dark: #2c3e50;--gray: #95a5a6;--light-gray: #ecf0f1;--border-radius: 8px;--shadow: 0 4px 12px rgba(0, 0, 0, .1)}*{margin:0;padding:0;box-sizing:border-box;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}body{background-color:#f5f7fa;color:#333;line-height:1.6}.app-container{min-height:100vh;display:flex;flex-direction:column}.card{background:#fff;border-radius:var(--border-radius);box-shadow:var(--shadow);padding:25px;margin-bottom:20px}.button{padding:12px 24px;border-radius:var(--border-radius);font-weight:600;cursor:pointer;border:none;font-size:16px;transition:all .3s ease;display:inline-flex;align-items:center;justify-content:center}.home-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:20px;background:linear-gradient(135deg,#f5f7fa,#e4e7eb)}.exam-card{width:100%;max-width:1000px;background:#fff;border-radius:var(--border-radius);box-shadow:0 10px 30px #0000001a;overflow:hidden}.exam-header{background:linear-gradient(135deg,var(--primary),#1a2530);color:#fff;padding:30px;text-align:center}.exam-header h1{font-size:2.5rem;margin-bottom:10px}.exam-header p{font-size:1.1rem;opacity:.9}.highlight{color:#4caf50}.exam-content{display:flex;flex-wrap:wrap;padding:30px}.exam-description{flex:1;min-width:300px;padding-right:30px}.exam-description h2{font-size:1.8rem;margin-bottom:20px;color:var(--dark)}.exam-description p{margin-bottom:25px;color:#555;font-size:1.1rem;line-height:1.7}.features{margin-bottom:30px}.feature{display:flex;align-items:flex-start;margin-bottom:15px}.feature-icon{background:#e8f5e9;color:#4caf50;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:15px;flex-shrink:0;font-weight:700}.start-button{background:linear-gradient(to right,#2c3e50,#3498db);color:#fff;padding:15px 35px;border-radius:50px;font-size:1.1rem;font-weight:600;border:none;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #3498db4d}.start-button:hover{transform:translateY(-3px);box-shadow:0 6px 20px #3498db66}.exam-preview{flex:1;min-width:300px;display:flex;align-items:center;justify-content:center}.preview-card{width:100%;max-width:400px;background:#f9f9f9;border-radius:var(--border-radius);overflow:hidden;box-shadow:0 5px 15px #00000014}.preview-header{background:#2c3e50;color:#fff;padding:15px;display:flex;justify-content:space-between;align-items:center}.preview-timer{display:flex;align-items:center;background:#e74c3c;padding:5px 12px;border-radius:20px;font-weight:600}.preview-title{font-weight:500}.preview-question{padding:20px}.preview-question p{margin-bottom:20px;font-size:1.1rem;font-weight:500}.preview-options{display:grid;grid-template-columns:1fr;gap:10px}.preview-option{padding:12px 15px;background:#fff;border:2px solid #eee;border-radius:8px;cursor:pointer;transition:all .2s ease}.preview-option.selected{border-color:#4caf50;background:#e8f5e9}.exam-footer{background:#f8f9fa;padding:15px 30px;border-top:1px solid #eee;text-align:center;color:#666;font-size:.95rem}.test-container{display:flex;flex-direction:column;min-height:100vh;background:#f5f7fa}.test-header{background:linear-gradient(135deg,var(--primary),#1a2530);color:#fff;padding:15px 0;box-shadow:0 2px 10px #0000001a}.header-content{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center}.header-content h1{font-size:1.5rem;margin-bottom:5px}.header-content p{font-size:.9rem;opacity:.8}.timer-display{background:#e74c3c;padding:8px 15px;border-radius:20px;font-weight:600;font-size:1.1rem;display:flex;align-items:center}.timer-icon{margin-right:8px}.progress-container{height:8px;background:#e0e0e0}.progress-bar{height:100%;background:linear-gradient(90deg,#3498db,#2ecc71);border-radius:0 4px 4px 0;transition:width .3s ease}.test-content{max-width:1200px;margin:30px auto;padding:0 20px;display:flex;flex-wrap:wrap;gap:20px}.question-card{flex:1;min-width:300px;background:#fff;border-radius:var(--border-radius);box-shadow:var(--shadow);overflow:hidden}.question-header{padding:20px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center}.question-number{font-size:1.1rem;color:#555}.question-number span{font-weight:600;color:var(--dark)}.progress-indicator{background:#e3f2fd;color:#1976d2;padding:5px 15px;border-radius:20px;font-weight:500;font-size:.9rem}.question-body{padding:25px}.question-text{font-size:1.3rem;font-weight:500;margin-bottom:30px;line-height:1.5;color:#333}.options-container{display:grid;grid-template-columns:1fr;gap:15px}.option{padding:15px;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;display:flex;align-items:flex-start;transition:all .2s ease}.option:hover{border-color:#90caf9;background:#e3f2fd}.option.selected{border-color:#4caf50;background:#e8f5e9}.option-marker{width:24px;height:24px;border:2px solid #ccc;border-radius:50%;margin-right:15px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s ease}.option.selected .option-marker{border-color:#4caf50;background:#4caf50}.option-selected{width:12px;height:12px;background:#fff;border-radius:50%}.option-text{font-size:1.1rem;color:#333}.question-navigation{padding:20px;border-top:1px solid #eee;display:flex;justify-content:space-between;align-items:center}.nav-button{padding:10px 25px;border-radius:var(--border-radius);font-weight:600;cursor:pointer;border:none;font-size:1rem;transition:all .3s ease}.nav-button.prev{background:#e0e0e0;color:#555}.nav-button.prev:hover:not(.disabled){background:#d0d0d0}.nav-button.prev.disabled{opacity:.6;cursor:not-allowed}.nav-button.next{background:#3498db;color:#fff}.nav-button.next:hover{background:#2980b9}.nav-button.submit{background:#27ae60;color:#fff}.nav-button.submit:hover{background:#219653}.status-indicator{color:#555;font-weight:500}.question-grid-container{flex:0 0 300px;background:#fff;border-radius:var(--border-radius);box-shadow:var(--shadow);padding:20px}.question-grid-container h3{margin-bottom:15px;color:#333;font-size:1.2rem}.question-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:10px}.grid-item{height:40px;display:flex;align-items:center;justify-content:center;background:#f1f8e9;border:2px solid #c5e1a5;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s ease}.grid-item:hover{background:#e3f2fd;border-color:#90caf9}.grid-item.current{background:#bbdefb;border-color:#64b5f6;transform:scale(1.1)}.grid-item.answered{background:#c8e6c9;border-color:#81c784}.grid-legend{display:flex;justify-content:center;gap:20px;margin-top:20px}.legend-item{display:flex;align-items:center;gap:8px}.legend-color{width:20px;height:20px;border-radius:4px}.legend-color.answered{background:#c8e6c9;border:1px solid #81c784}.legend-color.current{background:#bbdefb;border:1px solid #64b5f6}.test-footer{max-width:1200px;margin:0 auto 30px;padding:0 20px;text-align:center;color:#666;font-size:.9rem}.result-container{max-width:1000px;margin:40px auto;padding:0 20px}.result-header{text-align:center;margin-bottom:40px}.result-header h1{font-size:2.5rem;color:var(--primary);margin-bottom:10px}.result-header p{color:#666;font-size:1.1rem}.result-summary{display:flex;flex-wrap:wrap;gap:30px;margin-bottom:40px}.score-display{flex:1;min-width:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border-radius:var(--border-radius);box-shadow:var(--shadow);padding:40px 20px}.score-value{font-size:4rem;font-weight:700;color:var(--primary);line-height:1;margin-bottom:10px}.score-label{font-size:1.2rem;color:#666}.stats-container{flex:2;min-width:300px;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:15px}.stat-card{background:#fff;border-radius:var(--border-radius);box-shadow:var(--shadow);padding:20px;text-align:center}.stat-value{font-size:2.5rem;font-weight:700;margin-bottom:10px}.stat-value.correct{color:#27ae60}.stat-value.wrong{color:#e74c3c}.stat-label{color:#666;font-size:1rem}.detailed-analysis{background:#fff;border-radius:var(--border-radius);box-shadow:var(--shadow);padding:30px;margin-bottom:40px}.detailed-analysis h2{font-size:1.8rem;color:var(--primary);margin-bottom:25px;padding-bottom:15px;border-bottom:1px solid #eee}.questions-list{max-height:500px;overflow-y:auto;padding-right:10px}.question-item{padding:20px;border-radius:var(--border-radius);margin-bottom:20px;border-left:4px solid #ccc}.question-item.correct{border-left-color:#27ae60;background:#e8f5e9}.question-item.wrong{border-left-color:#e74c3c;background:#fdecea}.question-item.unattempted{border-left-color:#95a5a6;background:#f8f9fa}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.question-header h3{font-size:1.2rem;color:#333;flex:1}.status-badge{padding:5px 15px;border-radius:20px;font-size:.9rem;font-weight:600}.status-badge.correct{background:#27ae60;color:#fff}.status-badge.wrong{background:#e74c3c;color:#fff}.status-badge.unattempted{background:#95a5a6;color:#fff}.answer-details{padding-left:10px}.answer-row{display:flex;margin-bottom:10px}.label{font-weight:600;min-width:120px;color:#555}.value{font-weight:500}.value.correct{color:#27ae60}.value.wrong{color:#e74c3c}.value.unattempted{color:#95a5a6}.result-actions{display:flex;justify-content:center;gap:20px;margin-top:30px}.action-button{padding:15px 40px;border-radius:50px;font-weight:600;font-size:1.1rem;cursor:pointer;transition:all .3s ease;border:none}.action-button.home{background:var(--primary);color:#fff}.action-button.home:hover{background:#1a2530}.action-button.retake{background:#fff;color:var(--primary);border:2px solid var(--primary)}.action-button.retake:hover{background:#f5f7fa}.result-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50vh}.loading-spinner{width:50px;height:50px;border:5px solid rgba(52,152,219,.2);border-top:5px solid #3498db;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:20px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){.exam-content{flex-direction:column}.exam-description{padding-right:0;margin-bottom:30px}.header-content{flex-direction:column;text-align:center}.timer-display{margin-top:10px}.test-content{flex-direction:column}.question-grid-container{flex:1}.result-summary{flex-direction:column}.score-display{order:-1}.result-actions{flex-direction:column;gap:10px}.action-button{width:100%}}@media (max-width: 480px){.question-navigation{flex-direction:column;gap:15px}.nav-button{width:100%}.status-indicator{text-align:center}}@tailwind base;@tailwind components;@tailwind utilities;body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f9fafb}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#c7d2fe;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#a5b4fc}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in{animation:fadeIn .3s ease-in-out}
