﻿/*************************** FONTS ***************************/

* {
    font-family: 'Cairo', sans-serif !important;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/*************************** FONTS ***************************/



/*************************** GENERAL ***************************/

html, body {
    font-family: 'Cairo', sans-serif !important;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.mud-input-helper-text .me-auto {
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
    text-align: start !important;
}

html, body, .mud-layout {
    height: 100%;
    margin: 0;
}

.w-85 {
    width: 85% !important;
}

.h-300 {
    height: 300px !important;
}

label p,
label h6,
label div {
    display: inline !important;
    margin: 0 !important;
}

.small-text .mud-button-label {
    font-size: 0.72rem !important; 
    line-height: 1 !important;
}

.overflow-hidden{
    overflow: hidden !important;
}

/*************************** GENERAL ***************************/



/*************************** MudBlazor Font & Component Size ***************************/

/* Generic scale = 0.8x  */
/* Please use this value when adjusting any style */
.mud-typography.mud-typography-h1 {
    font-size: 3.84rem !important;
}

.mud-typography.mud-typography-h2 {
    font-size: 3.04rem !important;
}

.mud-typography.mud-typography-h3 {
    font-size: 2.40rem !important;
}

.mud-typography.mud-typography-h4 {
    font-size: 1.68rem !important;
}

.mud-typography.mud-typography-h5 {
    font-size: 1.28rem !important;
}

.mud-typography.mud-typography-h6 {
    font-size: 1.04rem !important;
}

.mud-typography.mud-typography-subtitle1 {
    font-size: 0.88rem !important;
}

.mud-typography.mud-typography-body1 {
    font-size: 0.80rem !important;
}

.mud-typography.mud-typography-subtitle2 {
    font-size: 0.72rem !important;
}

.mud-typography.mud-typography-body2 {
    font-size: 0.72rem !important;
}

.mud-typography.mud-typography-caption {
    font-size: 0.64rem !important;
}

/* Inputs & Buttons */
.mud-input-slot .mud-input-root {
    font-size: 0.80rem !important;
}

.mud-input-control > .mud-input-label-outlined {
    font-size: 0.80rem !important;
}

.mud-button-label {
    font-size: 0.72rem !important;
    text-transform: none !important;
}

/* Icon Buttons */
.mud-icon-button.mud-icon-button-size-large {
    width: 38px !important;
    height: 38px !important;
}

    .mud-icon-button.mud-icon-button-size-large .mud-icon-root {
        font-size: 24px !important;
    }

/* Dialogs Close Buttons */
.mud-dialog-title .mud-icon-button {
    width: 36px !important;
    height: 36px !important;
}

    .mud-dialog-title .mud-icon-button .mud-icon-root {
        font-size: 20px !important;
    }

/* Radios & Check-boxes */
.mud-radio.mud-radio-size-small .mud-icon-root {
    font-size: 14px !important;
}

.mud-checkbox.mud-checkbox-size-small .mud-icon-root {
    font-size: 14px !important;
}

/* Buttons */
.mud-button-root {
    height: auto !important;
    padding: 0.40rem 0.80rem !important;
}

/*************************** MudBlazor Font & Component Size ***************************/



/*************************** MAIN LAYOUT ***************************/

.MainLayout-container {
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.MainLayout-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.Body-container {
    flex: 1;
}

/*************************** MAIN LAYOUT ***************************/



/*************************** CULTURAL LAYOUT ***************************/

.CulturalLayout-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom right, #f9d2ff, #d3f4ff);
}

.Culture-container {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/*************************** CULTURAL LAYOUT ***************************/



/*************************** EMPTY LAYOUT ***************************/

.EmptyLayout-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
    background: var(--mud-palette-background);
}

/*************************** EMPTY LAYOUT ***************************/



/*************************** LAYOUT FOOTER ***************************/

.Footer-container {
    margin-top: auto;
}

.Footer-paper {
    background: var(--mud-palette-surface);
}

.LoginFooter-paper {
    background-color: transparent !important;
}

/*************************** LAYOUT FOOTER ***************************/



/*************************** ERROR BAR ***************************/

#blazor-error-ui {
    background-color: red;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/*************************** ERROR BAR ***************************/



/*************************** LOGIN ***************************/

.login-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.login-card {
    max-width: 750px;
    width: 100%;
    padding: 50px;
    margin: 0 auto;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.login-title {
    color: #7B2CBF;
    margin-bottom: 16px;
    text-align: center;
}

.icon-align {
    vertical-align: middle;
}

.text-purple {
    color: #6C63FF;
}

.text-pink {
    color: #FF66C4;
}

.text-end {
    text-align: right;
}

.loader-container {
    min-height: 400px;
    position: relative;
    font-family: Arial, sans-serif;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-content {
    width: 100%;
    max-width: 480px;
    min-height: 300px;
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.title-text {
    color: #1e293b;
    font-weight: 600;
    animation: fade-glow 2s ease-in-out infinite alternate;
    font-size: 1.5rem;
    margin: 0;
}

.subtitle-text {
    color: #64748b;
    font-weight: 400;
    font-size: 1rem;
    margin: 0;
}

.loading-dots-layout {
    display: inline-flex;
    gap: 8px;
    margin-top: 1rem;
}

.loading-dot-layout {
    width: 15px;
    height: 15px;
    background: #3b82f6;
    border-radius: 50%;
    animation: bounce-dots 1.4s ease-in-out infinite both;
}

    .loading-dot-layout:nth-child(1) {
        animation-delay: -0.32s;
    }

    .loading-dot-layout:nth-child(2) {
        animation-delay: -0.16s;
    }

    .loading-dot-layout:nth-child(3) {
        animation-delay: 0s;
    }

html.dark-theme .loader-container {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

html.dark-theme .loader-content {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

html.dark-theme .title-text {
    color: #f1f5f9;
}

html.dark-theme .subtitle-text {
    color: #94a3b8;
}

@keyframes fade-glow {
    0% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

@keyframes bounce-dots {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .loader-container {
        min-height: 300px;
    }

    .loader-content {
        padding: 2rem;
        margin: 1rem;
        max-width: 90%;
    }

    .loading-dot-layout {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .loader-content {
        padding: 1.5rem;
    }

    .title-text {
        font-size: 1.25rem;
    }

    .subtitle-text {
        font-size: 0.875rem;
    }
}

.stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

/*************************** LOGIN ***************************/



/*************************** SUPERVISOR LOGIN ***************************/

.login-dialog-card {
    width: 100%;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: white;
}

.mud-text-field {
    margin-bottom: 16px !important;
}

.mud-button {
    border-radius: 8px;
}

.custom-button {
    flex: 1;
    text-align: center;
    padding: 10px 0;
}

.cancel-button {
    background-color: #f5f5f5 !important;
    color: #333333 !important;
    border: 1px solid #cccccc !important;
    transition: background-color 0.3s, color 0.3s;
}

.supervisor-fields {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

/*************************** SUPERVISOR LOGIN ***************************/



/*************************** DASHBOARD ***************************/

.elevation-3.rounded-lg.mb-4 {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f0 100%);
    margin-bottom: 16px;
    border-radius: 8px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.14);
}

.test-card.elevation-2.rounded-lg.mb-3 {
    transition: transform 0.3s;
    background: #ffffff;
    border: 2px solid #3f51b5;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.12);
}

.mud-paper.elevation-2.pa-4.rounded-lg {
    padding: 16px;
    background: #f5f7fa;
    border-radius: 8px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.12);
}

.elevation-2 {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.12);
}

.elevation-3 {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.14);
}

.Dashboard-HideProfile-button {
    position: fixed;
    top: 67px;
    inset-inline-start: 20px;
    z-index: 1000;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50% !important;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Supervisor Login Dialog */

.SupervisorLoginDialog-dialog {
    border: 1px solid black;
    padding: 30px;
}

.schdulepanel-examData-card {
    min-height: 160px;
}

.mud-skeleton {
    border-radius: 6px;
    animation: shimmer 1.5s infinite linear;
    background: linear-gradient( 90deg, rgba(230,230,230,0.15) 0%, rgba(220,220,220,0.45) 50%, rgba(230,230,230,0.15) 100% );
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/*************************** DASHBOARD ***************************/



/*************************** TAKE EXAM ***************************/

/* CSS VARIABLES */

:root {
    --header-height: 70px;
    --footer-height: 70px;
}


/******* LEFT PANEL COMPONENTS *******/

/* Container & Layout */

.left-panel-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1px;
}

.exam-column-flex-display {
    display: flex;
    flex-direction: column;
}

/* Candidate Info Card */

.exam-candidate-info-card {
    border-radius: 8px;
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-primary);
    max-width: 100%;
    flex-shrink: 0;
}

    .exam-candidate-info-card .mud-text {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 4px;
        min-width: 0;
    }

.candidate-info-card {
    padding: 15px;
}

.candidate-info-label {
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.candidate-info-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    direction: inherit;
    text-align: start;
    display: inline-block;
    max-width: 100%;
}

.candidate-avatar {
    border: 2px solid #3f51b5;
    padding: 1px;
    background-color: #f5f5f5;
}

.candidate-avatar-button-click {
    background-color: transparent !important;
    box-shadow: none !important;
    min-width: unset !important;
    padding: 0 !important;
}
    .candidate-avatar-button-click:hover {
        background-color: transparent !important;
        transform: scale(1.05);
        box-shadow: none !important;
    }

.candidate-info-avatar {
    background-color: #e0e0e0;
    transition: transform 0.3s ease;
}

    .candidate-info-avatar:hover {
        transform: scale(1.1);
    }

.candidate-info-photo {
    width: 130px !important;
    height: 130px !important;
    border: 2px solid #7986cb;
    border-radius: 50%;
    overflow: hidden;
}

.candidate-info-photo-img {
    width: 130px !important;
    height: 130px !important;
    object-fit: cover;
}

.candidate-info-field {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.field-icon {
    margin-right: 8px;
    margin-left: 5px;
}

.candidate-info-button {
    font-weight: 300;
    transition: background-color 0.3s ease;
}

    .candidate-info-button:hover {
        background-color: #303f9f !important;
    }

.LeftPanelCandidateInfo-stack-container {
    max-width: 100%;
}

.LeftPanelCandidateInfo-stack {
    max-width: 100%;
    width: 100%;
    flex: 1 1 0;
    min-width: 0;
}

    .LeftPanelCandidateInfo-stack .mud-text {
        max-width: 100%;
        min-width: 0;
    }

    .LeftPanelCandidateInfo-stack .mud-tooltip-root {
        width: 100%;
        min-width: 0;
        display: block;
    }

/* Question Panel */

.question-panel {
    background: var(--mud-palette-background);
    border-radius: 8px;
    min-height: 150px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.question-grid-flex {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35px, 1fr));
    gap: 8px;
    justify-items: center;
}

.questions-container {
    flex: 1 1 auto;
    padding: 6px;
}

.question-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px;
}

.question-paper {
    width: 100%;
    max-width: 800px;
    padding: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Status Legend */

.status-legend-card {
    background: var(--mud-palette-background);
    border-radius: 8px;
    flex-shrink: 0;
}

.legend-circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0
}

    .legend-circle.not-visited {
        background-color: #c4c0c0;
        border-color: #e0e0e0;
    }

    .legend-circle.not-answered {
        background-color: #f5af45;
        border-color: #f57c00;
    }

    .legend-circle.answered {
        background-color: #4caf50;
        border-color: #4caf50;
    }

    .legend-circle.marked-review {
        background-color: #9c27b0;
        border-color: #9c27b0;
    }

    .legend-circle.answered-marked {
        background-color: #d343e8;
        border-color: #03a9f4;
    }

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-row {
    width: 100%;
}

/* Tools Card */

.tools-card {
    background: var(--mud-palette-background);
    border-radius: 8px;
    flex-shrink: 0;
}

.tool-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.cetralize-items-inside-panels {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 6px;
}


/******* QUESTION NAVIGATION & BUTTONS *******/

/* Question Buttons Base Styles */

.question-button {
    min-width: 35px;
    width: 35px;
    height: 35px;
    border-radius: 30%;
    transition: transform 0.2s ease, background-color 0.3s ease;
    flex-shrink: 0;
}

    .question-button:hover {
        transform: scale(1.1);
    }

.question-grid .mud-button {
    max-height: 30px;
    min-width: 30px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid lightgray;
    border-radius: 10px;
    transition: all 0.2s ease;
}

    .question-grid .mud-button:hover {
        transform: scale(1.05);
    }

/* Question Button States */

.question-btn-not-visited {
    background-color: #f5f5f5 !important;
    color: #757575 !important;
    border-color: #e0e0e0 !important;
}

.question-btn-not-answered {
    background-color: #fff3e0 !important;
    color: #f57c00 !important;
    border-color: #ff9800 !important;
}

.question-btn-answered {
    background-color: #e8f5e8 !important;
    color: #2e7d32 !important;
    border-color: #4caf50 !important;
}

.question-btn-marked {
    background-color: #f3e5f5 !important;
    color: #7b1fa2 !important;
    border-color: #9c27b0 !important;
}

.question-btn-answered-marked {
    background-color: #e6e0ea !important;
    color: #0277bd !important;
    border-color: #761a9c !important;
}

.question-btn-current {
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.3) !important;
    transform: scale(1.1);
}

/* Panel Navigation Elements */

.panel-title {
    font-weight: 500;
}

.section-info {
    font-size: 0.875rem;
}


/******* MIDDLE PANEL *******/

.middlePanel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    box-shadow: none;
}


/******* EXAM CONTROLS & ACTIONS *******/

.exam-control-card {
    background: var(--mud-palette-background);
    color: var(--mud-palette-text-primary);
}

.exam-control-header {
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--mud-palette-secondary));
    padding: 12px 16px;
    color: var(--mud-palette-appbar-text);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.exam-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 80vh;
    max-height: 80vh;
    background: var(--mud-palette-background);
}

