Download static/css/main.css from QBANK/OFTQUEST: direct link, hf CLI and curl.
- Browser
- Download file 28.1 kB
-
https://huggingface.co/spaces/QBANK/OFTQUEST/resolve/main/static/css/main.css
- Command line
-
hf download hf://spaces/QBANK/OFTQUEST/static/css/main.css
-
curl -L -o main.css https://huggingface.co/spaces/QBANK/OFTQUEST/resolve/main/static/css/main.css
28.1 kB
| :root { | |
| --primary: #0d7377; | |
| --primary-dark: #095456; | |
| --primary-light: #e0f2f1; | |
| --accent: #DBAD6B; | |
| --correct: #34a853; | |
| --correct-bg: #e6f4ea; | |
| --wrong: #ea4335; | |
| --wrong-bg: #fce8e6; | |
| --selected: #0d7377; | |
| --selected-bg: #e0f2f1; | |
| --bg: #f0f2f5; | |
| --card-bg: #fff; | |
| --text: #202124; | |
| --text-sec: #5f6368; | |
| --border: #dadce0; | |
| --shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08); | |
| --shadow-hover: 0 4px 12px rgba(0,0,0,.15); | |
| --r: 12px; | |
| --transition: 0.2s ease; | |
| } | |
| * { margin: 0; padding: 0; box-sizing: border-box; } | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; | |
| background: var(--bg); | |
| color: var(--text); | |
| line-height: 1.6; | |
| min-height: 100vh; | |
| } | |
| /* ===== LOGIN PAGE ===== */ | |
| .login-container { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| min-height: 100vh; | |
| padding: 20px; | |
| background: linear-gradient(135deg, #0d2137 0%, #0a4f6d 50%, #0d7377 100%); | |
| } | |
| .login-card { | |
| background: white; | |
| border-radius: 16px; | |
| padding: 48px 40px; | |
| width: 100%; | |
| max-width: 420px; | |
| box-shadow: 0 20px 60px rgba(0,0,0,.3); | |
| } | |
| .login-logo { | |
| display: block; | |
| margin: 0 auto 20px; | |
| max-width: 220px; | |
| height: auto; | |
| pointer-events: auto; | |
| } | |
| .header-logo { | |
| height: 48px; | |
| width: auto; | |
| vertical-align: middle; | |
| border-radius: 6px; | |
| object-fit: contain; | |
| pointer-events: none; | |
| } | |
| .login-card h1 { | |
| text-align: center; | |
| font-size: 28px; | |
| margin-bottom: 8px; | |
| color: var(--primary); | |
| } | |
| .login-card .subtitle { | |
| text-align: center; | |
| color: var(--text-sec); | |
| margin-bottom: 32px; | |
| font-size: 14px; | |
| } | |
| .form-group { margin-bottom: 20px; } | |
| .form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text); } | |
| .form-group input { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 8px; font-size: 16px; transition: border-color var(--transition); outline: none; } | |
| .form-group input:focus { border-color: var(--primary); } | |
| .btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border: none; border-radius: 8px; font-size: 16px; font-weight: 500; cursor: pointer; transition: all var(--transition); text-decoration: none; } | |
| .btn-primary { background: var(--primary); color: white; width: 100%; } | |
| .btn-primary:hover { background: var(--primary-dark); } | |
| .btn-primary:disabled { opacity: .6; cursor: not-allowed; } | |
| .btn-secondary { background: var(--primary-light); color: var(--primary); } | |
| .btn-secondary:hover { background: #b2dfdb; } | |
| .btn-danger { background: var(--wrong); color: white; } | |
| .btn-danger:hover { background: #d33426; } | |
| .btn-sm { padding: 6px 14px; font-size: 13px; } | |
| .login-error { background: var(--wrong-bg); color: var(--wrong); padding: 12px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; display: none; } | |
| /* ===== APP LAYOUT ===== */ | |
| .app-header { | |
| background: white; | |
| border-bottom: 1px solid var(--border); | |
| padding: 8px 24px; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| position: sticky; | |
| top: 0; | |
| z-index: 100; | |
| box-shadow: 0 1px 3px rgba(0,0,0,.08); | |
| } | |
| .app-header .logo { cursor: pointer; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; } | |
| .app-header .brand-text { font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: 1px; } | |
| .app-header .user-menu { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; } | |
| .app-header .user-email { font-size: 13px; color: var(--text-sec); } | |
| .container { max-width: 960px; margin: 0 auto; padding: 24px 20px; } | |
| /* ===== TOPIC GRID ===== */ | |
| .page-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; } | |
| .page-subtitle { color: var(--text-sec); margin-bottom: 24px; } | |
| .topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; } | |
| .topic-card { | |
| background: var(--card-bg); | |
| border-radius: var(--r); | |
| padding: 24px; | |
| box-shadow: var(--shadow); | |
| cursor: pointer; | |
| transition: all var(--transition); | |
| border: 2px solid transparent; | |
| text-decoration: none; | |
| color: inherit; | |
| display: block; | |
| } | |
| .topic-card:hover { box-shadow: var(--shadow-hover); border-color: var(--primary); transform: translateY(-2px); } | |
| .topic-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--primary-dark); } | |
| .topic-card .count { color: var(--text-sec); font-size: 14px; } | |
| .topic-icon { font-size: 32px; margin-bottom: 12px; } | |
| /* ===== QUESTIONS ===== */ | |
| .question-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; } | |
| .question-nav .back-btn, .back-btn { color: var(--primary); text-decoration: none; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 4px; } | |
| .stats-bar { background: var(--card-bg); border-radius: var(--r); padding: 12px 20px; margin-bottom: 20px; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; } | |
| .question-card { background: var(--card-bg); border-radius: var(--r); padding: 24px; margin-bottom: 16px; box-shadow: var(--shadow); } | |
| .question-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; } | |
| .question-number { width: 36px; height: 36px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; } | |
| .question-header h3 { font-size: 16px; font-weight: 600; } | |
| .enunciado { margin-bottom: 16px; line-height: 1.8; font-size: 16px; color: var(--text); } | |
| .enunciado img, .gabarito-content img { max-width: 100%; border-radius: 8px; margin: 12px 0; display: block; } | |
| .enunciado p, .gabarito-content p { margin-bottom: 10px; } | |
| /* Force readable text — override light/white inline colors from source platform. | |
| The JS sanitizeInlineColors() handles most cases, but this is a CSS safety net. */ | |
| .enunciado [style*="color: white"], | |
| .enunciado [style*="color:white"], | |
| .enunciado [style*="color:#fff"], | |
| .enunciado [style*="color: #fff"], | |
| .enunciado .text-white, | |
| .gabarito-content [style*="color: white"], | |
| .gabarito-content [style*="color:white"], | |
| .gabarito-content [style*="color:#fff"], | |
| .gabarito-content [style*="color: #fff"], | |
| .gabarito-content .text-white, | |
| .alt-text [style*="color: white"], | |
| .alt-text [style*="color:white"], | |
| .alt-text [style*="color:#fff"], | |
| .alt-text [style*="color: #fff"] { | |
| color: #1a1a1a ; | |
| } | |
| /* Remove dark backgrounds from source platform that hide text */ | |
| .enunciado [style*="background-color: black"], | |
| .enunciado [style*="background-color:#000"], | |
| .enunciado [style*="background:#000"], | |
| .gabarito-content [style*="background-color: black"], | |
| .gabarito-content [style*="background-color:#000"], | |
| .gabarito-content [style*="background:#000"], | |
| .alt-text [style*="background-color: black"], | |
| .alt-text [style*="background-color:#000"] { | |
| background-color: transparent ; | |
| background: transparent ; | |
| } | |
| .alternativas { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; } | |
| .alternativa { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border: 2px solid var(--border); border-radius: 8px; cursor: pointer; transition: all var(--transition); font-size: 15px; } | |
| .alternativa:hover { border-color: var(--selected); background: var(--selected-bg); } | |
| .alternativa.selected { border-color: var(--selected); background: var(--selected-bg); } | |
| .alternativa.correct { border-color: var(--correct); background: var(--correct-bg); } | |
| .alternativa.wrong { border-color: var(--wrong); background: var(--wrong-bg); } | |
| .alternativa.disabled { pointer-events: none; opacity: .8; } | |
| .alternativa.correct-reveal { border-color: var(--correct); background: var(--correct-bg); } | |
| .alt-letter { width: 32px; height: 32px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; } | |
| .alternativa.selected .alt-letter { background: var(--selected); color: white; } | |
| .alternativa.correct .alt-letter { background: var(--correct); color: white; } | |
| .alternativa.wrong .alt-letter { background: var(--wrong); color: white; } | |
| .alternativa.correct-reveal .alt-letter { background: var(--correct); color: white; } | |
| .alt-text { flex: 1; padding-top: 3px; line-height: 1.6; } | |
| .alt-text img { max-width: 100%; border-radius: 6px; margin-top: 6px; } | |
| .btn-solution { background: none; border: 2px solid var(--border); padding: 10px 20px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--text-sec); transition: all var(--transition); display: flex; align-items: center; gap: 6px; } | |
| .btn-solution:hover { border-color: var(--primary); color: var(--primary); } | |
| .gabarito { display: none; margin-top: 16px; padding: 24px; background: var(--correct-bg); border-radius: 10px; border-left: 4px solid var(--correct); } | |
| .gabarito.show { display: block; } | |
| .gabarito-header { font-weight: 700; color: var(--correct); margin-bottom: 14px; font-size: 17px; } | |
| .gabarito-content { line-height: 1.8; font-size: 15px; color: #1a1a1a; } | |
| .gabarito-content .text-white { color: #1a1a1a ; } | |
| .gabarito-unavailable { color: var(--text-sec); font-style: italic; font-size: 14px; padding: 12px 0; } | |
| .gabarito-video { margin-top: 16px; background: white; border-radius: 8px; padding: 16px; } | |
| .gabarito-video .video-title { font-weight: 600; margin-bottom: 12px; } | |
| .gabarito-video iframe { width: 100%; aspect-ratio: 16/9; border: none; border-radius: 8px; } | |
| /* ===== PAGINATION ===== */ | |
| .pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; } | |
| .pagination button { padding: 8px 16px; border: 2px solid var(--border); background: white; border-radius: 8px; cursor: pointer; font-size: 14px; transition: all var(--transition); } | |
| .pagination button:hover { border-color: var(--primary); color: var(--primary); } | |
| .pagination button.active { background: var(--primary); color: white; border-color: var(--primary); } | |
| .pagination button:disabled { opacity: .4; cursor: not-allowed; } | |
| /* ===== ADMIN PANEL ===== */ | |
| .admin-tabs { display: flex; gap: 4px; margin-bottom: 24px; background: white; border-radius: var(--r); padding: 4px; box-shadow: var(--shadow); } | |
| .admin-tab { padding: 10px 20px; border: none; background: none; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text-sec); transition: all var(--transition); } | |
| .admin-tab.active { background: var(--primary); color: white; } | |
| .admin-tab:hover:not(.active) { background: var(--bg); } | |
| .stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; } | |
| .stat-card { background: white; border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); text-align: center; } | |
| .stat-card .stat-value { font-size: 32px; font-weight: 700; color: var(--primary); } | |
| .stat-card .stat-label { font-size: 13px; color: var(--text-sec); margin-top: 4px; } | |
| .data-table { width: 100%; background: white; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border-collapse: collapse; } | |
| .data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 13px; } | |
| .data-table th { background: var(--bg); font-weight: 600; color: var(--text-sec); text-transform: uppercase; font-size: 11px; letter-spacing: .5px; } | |
| .data-table tr:hover td { background: #f8f9fa; } | |
| .badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 600; } | |
| .badge-active { background: var(--correct-bg); color: var(--correct); } | |
| .badge-inactive { background: var(--wrong-bg); color: var(--wrong); } | |
| .badge-admin { background: #fef7e0; color: #f9a825; } | |
| /* ===== MODAL ===== */ | |
| .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; } | |
| .modal-overlay.show { display: flex; } | |
| .modal { background: white; border-radius: 16px; padding: 32px; max-width: 480px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.3); } | |
| .modal h2 { margin-bottom: 20px; } | |
| .modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; } | |
| /* ===== KICKED OVERLAY ===== */ | |
| .kicked-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.85); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 20px; } | |
| .kicked-overlay.show { display: flex; } | |
| .kicked-card { background: white; border-radius: 16px; padding: 48px; text-align: center; max-width: 420px; } | |
| .kicked-card h2 { color: var(--wrong); margin-bottom: 12px; } | |
| .kicked-card p { color: var(--text-sec); margin-bottom: 24px; } | |
| /* ===== LOADING ===== */ | |
| .loading { text-align: center; padding: 40px; color: var(--text-sec); } | |
| .spinner { width: 40px; height: 40px; border: 4px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 12px; } | |
| @keyframes spin { to { transform: rotate(360deg); } } | |
| /* ===== FORGOT PASSWORD ===== */ | |
| .forgot-container { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; background: linear-gradient(135deg, #0d2137 0%, #0a4f6d 50%, #0d7377 100%); } | |
| .forgot-card { background: white; border-radius: 16px; padding: 48px 40px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,.3); } | |
| .forgot-card h1 { text-align: center; font-size: 24px; margin-bottom: 8px; color: var(--primary); } | |
| .forgot-card .subtitle { text-align: center; color: var(--text-sec); margin-bottom: 28px; font-size: 14px; } | |
| .forgot-error { background: var(--wrong-bg); color: var(--wrong); padding: 12px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; display: none; } | |
| .forgot-success { background: var(--correct-bg); color: var(--correct); padding: 12px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; display: none; } | |
| .forgot-step { display: none; } | |
| .forgot-step.active { display: block; } | |
| .code-input { text-align: center; font-size: 28px; font-weight: 700; letter-spacing: 8px; font-family: monospace; } | |
| .back-to-login { display: block; text-align: center; margin-top: 20px; color: var(--text-sec); font-size: 14px; cursor: pointer; text-decoration: none; } | |
| .back-to-login:hover { color: var(--primary); } | |
| .step-indicator { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; } | |
| .step-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); transition: background var(--transition); } | |
| .step-dot.active { background: var(--primary); } | |
| .step-dot.done { background: var(--correct); } | |
| /* ===== ANSWER BADGES ===== */ | |
| .answer-badge { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font-size: 14px; font-weight: 700; flex-shrink: 0; margin-left: auto; } | |
| .answer-badge-correct { background: var(--correct-bg); color: var(--correct); } | |
| .answer-badge-wrong { background: var(--wrong-bg); color: var(--wrong); } | |
| /* ===== STATS PAGE ===== */ | |
| .stats-overview { display: flex; gap: 20px; margin-bottom: 28px; align-items: stretch; } | |
| .stats-big-card { background: var(--card-bg); border-radius: var(--r); padding: 32px 40px; box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 180px; } | |
| .stats-big-number { font-size: 56px; font-weight: 800; line-height: 1; } | |
| .stats-big-number.stats-good { color: var(--correct); } | |
| .stats-big-number.stats-ok { color: var(--accent); } | |
| .stats-big-number.stats-low { color: var(--wrong); } | |
| .stats-big-label { font-size: 14px; color: var(--text-sec); margin-top: 8px; font-weight: 500; } | |
| .stats-summary-cards { display: flex; flex: 1; gap: 16px; } | |
| .stats-summary-cards .stat-card { flex: 1; } | |
| .stats-section-title { font-size: 18px; font-weight: 600; margin-bottom: 16px; margin-top: 8px; } | |
| .stats-tracks { background: var(--card-bg); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); margin-bottom: 28px; } | |
| .stats-track-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); } | |
| .stats-track-row:last-child { border-bottom: none; } | |
| .stats-track-name { width: 180px; font-size: 13px; font-weight: 500; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .stats-track-bar-wrap { flex: 1; height: 20px; background: var(--bg); border-radius: 10px; overflow: hidden; } | |
| .stats-track-bar { height: 100%; border-radius: 10px; transition: width 0.5s ease; min-width: 4px; } | |
| .stats-track-pct { width: 48px; text-align: right; font-weight: 700; font-size: 14px; flex-shrink: 0; } | |
| .stats-track-count { width: 48px; text-align: right; font-size: 12px; color: var(--text-sec); flex-shrink: 0; } | |
| .stats-history { background: var(--card-bg); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; } | |
| .stats-history-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background var(--transition); } | |
| .stats-history-item:last-child { border-bottom: none; } | |
| .stats-history-item:hover { background: #f8f9fa; } | |
| .stats-history-info { flex: 1; min-width: 0; } | |
| .stats-history-track { font-size: 13px; font-weight: 600; color: var(--primary-dark); } | |
| .stats-history-snippet { font-size: 12px; color: var(--text-sec); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; } | |
| .stats-history-meta { text-align: right; flex-shrink: 0; } | |
| .stats-history-answer { display: block; font-size: 12px; font-weight: 600; color: var(--text); } | |
| .stats-history-date { display: block; font-size: 11px; color: var(--text-sec); margin-top: 2px; } | |
| /* ===== SIMULADO CONFIG ===== */ | |
| .simulado-config { background: var(--card-bg); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); } | |
| .simulado-config-section { margin-bottom: 28px; } | |
| .simulado-config-section h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: var(--text); } | |
| .simulado-count-options { display: flex; gap: 10px; } | |
| .simulado-count-btn { padding: 12px 24px; border: 2px solid var(--border); border-radius: 8px; background: var(--card-bg); cursor: pointer; font-size: 18px; font-weight: 700; transition: all var(--transition); color: var(--text); } | |
| .simulado-count-btn:hover { border-color: var(--primary); color: var(--primary); } | |
| .simulado-count-btn.active { background: var(--primary); color: white; border-color: var(--primary); } | |
| .simulado-select { width: 100%; max-width: 300px; padding: 10px 14px; border: 2px solid var(--border); border-radius: 8px; font-size: 15px; background: var(--card-bg); color: var(--text); outline: none; transition: border-color var(--transition); } | |
| .simulado-select:focus { border-color: var(--primary); } | |
| .simulado-track-actions { display: flex; gap: 8px; margin-bottom: 12px; } | |
| .simulado-tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; max-height: 320px; overflow-y: auto; padding: 4px 0; } | |
| .simulado-check { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-size: 14px; transition: background var(--transition); } | |
| .simulado-check:hover { background: var(--bg); } | |
| .simulado-check input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; } | |
| .simulado-check small { color: var(--text-sec); } | |
| .simulado-config-error { background: var(--wrong-bg); color: var(--wrong); padding: 12px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; display: none; } | |
| .simulado-start-btn { font-size: 18px; padding: 14px 32px; } | |
| /* ===== SIMULADO TIMER ===== */ | |
| .simulado-timer { position: sticky; top: 60px; z-index: 90; background: var(--card-bg); border-bottom: 1px solid var(--border); padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 2px 6px rgba(0,0,0,.08); gap: 12px; } | |
| .simulado-timer.warning { background: #fff8e1; border-bottom-color: #f9a825; } | |
| .simulado-timer.danger { background: var(--wrong-bg); border-bottom-color: var(--wrong); } | |
| .simulado-timer-left { display: flex; align-items: center; gap: 8px; } | |
| .simulado-timer-icon { font-size: 20px; } | |
| .simulado-timer-text { font-size: 22px; font-weight: 700; font-family: monospace; color: var(--text); min-width: 80px; } | |
| .simulado-timer.warning .simulado-timer-text { color: #f57f17; } | |
| .simulado-timer.danger .simulado-timer-text { color: var(--wrong); } | |
| .simulado-timer-center { font-size: 14px; color: var(--text-sec); font-weight: 500; } | |
| .simulado-timer-right { display: flex; align-items: center; gap: 8px; } | |
| /* ===== SIMULADO BODY LAYOUT ===== */ | |
| .simulado-body { display: flex; gap: 20px; max-width: 1200px; margin: 0 auto; padding: 20px; } | |
| .simulado-content { flex: 1; min-width: 0; } | |
| /* ===== SIMULADO NAV SIDEBAR ===== */ | |
| .simulado-nav { width: 200px; flex-shrink: 0; position: sticky; top: 120px; align-self: flex-start; background: var(--card-bg); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); max-height: calc(100vh - 140px); overflow-y: auto; } | |
| .simulado-nav-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--text-sec); text-transform: uppercase; letter-spacing: 0.5px; } | |
| .simulado-nav-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 12px; } | |
| .simulado-nav-btn { width: 100%; aspect-ratio: 1; border: 2px solid var(--border); border-radius: 6px; background: var(--card-bg); cursor: pointer; font-size: 12px; font-weight: 600; transition: all var(--transition); color: var(--text-sec); padding: 0; } | |
| .simulado-nav-btn:hover { border-color: var(--primary); color: var(--primary); } | |
| .simulado-nav-btn.current { border-color: var(--primary); background: var(--primary-light); color: var(--primary); } | |
| .simulado-nav-btn.answered { background: var(--primary); color: white; border-color: var(--primary); } | |
| .simulado-nav-btn.answered.current { box-shadow: 0 0 0 2px var(--primary-dark); } | |
| .simulado-nav-legend { display: flex; flex-direction: column; gap: 4px; } | |
| .legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-sec); } | |
| .legend-dot { width: 12px; height: 12px; border-radius: 3px; border: 2px solid var(--border); background: var(--card-bg); flex-shrink: 0; } | |
| .legend-dot.answered { background: var(--primary); border-color: var(--primary); } | |
| .legend-dot.current { background: var(--primary-light); border-color: var(--primary); } | |
| /* ===== SIMULADO QUESTION EXTRAS ===== */ | |
| .simulado-question { } | |
| .simulado-track-badge { display: inline-block; background: var(--primary-light); color: var(--primary-dark); font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 12px; margin-left: auto; } | |
| .simulado-arrows { display: flex; justify-content: space-between; margin-top: 16px; gap: 12px; } | |
| .simulado-arrows .btn { flex: 1; } | |
| /* ===== SIMULADO RESULTS ===== */ | |
| .simulado-results { text-align: center; } | |
| .simulado-results-header h2 { font-size: 24px; margin-bottom: 24px; } | |
| .simulado-score-circle { width: 180px; height: 180px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto 28px; box-shadow: var(--shadow); } | |
| .simulado-score-circle.results-green { background: var(--correct-bg); border: 4px solid var(--correct); } | |
| .simulado-score-circle.results-yellow { background: #fff8e1; border: 4px solid var(--accent); } | |
| .simulado-score-circle.results-red { background: var(--wrong-bg); border: 4px solid var(--wrong); } | |
| .score-percentage { font-size: 42px; font-weight: 800; line-height: 1; } | |
| .results-green .score-percentage { color: var(--correct); } | |
| .results-yellow .score-percentage { color: #f57f17; } | |
| .results-red .score-percentage { color: var(--wrong); } | |
| .score-fraction { font-size: 16px; color: var(--text-sec); margin-top: 4px; font-weight: 500; } | |
| .simulado-results-stats { display: flex; justify-content: center; gap: 32px; margin-bottom: 28px; } | |
| .results-stat { text-align: center; } | |
| .results-stat-value { font-size: 28px; font-weight: 700; color: var(--text); } | |
| .results-stat-label { font-size: 13px; color: var(--text-sec); margin-top: 2px; } | |
| .simulado-results-actions { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; } | |
| /* ===== SIMULADO REVIEW ===== */ | |
| .simulado-review-section { text-align: left; margin-top: 12px; } | |
| .simulado-review-section h3 { font-size: 18px; font-weight: 600; margin-bottom: 16px; color: var(--text); } | |
| .simulado-review-card { background: var(--card-bg); border-radius: var(--r); padding: 20px; margin-bottom: 12px; box-shadow: var(--shadow); border-left: 4px solid var(--wrong); } | |
| .simulado-review-header { margin-bottom: 8px; } | |
| .simulado-review-track { font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 2px 10px; border-radius: 10px; } | |
| .simulado-review-snippet { font-size: 14px; color: var(--text); line-height: 1.6; margin-bottom: 12px; } | |
| .simulado-review-answers { display: flex; gap: 16px; flex-wrap: wrap; } | |
| .review-wrong { font-size: 13px; font-weight: 600; color: var(--wrong); background: var(--wrong-bg); padding: 4px 12px; border-radius: 6px; } | |
| .review-correct { font-size: 13px; font-weight: 600; color: var(--correct); background: var(--correct-bg); padding: 4px 12px; border-radius: 6px; } | |
| .simulado-review-explanation { margin-top: 12px; padding: 12px; background: var(--correct-bg); border-radius: 8px; border-left: 3px solid var(--correct); font-size: 14px; line-height: 1.7; color: #1a1a1a; } | |
| .simulado-review-explanation img { max-width: 100%; border-radius: 6px; margin: 8px 0; } | |
| /* ===== YEAR FILTER ===== */ | |
| .year-filter-wrap { display: flex; align-items: center; gap: 8px; } | |
| .year-filter-wrap label { font-size: 13px; font-weight: 500; color: var(--text-sec); white-space: nowrap; } | |
| .year-filter-select { padding: 6px 12px; border: 2px solid var(--border); border-radius: 6px; font-size: 13px; background: white; color: var(--text); outline: none; cursor: pointer; } | |
| .year-filter-select:focus { border-color: var(--primary); } | |
| /* ===== RESPONSIVE ===== */ | |
| @media (max-width: 600px) { | |
| .container { padding: 16px 12px; } | |
| .login-card { padding: 32px 24px; } | |
| .forgot-card { padding: 32px 24px; } | |
| .question-card { padding: 16px; } | |
| .app-header { padding: 6px 12px; } | |
| .app-header .user-menu { gap: 4px; } | |
| .topic-grid { grid-template-columns: 1fr; } | |
| .stat-cards { grid-template-columns: repeat(2, 1fr); } | |
| .data-table { font-size: 12px; } | |
| .data-table th, .data-table td { padding: 8px; } | |
| .admin-tabs { overflow-x: auto; } | |
| .stats-overview { flex-direction: column; } | |
| .stats-big-card { padding: 24px; } | |
| .stats-big-number { font-size: 42px; } | |
| .stats-summary-cards { flex-wrap: wrap; } | |
| .stats-track-name { width: 100px; font-size: 11px; } | |
| .stats-track-pct { width: 40px; } | |
| .stats-track-count { display: none; } | |
| .stats-history-snippet { display: none; } | |
| .stats-history-meta { font-size: 11px; } | |
| /* Simulado responsive */ | |
| .simulado-body { flex-direction: column; padding: 12px; } | |
| .simulado-nav { width: 100%; position: static; max-height: none; } | |
| .simulado-nav-grid { grid-template-columns: repeat(10, 1fr); } | |
| .simulado-timer { top: 56px; padding: 8px 12px; flex-wrap: wrap; } | |
| .simulado-timer-text { font-size: 18px; } | |
| .simulado-count-options { flex-wrap: wrap; } | |
| .simulado-config { padding: 20px; } | |
| .simulado-tracks { grid-template-columns: 1fr; } | |
| .simulado-score-circle { width: 140px; height: 140px; } | |
| .score-percentage { font-size: 32px; } | |
| .simulado-results-stats { gap: 20px; } | |
| .results-stat-value { font-size: 22px; } | |
| } | |