﻿
* {
    font-family: 'Cairo', sans-serif !important;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Regular.woff2') format('woff2'),    /* Prioritize WOFF2 for modern browsers */
         url('/fonts/Cairo-Regular.ttf') format('truetype');   /* Fallback to TTF for older browsers */
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Medium.woff2') format('woff2'),
         url('/fonts/Cairo-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-SemiBold.woff2') format('woff2'),
         url('/fonts/Cairo-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Bold.woff2') format('woff2'),
         url('/fonts/Cairo-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html, body {
    font-family: 'Cairo', sans-serif !important;
}

h1:focus {
    outline: none;
}

.mud-input-helper-text .me-auto {
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
    text-align: start !important;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
}

.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."
}

/* START - STARTING PAGE STYLES */

.slider-img {
    max-width: 400px;
}

.form-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(76, 201, 240, 0.1));
}
        
.form-section {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    transform: translateY(0);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
        
.form-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
}
        
h2.welcome-title {
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}
        
h2.welcome-title:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}
        
h5.subtitle {
    color: #666;
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}
        
.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
        
.form-control {
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s;
    box-shadow: none;
}
        
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.25);
}
        
.theme-selector, .language-selector {
    display: flex;
    margin-top: 0.5rem;
    gap: 1rem;
}
        
.theme-option, .language-option {
    flex: 1;
    text-align: center;
    position: relative;
}
        
.option-card {
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid #e1e1e1;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
        
.dark-theme-card {
    background-color: #121212;
    color: white;
}
        
.light-theme-card {
    background-color: #ffffff;
    color: #121212;
    border: 2px solid #e1e1e1;
}
        
.theme-option input[type="radio"], 
.language-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}
        
.theme-option input[type="radio"]:checked + .option-card,
.language-option input[type="radio"]:checked + .option-card {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
    transform: translateY(-3px);
}
        
.theme-option input[type="radio"]:checked + .option-card::before,
.language-option input[type="radio"]:checked + .option-card::before {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 10px;
    color: var(--primary-color);
    font-weight: bold;
}
        
.option-label {
    font-weight: 600;
    display: block;
}
        
.btn-save {
    background: linear-gradient(251deg, rgba(196,214,218,1) 0%, rgba(0,138,165,1) 100%);
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: white;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.35);
    transition: all 0.3s;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}
        
.btn-save:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(70deg, rgba(226,230,238,1) 0%, rgba(163,175,199,1) 100%);
    transition: all 0.6s;
}
        
.btn-save:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
}
        
.btn-save:hover:before {
    left: 100%;
}
        
.form-section-header {
    margin-bottom: 2rem;
}
        
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}
        
.form-group:last-of-type {
    margin-bottom: 2rem;
}
        
@media (max-width: 767px) {
    .form-section {
        padding: 1.5rem;
    }
            
    .theme-selector, .language-selector {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* END - STARTING PAGE STYLES */

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    text-align: center;
    font-weight: bold;
    margin-bottom: 12px; /* Creates space between the text and the progress bar */
}

 .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.table-data-context {
    font-size: 18px;
    padding: 12px;
}

.table-data-center {
    font-size: 18px;
    padding: 12px;
    text-align: center;
}

.table-header-name {
    font-size: 18px;
    font-weight: bold;
    width: 200px;
}

.table-header-action {
    font-size: 18px;
    font-weight: bold;
    width: 80px;
    text-align: center;
}

.add-to-table-button {
    margin-top: 20px;
    margin-bottom: 20px;
}

.handlerCircularProgressor {
    width: 150px !important;
    height: 150px !important;
}

/* ASSIGNMENT CHAT STYLES */

.assignment-chat-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 500px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
    background-color: var(--mud-palette-background);
}

/* PERSONAL CHAT STYLES */

.chat-wrapper {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--mud-palette-background);
}