.exam-question-area {
    flex: 1;
    overflow: auto;
}

.exam-actions-bar {
    flex-shrink: 0;
}

.exam-action-button {
    padding: 10px 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .exam-action-button:hover {
        transform: scale(1.05);
    }

.exam-action-button--error {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.exam-nav-button {
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 100px;
    margin-left: 30px;
}

    .exam-nav-button:hover {
        transform: scale(1.05);
    }

.nav-btn {
    width: 130px;
}

@media (max-width: 768px) {
    .exam-control-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

        .exam-control-card .w-75 {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            gap: 0.5rem !important;
            width: 90% !important;
            margin: 0 auto !important;
        }

        .exam-control-card .exam-nav-button {
            flex: 1 1 30% !important;
            min-width: 90px !important;
            text-align: center !important;
        }

        .exam-control-card .exam-action-button-container {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            gap: 0.625rem !important;
            width: 90% !important;
            margin: 10px auto 0 auto !important;
        }

            .exam-control-card .exam-action-button-container .mud-button {
                flex: 1 1 45% !important;
                min-width: 130px !important;
                max-width: 150px !important;
                text-align: center !important;
            }

        .exam-control-card .w-100 {
            width: 100% !important;
            align-items: center !important;
            justify-content: center !important;
            flex-direction: column !important;
            gap: 0.625rem !important;
        }
}

@media (min-width: 769px) {
    .exam-control-card .w-100 {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .exam-control-card .exam-action-button-container {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.625rem !important;
    }
}

/******* ANSWER PANEL *******/

.answer-text-field {
    flex-grow: 1;
    min-height: 200px;
    margin-top: 8px;
}

.upload-section {
    border: 2px dashed #9c27b0;
    padding: 20px;
    text-align: center;
    color: #666;
    border-radius: 6px;
    font-size: 13px;
}

.custom-divider {
    border-top: 2px solid #555;
}


/******* EXAM SCREEN CONTAINER *******/

.ExamScreenContainer-container {
    background: var(--mud-palette-background);
/*    overflow: auto;*/
}

.ExamScreenContainer-header {
    border-radius: 8px;
}

.ExamScreenContainer-panel {
    height: calc(100vh - var(--header-height, 0px) - var(--footer-height, 0px));
    max-height: calc(100vh - var(--header-height, 0px) - var(--footer-height, 0px));
    overflow-y: scroll;
    box-sizing: border-box;
}

.MudTab-gradient-header {
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--mud-palette-secondary)) !important;
    padding: 4.5px !important;
}

    .MudTab-gradient-header .mud-table-cell {
        background: transparent !important;
    }


/******* NOTEPAD COMPONENT *******/

.notepad-main {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 500px;
    width: 610px;
}

.notepad-header {
    color: var(--mud-palette-primary);
    padding: 12px 16px;
    min-height: 52px;
    border-radius: 0;
    border-bottom: 1px solid #e2e8f0;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notepad-icon {
    font-size: 20px;
    opacity: 0.9;
    color: var(--mud-palette-primary);
}

.notepad-title {
    font-weight: 600;
    font-size: 16px;
    margin: 0;
    opacity: 0.95;
    color: var(--mud-palette-text-primary);
}

.header-btn {
    color: var(--mud-palette-text-secondary);
    border-radius: 4px;
}

    .header-btn:hover {
        color: var(--mud-palette-primary);
        background: var(--mud-palette-appbar-background);
    }

.minimize-btn:hover {
    background: var(--mud-palette-warning);
    color: white;
}

.notepad-body {
    padding: 0;
    height: calc(100% - 52px);
    display: flex;
    flex-direction: column;
}

.notepad-toolbar {
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

    .notepad-toolbar button,
    .notepad-toolbar select {
        background: white;
        border: 1px solid #e2e8f0;
        padding: 6px 10px;
        cursor: pointer;
        font-size: 13px;
        border-radius: 4px;
        margin: 0 1px;
        color: var(--mud-palette-primary);
        font-weight: 500;
    }

        .notepad-toolbar button:hover,
        .notepad-toolbar select:hover {
            background: var(--mud-palette-appbar-background);
            border-color: var(--mud-palette-text-secondary);
        }

.notepad-editor {
    flex: 1;
    background: white;
    border: none;
    font-size: 14px;
    padding: 20px;
    overflow-y: auto;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--mud-palette-text-primary);
    resize: none;
    outline: none;
}

    .notepad-editor:empty:before {
        content: attr(placeholder);
        color: var(--mud-palette-text-secondary);
        font-style: italic;
        pointer-events: none;
    }

    .notepad-editor::-webkit-scrollbar {
        width: 6px;
    }

    .notepad-editor::-webkit-scrollbar-track {
        background: var(--mud-palette-appbar-background);
        border-radius: 3px;
    }

    .notepad-editor::-webkit-scrollbar-thumb {
        background: var(--mud-palette-text-secondary);
        border-radius: 3px;
    }

        .notepad-editor::-webkit-scrollbar-thumb:hover {
            background: var(--mud-palette-primary);
        }

.editor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: var(--mud-palette-drawer-background);
    border-top: 1px solid #e2e8f0;
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
}

