/* Explain: General UI components and custom scrollbar styles. */
.site-header {
    backdrop-filter: blur(18px);
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.78), rgba(255, 255, 255, 0.48));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

/* Custom Scrollbar for chat and textarea */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Exam mode: hide chrome so only the chat box is visible */
body.exam-mode-active .site-header {
    display: none !important;
}

body.exam-mode-active #chatSidebar,
body.exam-mode-active #sidebarOverlay {
    display: none !important;
}

body.exam-mode-active main {
    padding-top: 0 !important;
}