.contacts-section {
    width: 100%;
    background-color: var(--mud-palette-background);
    padding: 10px;
    border-right: 1px solid #cfd8dc;
    max-width: 1200px;
    margin: 0 auto 10px;
}

.contacts-headline {
    margin-bottom: 10px;
    font-size: 2rem;
}

.contacts-list {
    display: flex;
    gap: 10px;
    padding: 0 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: var(--mud-palette-background);
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    scroll-snap-align: center;
}

    .contact-item:hover {
        background-color: var(--mud-palette-background);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.selected-contact-paper {
    padding: 10px;
    margin-bottom: -30px;
    z-index: 1;
}

.selected {
    background-color: var(--mud-palette-background);
    border-left: 4px solid #0288d1;
}

.personal-chat-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
    height: 500px;
    padding: 10px;
}

/* ASSIGNMENT & PERSONAL CHATS COMMON STYLES */

.message-box {
    overflow-y: scroll;
    padding-bottom: 20px;
    max-height: 80%;
    scroll-behavior: smooth;
}

.message-left, .message-right {
    padding: 10px;
    border-radius: 10px;
    max-width: 70%;
    margin-bottom: 10px;
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}

.message-left {
    background-color: var(--mud-palette-background);
    margin-right: auto;
}

.message-right {
    background-color: var(--mud-palette-background);
    margin-left: auto;
}

.input-container {
    background-color: var(--mud-palette-background);
    padding: 10px;
    border-radius: 10px;
}

/* SEPARATOR: MISCELLANEOUS CSS RULES */

.popover-max-width {
    max-width: 300px;
}

.big-font-size {
    font-size: 1.5rem;
}

.badge {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: .8rem;
    font-weight: bold;
}

.badge:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}

.mud-expand-panel-header, .mud-expand-panel-content {
    background-color: var(--mud-palette-background);
    color: var(--mud-palette-text-primary);
    border: 1px solid var(--mud-palette-text-primary);
}
.arabic-font {
    font-family: 'Cairo', sans-serif;
    direction: rtl; /* Right-to-left text direction for Arabic */
}

.default-font {
    font-family: 'Arial', sans-serif; /* Replace 'Arial' with your desired font */
    direction: ltr; /* Left-to-right text direction for English */
}

.covered-image {
    object-fit: cover !important;
    object-position: center !important;
    width:97%;
}

.mud-overlay-darken {
    background-color: rgba(0,0,0,0.7) !important;
}