.status-indicators {
    display: flex;
    align-items: center;
    gap: 8px;
}

.save-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--mud-palette-success);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    opacity: 0;
}

    .save-indicator.show {
        opacity: 1;
    }

.color-picker-popup {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    margin-top: 4px;
    display: none;
    padding: 8px;
}

/* Font Awesome Icons */

.fa-bold::before {
    content: "𝐁";
    font-weight: bold;
    font-size: 14px;
    color: var(--mud-palette-TextPrimary);
}

.fa-italic::before {
    content: "𝐼";
    font-style: italic;
    font-size: 14px;
    color: var(--mud-palette-TextPrimary);
}

.fa-list-ul::before {
    content: "•";
    font-size: 16px;
    color: var(--mud-palette-primary);
}

.fa-list-ol::before {
    content: "1.";
    font-size: 12px;
    color: var(--mud-palette-primary);
}

.fa-palette::before {
    content: "🎨";
    font-size: 14px;
    color: var(--mud-palette-tertiary);
}


/******* DIALOGS *******/

.CandidatePasswordConfirmationDialog-dialog {
    border: 1px solid black;
    padding: 30px;
}


/******* UTILITY CLASSES *******/

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .hide-scrollbar::-webkit-scrollbar {
        display: none;
    }


/******* RESPONSIVE MEDIA QUERIES *******/

