        .gs-mock-test-wrapper { font-family: Arial, sans-serif; margin: 0; user-select: none; color: #333; background-color: #f0f0f0; position: relative; height:100vh; overflow:hidden; }
        .gs-mock-test-wrapper:fullscreen { width: 100vw; height: 100vh; overflow:hidden; background-color: #f0f0f0; }
        .gs-card-instructions { background: #fff; border: 1px solid #ccc; padding: 25px; border-radius: 8px; max-width: 900px; margin: 20px auto; }
        .gs-test-title { margin-top: 0; color: #3b5998; }
        .gs-meta-grid { display: flex; gap: 20px; background: #f9f9f9; padding: 12px; border-radius: 6px; margin: 15px 0; flex-wrap: wrap; }
        .gs-divider { border: 0; border-top: 1px solid #ddd; margin: 20px 0; }
        .gs-instructions-list { line-height: 1.8; }

        .gs-cbt-header { background-color: #3b5998; color: white; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
        
        /* Fullscreen Button Style */
        .gs-fs-btn { background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; padding: 5px 10px; border-radius: 4px; cursor: pointer; transition: all 0.2s ease-in-out; display: flex; align-items: center; justify-content: center; }
        .gs-fs-btn:hover { background: rgba(255, 255, 255, 0.4); transform: scale(1.05); }
        .gs-fs-btn .dashicons { width: 16px; height: 16px; font-size: 16px; line-height: 16px; }

        .main-container { display: flex; height:calc(100vh - 45px); background-color: #f0f0f0; overflow:hidden; }
        
        /* Left Side Layout */
        .question-section { width: 75%; background: white; border-right: 2px solid #ccc; display: flex; flex-direction: column; height:100%; }
        .section-tabs { background: #e1e1e1; padding: 5px; display: flex; gap: 5px; border-bottom: 1px solid #bbb; overflow-x: auto; overflow-y: visible; }
        
        /* Category Tab Styles */
        .tab { padding: 8px 12px; background: #fff; border: 1px solid #999; cursor: pointer; font-size: 14px; font-weight: bold; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
        .tab.active { background: #3b5998; color: white; }
        
        /* Tab Info Icon */
        .tab-info-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; background: #eee; color: #333; border-radius: 50%; font-size: 11px; border: 1px solid #aaa; cursor: pointer; transition: background 0.2s; line-height: 18px; }
        .tab.active .tab-info-icon { background: #fff; color: #3b5998; border-color: #fff; }
        .tab-info-icon:hover { background: #0073aa !important; color: #fff !important; }

        /* Global Floating Tooltip Popup */
        .gs-cat-tooltip-box { display: none; position: fixed; background: #ffffff; color: #333333; border: 1px solid #222; border-radius: 6px; padding: 10px 12px; font-size: 12px; font-weight: normal; z-index: 999999; box-shadow: 0px 4px 15px rgba(0,0,0,0.3); min-width: 170px; pointer-events: none; }
        .gs-cat-tooltip-box::before { content: ""; position: absolute; top: -6px; left: 15px; border-width: 0 6px 6px 6px; border-style: solid; border-color: transparent transparent #222 transparent; }
        .gs-cat-tooltip-title { font-weight: bold; border-bottom: 1px solid #ddd; padding-bottom: 4px; margin-bottom: 6px; color: #3b5998; font-size: 13px; }
        .gs-cat-tooltip-item { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; gap: 10px; }
        .gs-cat-tooltip-item:last-child { margin-bottom: 0; }
        .gs-cat-tooltip-label { display: flex; align-items: center; gap: 6px; }

        .question-header { padding: 10px 15px; border-bottom: 1px solid #eee; font-weight: bold; display: flex; justify-content: space-between; align-items: center; background: #fdfdfd; }
        .question-content { padding: 20px; flex-grow: 1; overflow-y: auto; font-size: 16px; line-height: 1.4; flex:1; min-height:0; }
        .options { margin-top: 20px; }
        .option { margin-bottom: 12px; display: flex; align-items: center; font-size: 15px; cursor: pointer; padding: 6px 10px; border-radius: 4px; border: 1px solid #eee; }
        .option:hover { background: #f9f9f9; }
        .option input[type="radio"] { margin-right: 12px; transform: scale(1.2); }

        .footer-buttons { padding: 12px 15px; background: #eee; border-top: 1px solid #ccc; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top:auto; flex-shrink:0; }
        .btn { padding: 9px 18px; border: none; cursor: pointer; font-weight: bold; border-radius: 3px; font-size: 13px; }
        .btn-mark { background: #ff9800; color: white; }
        .btn-clear { background: #f44336; color: white; }
        .btn-next { background: #4CAF50; color: white; }
        .action-left-btns { display: flex; gap: 8px; }

        /* Right Side Layout */
        .sidebar { width: 25%; background: #f9f9f9; padding: 10px; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; height:100%; overflow-y: auto; }
        .user-info { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; border: 1px solid #ccc; padding: 8px; width: 100%; box-sizing: border-box; background: #fff; }
        .user-img { width: 45px; height: 45px; border-radius: 4px; object-fit: cover; background: #ddd; }
        
        .palette-container { width: 100%; border: 1px solid #ccc; padding: 10px; background: white; box-sizing: border-box; }
        
        /* Legend Indicators */
        .palette-legend { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 8px 0; font-size: 11px; border-bottom: 1px solid #ddd; padding-bottom: 8px; }
        .legend-item { display: flex; align-items: center; gap: 5px; }
        .legend-box { width: 20px; height: 20px; border: 1px solid #999; display: inline-block; text-align: center; font-size: 10px; line-height: 20px; font-weight: bold; }

        .palette-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; max-height: 220px; overflow-y: auto; padding-right: 3px; }
        .q-box { width: 35px; height: 35px; border: 1px solid #999; display: flex; align-items: center; justify-content: center; font-size: 12px; cursor: pointer; font-weight: bold; }
        
        /* State Visuals */
        .not-visited { background: white; color: #333; }
        .answered { background: #4CAF50; color: white; border-radius: 0 0 15px 15px; }
        .not-answered { background: #f44336; color: white; border-radius: 15px 15px 0 0; }
        .marked { background: #ff9800; color: white; border-radius: 50%; }
        .marked-answered { background: #9c27b0; color: white; border-radius: 50%; position: relative; }
        .marked-answered::after { content: "✓"; position: absolute; bottom: 1px; right: 3px; font-size: 10px; font-weight: 900; color: #fff; }
        
        .timer-inline { font-size: 15px; font-weight: bold; color: #d32f2f; margin-left: 15px; }
        .btn-submit { width: 100%; background: #3b5998; color: white; padding: 10px; margin-top: 15px; cursor: pointer; font-size: 14px; border: none; font-weight: bold; }

        /* Score Display */
        .gs-score-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; margin-top: 20px; }
        .gs-score-box { background: #f8fafc; border: 1px solid #e2e8f0; text-align: center; padding: 15px; border-radius: 8px; }
        .gs-score-val { display: block; font-size: 1.8rem; font-weight: bold; color: #0f172a; }
        .gs-score-lbl { font-size: 0.85rem; color: #64748b; }

        /* Responsive Mobile Layout */
        @media (max-width: 768px) {
            .main-container { flex-direction: column; height: auto; }
            .question-section { width: 100%; border-right: none; }
            .sidebar { width: 100%; margin-top: 15px; }
            .footer-buttons { flex-direction: column; align-items: stretch; }
            .action-left-btns { justify-content: space-between; }
            .btn { width: 100%; text-align: center; }
            .gs-cbt-header { flex-direction: column; text-align: center; gap: 5px; }
        }
