/* ========================================== RJ STUDY PRO - PREMIUM ASSESSMENT STYLES ========================================== */ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); :root { --bg-main: #060913; --bg-panel: rgba(17, 24, 39, 0.7); --text-primary: #F9FAFB; --text-secondary: #9CA3AF; --accent-color: #00E5FF; --accent-hover: #00B2CC; --danger-color: #EF4444; --success-color: #10B981; --border-color: rgba(255, 255, 255, 0.1); --font-main: 'Inter', sans-serif; } html, body { margin: 0; padding: 0; width: 100%; max-width: 100%; overflow-x: hidden !important; box-sizing: border-box; } *, *:before, *:after { box-sizing: border-box; } body { background-color: var(--bg-main); background-image: radial-gradient(circle at top right, rgba(0, 229, 255, 0.1), transparent 40%), radial-gradient(circle at bottom left, rgba(239, 68, 68, 0.05), transparent 40%); color: var(--text-primary); font-family: var(--font-main); min-height: 100vh; display: flex; flex-direction: column; } .hidden { display: none !important; } .glass-panel { background: var(--bg-panel); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border-color); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); } /* Header */ .exam-header { padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border-color); background: rgba(6, 9, 19, 0.95); width: 100%; } .brand-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.2rem; } .pro-badge { background: linear-gradient(135deg, var(--accent-color), #0077FF); color: #000; font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; font-weight: 800; } .timer-box { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 700; color: var(--accent-color); padding: 8px 16px; border-radius: 8px; background: rgba(0, 229, 255, 0.05); border: 1px solid rgba(0, 229, 255, 0.3); } .glow-effect { box-shadow: 0 0 15px rgba(0, 229, 255, 0.2); } .candidate-badge { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.05); padding: 6px 16px 6px 6px; border-radius: 50px; font-weight: 500; } .avatar { width: 30px; height: 30px; background: var(--accent-color); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #000; font-weight: bold; } /* Main Layout (Desktop) */ .exam-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; max-width: 1400px; width: 100%; margin: 0 auto; padding: 32px; flex-grow: 1; } /* Left Column */ .question-section { border-radius: 16px; padding: 32px; display: flex; flex-direction: column; width: 100%; } .question-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 16px; margin-bottom: 24px; } .q-num { font-weight: 600; color: var(--accent-color); letter-spacing: 1px; font-size: 0.95rem; } .q-type { background: rgba(255, 255, 255, 0.1); padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; } #question-text { font-size: 1.4rem; line-height: 1.6; font-weight: 500; margin-bottom: 32px; word-break: break-word; } /* Options */ .options-grid { display: flex; flex-direction: column; gap: 16px; margin-bottom: auto; width: 100%; } .option-card { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color); padding: 18px 24px; border-radius: 12px; cursor: pointer; display: flex; align-items: center; gap: 16px; font-size: 1.05rem; transition: all 0.2s ease; width: 100%; word-break: break-word; } .option-card:hover { background: rgba(255, 255, 255, 0.08); } .option-card.selected { background: rgba(0, 229, 255, 0.1); border-color: var(--accent-color); box-shadow: 0 0 15px rgba(0, 229, 255, 0.15); } .option-card input[type="radio"] { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 2px solid var(--text-secondary); border-radius: 50%; outline: none; cursor: pointer; position: relative; transition: 0.2s; flex-shrink: 0; } .option-card.selected input[type="radio"] { border-color: var(--accent-color); } .option-card.selected input[type="radio"]::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 12px; height: 12px; background: var(--accent-color); border-radius: 50%; } /* Footer Nav (Desktop) */ .action-footer { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border-color); gap: 12px; } .nav-btn { padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; font-family: inherit; } .nav-btn.prev, .nav-btn.clear { background: transparent; border: 1px solid var(--text-secondary); color: var(--text-primary); } .nav-btn.next { background: var(--accent-color); color: #000; border: none; } /* Right Column (Matrix) */ .sidebar-section { display: flex; flex-direction: column; gap: 24px; } .matrix-card { border-radius: 16px; padding: 24px; } .matrix-title { font-size: 1rem; color: var(--text-secondary); margin-bottom: 20px; text-align: center; } .matrix-legend { display: flex; justify-content: space-between; margin-bottom: 24px; font-size: 0.8rem; color: var(--text-secondary); } .legend-item { display: flex; align-items: center; gap: 6px; } .dot { width: 10px; height: 10px; border-radius: 50%; } .dot.answered { background: var(--success-color); } .dot.current { border: 2px solid var(--accent-color); } .dot.unanswered { border: 1px solid var(--text-secondary); } .palette-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; } .palette-num { background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); color: var(--text-primary); height: 44px; border-radius: 8px; font-weight: 600; cursor: pointer; } .palette-num.answered { background: rgba(16, 185, 129, 0.15); color: var(--success-color); border-color: rgba(16, 185, 129, 0.4); } .palette-num.active { border: 2px solid var(--accent-color); color: var(--accent-color); } .submit-exam-btn { background: linear-gradient(135deg, var(--danger-color), #BE123C); color: #fff; border: none; padding: 16px; border-radius: 12px; font-weight: 700; font-size: 1.05rem; cursor: pointer; width: 100%; } /* Modals */ .modal-overlay, .locked-container { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.9); display: flex; justify-content: center; align-items: center; z-index: 9999; } .modal-card, .locked-card { border-radius: 16px; padding: 30px; max-width: 450px; width: 90%; text-align: center; } .matrix-toggle-btn, .matrix-close-btn { display: none; } /* ============================================================== MOBILE RESPONSIVE OVERRIDES (STRICT 1-COLUMN) ============================================================== */ @media screen and (max-width: 900px) { .exam-layout { display: flex !important; flex-direction: column !important; padding: 12px !important; padding-bottom: 160px !important; width: 100% !important; max-width: 100% !important; } .exam-header { padding: 10px 14px; flex-wrap: wrap; } .candidate-badge { display: none !important; } .timer-box { width: 100%; justify-content: center; font-size: 1.1rem; padding: 6px; margin-top: 6px; } .question-section { padding: 14px !important; width: 100% !important; } #question-text { font-size: 1.1rem !important; margin-bottom: 16px !important; } .options-grid { gap: 10px !important; } .option-card { padding: 12px 14px !important; font-size: 0.95rem !important; width: 100% !important; } /* Hide desktop question footer on mobile */ .question-section .action-footer { display: none !important; } /* Mobile Fixed Bottom Bar */ .mobile-bottom-bar { position: fixed !important; bottom: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; z-index: 2000 !important; background: #060913 !important; border-top: 1px solid var(--border-color) !important; padding: 8px 12px !important; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important; display: flex !important; flex-direction: column !important; gap: 8px !important; } .mobile-bottom-bar .nav-row { display: flex !important; gap: 8px !important; width: 100% !important; } .mobile-bottom-bar .nav-btn { flex: 1 !important; padding: 11px 4px !important; font-size: 0.85rem !important; min-height: 44px !important; border-radius: 8px !important; } .mobile-bottom-bar .nav-btn.prev, .mobile-bottom-bar .nav-btn.clear { background: transparent !important; border: 1px solid var(--text-secondary) !important; color: var(--text-primary) !important; } .mobile-bottom-bar .nav-btn.next { background: var(--accent-color) !important; color: #000 !important; border: none !important; } .mobile-bottom-bar .mobile-submit-btn { width: 100% !important; background: linear-gradient(135deg, var(--danger-color), #BE123C) !important; color: #fff !important; border: none !important; padding: 12px !important; border-radius: 8px !important; font-weight: 700 !important; font-size: 0.95rem !important; } /* Floating Matrix Drawer Icon */ .matrix-toggle-btn { display: flex !important; position: fixed !important; bottom: 145px !important; right: 14px !important; width: 50px !important; height: 50px !important; border-radius: 50% !important; background: var(--accent-color) !important; color: #000 !important; border: none !important; box-shadow: 0 4px 18px rgba(0, 229, 255, 0.5) !important; font-size: 1.4rem !important; font-weight: 900 !important; z-index: 2100 !important; align-items: center !important; justify-content: center !important; } /* Matrix Fullscreen Off-Canvas Drawer */ .sidebar-section { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background: #060913 !important; z-index: 3000 !important; padding: 20px 16px !important; overflow-y: auto !important; transform: translateX(100%) !important; transition: transform 0.3s ease !important; display: flex !important; flex-direction: column !important; gap: 16px !important; } .sidebar-section.active { transform: translateX(0) !important; } .matrix-close-btn { display: block !important; width: 100% !important; background: rgba(239, 68, 68, 0.15) !important; border: 1px solid var(--danger-color) !important; color: var(--danger-color) !important; padding: 12px !important; border-radius: 8px !important; font-size: 1rem !important; font-weight: 700 !important; } }