/* Mobile Devices (max-width: 600px) */

@media (max-width: 600px) {
    .question-panel {
        min-height: 100px;
    }
}

/* Tablets (601px - 960px) */

@media (min-width: 601px) and (max-width: 960px) {
    .question-panel {
        min-height: 130px;
    }
}

/* Desktop (min-width: 961px) */

@media (min-width: 961px) {
    .question-panel {
        min-height: 80px;
    }
}

/* Mobile & Tablet Notepad (max-width: 768px) */

@media (max-width: 768px) {
    .notepad-main {
        width: calc(100vw - 40px);
        height: calc(50vh - 40px);
        bottom: 20px;
        right: 20px;
        left: 20px;
    }

    .notepad-header {
        padding: 8px 12px;
        min-height: 48px;
    }

    .notepad-title {
        font-size: 14px;
    }

    .notepad-icon {
        font-size: 18px;
    }

    .header-btn {
        min-width: 32px;
        min-height: 32px;
    }

    .notepad-toolbar {
        flex-wrap: wrap;
        gap: 2px;
        padding: 6px 12px;
    }

        .notepad-toolbar button,
        .notepad-toolbar select {
            font-size: 12px;
            padding: 4px 8px;
        }

    .notepad-editor {
        padding: 15px;
        font-size: 13px;
    }

    .editor-footer {
        padding: 6px 12px;
        font-size: 11px;
    }
}