.question-card {
    transition: all 0.3s ease-in-out;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--mud-palette-surface), var(--mud-palette-background));
    box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.15);
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

    .question-card:hover {
        transform: translateY(-5px) scale(1.03);
        box-shadow: 0 8px 24px rgba(var(--mud-palette-primary-rgb), 0.25);
        background: linear-gradient(145deg, var(--mud-palette-primary), var(--mud-palette-primary-darken));
    }

    .question-card.selected {
        border-color: var(--mud-palette-primary);
        background: linear-gradient(145deg, var(--mud-palette-primary), var(--mud-palette-primary-darken));
        box-shadow: 0 6px 20px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

        .question-card.selected::before {
            content: '';
            position: absolute;
            top: 8px;
            right: 8px;
            width: 20px;
            height: 20px;
            background: var(--mud-palette-success);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .question-card.selected::after {
            content: '✓';
            position: absolute;
            top: 12px;
            right: 12px;
            color: white;
            font-size: 12px;
            font-weight: bold;
            z-index: 1;
        }

.card-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.card-title {
    font-weight: 400;
    color: var(--mud-palette-text-primary);
    transition: color 0.3s ease;
    word-wrap: break-word;
    max-width: 100%;
    line-height: 1.4;
}

.question-card:hover .card-title,
.question-card.selected .card-title {
    color: var(--mud-palette-text-primary);
}

.selection-header {
    background: linear-gradient(90deg, var(--mud-palette-primary), var(--mud-palette-secondary));
    color: white;
    border-radius: 12px;
    padding: 16px 24px;
    margin: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(var(--mud-palette-primary-rgb), 0.2);
    gap: 16px;
}

.selection-counter {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.dialog-title {
    background: linear-gradient(135deg, var(--mud-palette-primary), var(--mud-palette-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.grid-container {
    padding: 0 16px 16px 16px;
    margin-top: 10px;
    max-height: 60vh;
    overflow-y: auto;
}

.dialog-actions {
    padding: 24px;
    background: var(--mud-palette-surface);
    border-top: 1px solid var(--mud-palette-divider);
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--mud-palette-text-secondary);
}

.empty-state-icon {
    font-size: 4rem !important;
    margin-bottom: 16px;
    opacity: 0.5;
}

.clear-selection-button {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.submit-button {
    min-width: 140px;
}

/*PreLoader*/

.loader-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.loader-content {
    background: white;
    width: 25%;
    height: 300px;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.enhanced-progress {
    position: relative;
    transform: scale(1.3);
}

    .enhanced-progress::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 120%;
        height: 120%;
        border: 2px solid #3b82f6;
        border-radius: 50%;
        opacity: 0.2;
        animation: pulse-ring 2s ease-in-out infinite;
    }

.title-text {
    color: #1e293b;
    font-weight: 600;
    animation: fade-glow 2s ease-in-out infinite alternate;
}

.subtitle-text {
    color: #64748b;
    font-weight: 400;
}

.loading-dots {
    display: inline-flex;
    gap: 4px;
    margin-inline-start: 8px;
}

.loading-dot {
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    animation: bounce-dots 1.4s ease-in-out infinite both;
}

    .loading-dot:nth-child(1) {
        animation-delay: -0.32s;
    }

    .loading-dot:nth-child(2) {
        animation-delay: -0.16s;
    }

    .loading-dot:nth-child(3) {
        animation-delay: 0s;
    }

.loading-dots-layout {
    display: inline-flex;
    gap: 4px;
    margin-inline-start: 8px;
    padding: 70px;
}

.loading-dot-layout {
    width: 20px;
    height: 20px;
    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;
}

html.dark-theme .progress-circular {
    border: 4px solid #334155;
    border-top: 4px solid #3b82f6;
}

html.dark-theme .progress-linear {
    background-color: #334155;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

@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;
    }
}

.evaluation-icon {
    margin-bottom: 1rem;
    animation: icon-float 3s ease-in-out infinite;
}

    .evaluation-icon svg {
        filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.2));
    }

@keyframes icon-float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .loader-content {
        padding: 2rem;
        margin: 1rem;
    }

    .enhanced-progress {
        transform: scale(1.1);
    }

    .evaluation-icon svg {
        width: 48px;
        height: 48px;
    }
}

.pa-0 {
    padding: 0;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

.stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.h5 {
    font-size: 1.5rem;
    margin: 0;
}

.body1 {
    font-size: 1rem;
    margin: 0;
}

.progress-circular {
    width: 48px;
    height: 48px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.progress-linear {
    width: 200px;
    height: 3px;
    border-radius: 2px;
    margin-top: 1rem;
    background-color: #e2e8f0;
    overflow: hidden;
    position: relative;
}

    .progress-linear::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 40%;
        background: #3b82f6;
        border-radius: 2px;
        animation: progress-indeterminate 2s ease-in-out infinite;
    }

/* Progress Bar Styles */

.progress-bar-container {
    width: 100%;
    max-width: 250px;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    margin: 20px auto;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #3b82f6;
    border-radius: 4px;
    width: var(--blazor-load-percentage, 0%); 
    transition: width 0.2s ease-in-out; 
}

/* Dark theme styles */

html.dark-theme .progress-bar-container {
    background-color: #334155;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes progress-indeterminate {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(250%);
    }

    100% {
        transform: translateX(250%);
    }
}

/* PreLoader */

.chip-container, .max-height-250 {
    max-height: 250px;
    overflow-y: auto;
}