.record-dot {
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

/*************************** TAKE EXAM ***************************/



/*************************** (OTHER) INSTRUCTIONS ***************************/

.custom-mud-container {
    margin-top: 6px;
    --custom-height1: 120px;
    height: calc(100vh - var(--custom-height1, 0px));
    max-height: calc(100vh - var(--custom-height1, 0px));
    overflow-y: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--mud-palette-background), var(--mud-palette-surface));
}

.pre-exam-panel-scrollable {
    --custom-height2: 120px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - var(--custom-height2, 0px));
    box-sizing: border-box;
    padding: 1rem;
}

.sticky-bottom-paper {
    z-index: 100;
    margin-bottom: 6px;
    padding:12px;
}

.page-header {
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--mud-palette-secondary));
    border-radius: 20px;
}

.header-avatar {
    background: rgba(255, 255, 255, 0.2);
}

.header-icon,
.header-title {
    color: var(--mud-palette-white);
}

/* Guidelines Section Styles */

.guidelines-card {
    overflow: hidden;
}

.guidelines-header {
    background: linear-gradient(135deg, var(--mud-palette-background), var(--mud-palette-surface));
}

.guidelines-avatar,
.guidelines-title,
.guideline-text,
.guidelines-info-icon,
.guidelines-notes-text {
    color: var(--mud-palette-text-primary);
}

.guidelines-divider {
    border-color: var(--mud-palette-divider);
}

.guidelines-footer {
    background: var(--mud-palette-background-gray);
    border-radius: 12px;
}

/* Equipment Testing Styles */

.equipment-card {
    transition: all 0.3s ease;
    background: linear-gradient(145deg, var(--mud-palette-surface), var(--mud-palette-background-gray));
    height: 100%;
}

    .equipment-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
    }

.equipment-header {
    background: var(--mud-palette-primary);
}

.equipment-icon {
    color: var(--mud-palette-white);
    font-size: 2rem;
}

.equipment-subtitle {
    opacity: 0.9;
}

/* Confirmation Section Styles */

.confirmation-card {
    background: linear-gradient(135deg, var(--mud-palette-background), var(--mud-palette-surface));
    border-bottom: 3px solid green;
    padding: 14px;
    box-shadow: 3px 2px 6px rgba(0,0,0,0.1);
}

.confirmation-title,
.confirmation-checkbox,
.confirmation-text {
    color: var(--mud-palette-text-primary);
}

/* Action Button Styles */

.action-button {
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    min-width: 160px;
    border-radius: 25px;
    padding: 12px 32px;
}

    .action-button:hover {
        transform: translateY(-2px);
    }

/* Guideline Card Styles */

.guideline-card {
    transition: all 0.3s ease;
    border: 1px solid var(--mud-palette-divider);
    background: linear-gradient(145deg, var(--mud-palette-surface), var(--mud-palette-background));
}

    .guideline-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
        border-color: var(--mud-palette-divider);
    }

/* Responsive Adjustments */

@media (max-width: 960px) {
    .d-flex.gap-4 {
        flex-direction: column;
        align-items: center;
    }

    .action-button {
        width: 100%;
        max-width: 300px;
        margin-bottom: 12px;
    }
}

/* Enhanced Animations */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mud-card {
    animation: slideIn 0.6s ease-out;
}

/* Custom Checkbox Styling */

.mud-checkbox {
    transition: none;
}

/* Video Styles */

.recording-indicator {
    position: absolute;
    top: 10px;
    left: 5px;
    z-index: 500;
    animation: pulse 2s infinite;
    font-size: 14px;
    color: red;
    font-weight: 600;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.camera-video,
.recorded-video {
    width: 100%;
    height: auto;
    background: #000;
    border-radius: 8px;
}

/*************************** (OTHER) INSTRUCTIONS ***************************/



/*************************** MUD AUDIO LISTENER ***************************/

.audio-player-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-3 {
    gap: 12px;
}

/*************************** MUD AUDIO LISTENER ***************************/



/*************************** EXAM RESULT ***************************/

.question-navigation .question-btn {
    font-weight: 600;
    font-size: 0.875rem;
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-text-primary);
    transition: background-color 0.2s ease-in-out;
}

.gap-1 > * {
    margin: 2px;
}

@media (max-width: 768px) {
    .question-navigation .d-flex.flex-wrap {
        flex-direction: column;
    }

    .question-navigation .mx-3 {
        margin: 1rem 0 !important;
    }
}

.question-underline {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    border-radius: 2px;
}

.question-navigation .question-btn.active {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.08);
}

.question-navigation .question-btn:hover {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.04);
}

.question-btn.status-primary .question-underline {
    background-color: var(--mud-palette-primary);
}

.question-btn.status-success .question-underline {
    background-color: var(--mud-palette-success);
}

.question-btn.status-error .question-underline {
    background-color: var(--mud-palette-error);
}

.question-btn.status-warning .question-underline {
    background-color: var(--mud-palette-warning);
}

.question-btn.status-info .question-underline {
    background-color: var(--mud-palette-info);
}

.question-btn.status-secondary .question-underline {
    background-color: var(--mud-palette-secondary);
}

.question-btn.status-dark .question-underline {
    background-color: var(--mud-palette-dark);
}

.question-btn.status-default .question-underline {
    background-color: var(--mud-palette-text-secondary);
}

/* Exam Result Cards */

.ExamResultCards-loader {
    height: 200px;
}

.ExamResultCards-divider {
    width: 4px;
    background-color: var(--mud-palette-primary);
}

.ExamResultCards-AccuracyCard-avatar {
    width: 40px;
    height: 40px;
}

.ExamResultCards-QuestionNumber-button {
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
}

/* Question Display Panel */

.QuestionDisplayPanel-paper {
    border: 1px solid #e0e0e0;
}

.QuestionDisplayPanel-text {
    flex-grow: 1;
}

/*************************** EXAM RESULT ***************************/



/*************************** CALCUALTOR ***************************/

.calculator-wrapper {
    max-width: 420px;
    margin: 0 auto;
    padding: 12px;
}

    .calculator-wrapper, .calculator-wrapper * {
        box-sizing: border-box;
        font-size: 14pt !important;
    }

.calculator-paper-outer {
    background-color: #EEEEEE;
}

.calculator-paper-inner {
    border-top: 1px solid #262626;
    border-left: 1px solid #262626;
    border-right: 2px outset #262626;
    border-bottom: 2px outset #262626;
}

.sci-calculator-content {
    padding: 8px;
    border-top: 1px solid #262626;
    border-left: 1px solid #262626;
    border-right: 2px outset #262626;
    border-bottom: 2px outset #262626;
    background: #fff;
}

.sci-input-display {
    font-size: 14px;
    color: #333;
    text-align: right;
    min-height: 20px;
    padding: 2px 6px;
    margin-bottom: 0;
    opacity: 0.85;
}

.sci-output-display {
    font-size: 22px;
    padding: 10px 8px;
    margin: 6px 0;
    text-align: right;
    background-color: #336699 !important;
    color: #fff !important;
    font-weight: 700;
    min-height: 50px;
    border-radius: 4px;
}

.mud-button-root.sci-func-btn,
.mud-button-root.sci-func-btn-small,
.mud-button-root.sci-num-btn,
.mud-button-root.sci-op-btn,
.mud-button-root.sci-eq-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 48px;
    padding: 0 8px;
    border-radius: 6px;
    font-weight: bold;
    text-transform: none;
    box-shadow: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.mud-button-root.sci-func-btn {
    background: #e5ecf3;
    border: 1px solid #a2bbd4;
    color: #0b1b2a;
    font-size: 16px;
}

    .mud-button-root.sci-func-btn:hover {
        filter: brightness(0.98);
    }

.mud-button-root.sci-func-btn-small {
    background: #e5ecf3;
    border: 1px solid #a2bbd4;
    color: #0b1b2a;
    font-size: 15px;
    height: 46px;
}

.mud-button-root.sci-num-btn {
    background: #aec0d3;
    border: 1px solid #336699;
    color: #06203a;
    font-size: 18px;
}

.mud-button-root.sci-op-btn {
    background: #e5ecf3;
    border: 1px solid #a2bbd4;
    color: #06203a;
    font-size: 16px;
}

.mud-button-root.sci-eq-btn {
    background: #7ea0c9;
    border: 1px solid #336699;
    font-size: 18px;
}

.btn-row {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    align-items: center;
    width: 100%;
}


    .btn-row.top-row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr auto;
        gap: 8px;
        align-items: center;
        width: 100%;
    }

.sci-rd-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 6px;
    margin: 0;
    font-size: 12px;
    white-space: nowrap;
    width: fit-content;
    min-width: fit-content;
    justify-self: end;
    background: #e5ecf3;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    height: 36px;
}

    .sci-rd-group .mud-radio {
        transform: scale(0.85);
        transform-origin: left center;
        margin: 0 2px;
    }

    .sci-rd-group .mud-typography {
        font-size: 12px;
        line-height: 1;
    }

.sci-history {
    font-size: 13px;
    color: #666;
    text-align: right;
    margin-top: 10px;
    max-height: 120px;
    overflow-y: auto;
}

@media (max-width: 420px) {
    .calculator-wrapper {
        max-width: 100%;
        padding: 8px;
    }

    .mud-button-root.sci-func-btn,
    .mud-button-root.sci-num-btn,
    .mud-button-root.sci-op-btn,
    .mud-button-root.sci-eq-btn {
        height: 40px;
        font-size: 15px;
    }

    .sci-output-display {
        font-size: 20px;
        min-height: 44px;
    }

    .btn-row.top-row {
        gap: 6px;
        grid-template-columns: 1fr 1fr 1fr auto;
    }

    .sci-rd-group {
        padding: 1px 6px;
        font-size: 11px;
        height: 34px;
    }

        .sci-rd-group .mud-radio {
            transform: scale(0.8);
        }
}

/*************************** CALCUALTOR ***************************/



/*************************** NOT FOUND PAGE ***************************/

.notfound-container {
    min-height: 80vh;
    padding: 16px;
}

.notfound-card {
    max-width: 500px;
    width: 100%;
}

.notfound-icon-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background-color: #EEEEEE;
    border-radius: 50%;
    border: 2px solid #E0E0E0;
}

.notfound-title {
    font-weight: bold;
    margin-bottom: 16px;
}

.notfound-description {
    margin-bottom: 24px;
    line-height: 1.6;
}

.notfound-button {
    font-weight: 500;
}

/*************************** NOT FOUND PAGE ***************************/



/*************************** AUTHORIZING / NOT AUTHORIZED PAGES ***************************/

.authorizing-container {
    min-height: 100vh;
}

.authorizing-card {
    max-width: 500px;
    width: 100%;
    border-radius: 16px;
}

.authorizing-icon-container {
    margin-bottom: 1rem;
}

.authorizing-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.authorizing-description {
    color: var(--mud-palette-text-secondary);
    margin-bottom: 1rem;
}

.rotating-icon {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.notauthorized-container {
    min-height: 80vh;
    padding: 16px;
}

.notauthorized-card {
    max-width: 500px;
    width: 100%;
}

.notauthorized-icon-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background-color: #EEEEEE;
    border-radius: 50%;
    border: 2px solid #E0E0E0;
}

.notauthorized-title {
    font-weight: bold;
    margin-bottom: 16px;
}

.notauthorized-description {
    margin-bottom: 24px;
    line-height: 1.6;
}

.notauthorized-button {
    font-weight: 500;
}

/*************************** AUTHORIZING / NOT AUTHORIZED PAGES ***************************/



/*************************** FILL-IN-BLANKS LAYOUT ***************************/

.inline-editor-container div {
    margin: 0;
    height:50px;
    padding: 2px !important;
    margin-top:-2px!important;
}

.mud-input-input {
    line-height: 50px !important;
    height: 50px !important;
    padding: 0 !important;
}

.inline-editor-container .mud-grid-item {
    flex-grow: 0 !important;
    max-width: fit-content !important;
}

.inline-editor-container .fit-content-item {
    flex-grow: 0 !important;
    max-width: fit-content !important;
    display: flex !important;
}

/*************************** FILL-IN-BLANKS LAYOUT ***************************/



/*************************** COMPREHENSION LAYOUT ***************************/

.resizer {
    position: absolute;
    top: 0;
    width: 5px;
    background-color: #e0e0e0;
    cursor: col-resize;
    height: 85vh;
    z-index: 10;
    transition: background-color 0.2s ease;
}

    .resizer:hover {
        background-color: #1976d2;
    }

    .resizer:active {
        background-color: #1565c0;
    }

/*************************** COMPREHENSION LAYOUT ***************************/



/*************************** EXAM BLUR OVERLAY ***********************************/

.blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: all;
}

.warning-box {
    min-width: 300px;
    max-width: 600px;
    padding: 24px;
    border-left: 6px solid #ffa000;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/*************************** EXAM BLUR OVERLAY ***********************************/



/*************************** MEDIA QUESTIONS ***********************************/

.media-play-counter {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 4px;
    color: #0d47a1;
    background: linear-gradient(90deg, #e3f2fd, #bbdefb);
    border: 1px solid #90caf9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    gap: 6px;
}

/*************************** MEDIA QUESTIONS ***********************************/



/*************************** QUESTIONS LAYOUT ***********************************/

.question-watermark-transparent {
    background-color: transparent !important;
}

/*************************** QUESTIONS LAYOUT ***********************************/

/* Comprehension Fill In The Blank Layout */

.fill-blank-container {
    width: 100%;
}

.fill-blank-content {
    line-height: 2.5;
    font-size: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.fill-blank-text {
    display: inline;
    vertical-align: middle;
}

.fill-blank-input-wrapper {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.fill-blank-input {
    display: inline-flex !important;
    vertical-align: middle;
    min-width: 100px !important;
    max-width: 150px !important;
}

    .fill-blank-input .mud-input-root {
        margin: 0 !important;
        border: none !important;
    }

    .fill-blank-input .mud-input {
        text-align: center;
        border: none !important;
        border-bottom: none !important;
        padding: 4px 8px;
        font-size: 1rem;
        background-color: transparent;
    }

        .fill-blank-input .mud-input:focus {
            border: none !important;
            border-bottom: none !important;
            outline: none;
            background-color: rgba(0, 0, 0, 0.02);
        }

        .fill-blank-input .mud-input-root:before,
        .fill-blank-input .mud-input-root:after {
            display: none !important;
        }

/* RTL Support for Arabic */

[dir="rtl"] .fill-blank-content {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .fill-blank-input {
    direction: ltr;
}
