/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-4d0gji6q1b] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-4d0gji6q1b] {
    flex: 1;
    width: 100%;
}

.content[b-4d0gji6q1b] {
    padding: 0;
}

#blazor-error-ui[b-4d0gji6q1b] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-4d0gji6q1b] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-r5ywl3s0lr] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-r5ywl3s0lr] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-r5ywl3s0lr] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-r5ywl3s0lr] {
    font-size: 1.1rem;
}

.bi[b-r5ywl3s0lr] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-r5ywl3s0lr] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-r5ywl3s0lr] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-r5ywl3s0lr] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-r5ywl3s0lr] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-r5ywl3s0lr] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-r5ywl3s0lr] {
        padding-bottom: 1rem;
    }

    .nav-item[b-r5ywl3s0lr]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-r5ywl3s0lr]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-r5ywl3s0lr]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-r5ywl3s0lr] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-r5ywl3s0lr] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-r5ywl3s0lr] {
        display: none;
    }

    .nav-scrollable[b-r5ywl3s0lr] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-4qp2w1e183],
.components-reconnect-repeated-attempt-visible[b-4qp2w1e183],
.components-reconnect-failed-visible[b-4qp2w1e183],
.components-pause-visible[b-4qp2w1e183],
.components-resume-failed-visible[b-4qp2w1e183],
.components-rejoining-animation[b-4qp2w1e183] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-4qp2w1e183],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-4qp2w1e183],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-4qp2w1e183],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-4qp2w1e183],
#components-reconnect-modal.components-reconnect-retrying[b-4qp2w1e183],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-4qp2w1e183],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-4qp2w1e183],
#components-reconnect-modal.components-reconnect-failed[b-4qp2w1e183],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-4qp2w1e183] {
    display: block;
}


#components-reconnect-modal[b-4qp2w1e183] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-4qp2w1e183 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-4qp2w1e183 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-4qp2w1e183 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-4qp2w1e183]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-4qp2w1e183 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-4qp2w1e183 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-4qp2w1e183 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-4qp2w1e183 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-4qp2w1e183] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-4qp2w1e183] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-4qp2w1e183] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-4qp2w1e183] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-4qp2w1e183] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-4qp2w1e183] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-4qp2w1e183] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-4qp2w1e183 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-4qp2w1e183] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-4qp2w1e183 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.test-grading-container[b-lkdzxf39wr] {
    max-width: 800px;
    margin: 2rem auto;
    padding: 3rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.page-title[b-lkdzxf39wr] {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Upload Section */
.upload-section[b-lkdzxf39wr] {
    margin-bottom: 1rem;
}

.drop-zone[b-lkdzxf39wr] {
    border: 3px dashed #cbd5e1;
    border-radius: 16px;
    padding: 2rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.3s ease;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drop-zone:hover[b-lkdzxf39wr] {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
}

.drop-zone.dragging[b-lkdzxf39wr] {
    border-color: #2563eb;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.drop-zone-content[b-lkdzxf39wr] {
    text-align: center;
    width: 100%;
}

.drop-zone-content.clickable[b-lkdzxf39wr] {
    cursor: pointer;
}

.upload-icon[b-lkdzxf39wr] {
    width: 80px;
    height: 80px;
    color: #3b82f6;
    margin: 0 auto 1.5rem;
    display: block;
}

.file-icon[b-lkdzxf39wr] {
    width: 80px;
    height: 80px;
    color: #10b981;
    margin: 0 auto 1rem;
    display: block;
}

.drop-zone-title[b-lkdzxf39wr] {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.drop-zone-subtitle[b-lkdzxf39wr] {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.drop-zone-formats[b-lkdzxf39wr] {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
}

.file-name[b-lkdzxf39wr] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.file-size[b-lkdzxf39wr] {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.btn-remove[b-lkdzxf39wr] {
    background-color: #ef4444;
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-remove:hover[b-lkdzxf39wr] {
    background-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Form Section */
.form-section[b-lkdzxf39wr] {
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group[b-lkdzxf39wr] {
    margin-bottom: 0;
}

.form-label[b-lkdzxf39wr] {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.optional[b-lkdzxf39wr] {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.875rem;
}

.form-input[b-lkdzxf39wr] {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus[b-lkdzxf39wr] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-input[b-lkdzxf39wr]::placeholder {
    color: #cbd5e1;
}

/* Action Section */
.action-section[b-lkdzxf39wr] {
    text-align: center;
}

.btn-primary-custom[b-lkdzxf39wr] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary-custom:hover[b-lkdzxf39wr] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.btn-primary-custom:active[b-lkdzxf39wr] {
    transform: translateY(0);
}

.btn-primary-custom:disabled[b-lkdzxf39wr] {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-primary-custom:disabled:hover[b-lkdzxf39wr] {
    transform: none;
    box-shadow: none;
}

.btn-icon[b-lkdzxf39wr] {
    width: 24px;
    height: 24px;
}

.spinner[b-lkdzxf39wr] {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-lkdzxf39wr 0.8s linear infinite;
}

@keyframes spin-b-lkdzxf39wr {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .test-grading-container[b-lkdzxf39wr] {
        margin: 1rem;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .page-title[b-lkdzxf39wr] {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .drop-zone[b-lkdzxf39wr] {
        padding: 2rem 1rem;
        min-height: 250px;
    }

    .upload-icon[b-lkdzxf39wr],
    .file-icon[b-lkdzxf39wr] {
        width: 60px;
        height: 60px;
    }

    .drop-zone-title[b-lkdzxf39wr] {
        font-size: 1.25rem;
    }

    .form-section[b-lkdzxf39wr] {
        padding: 1.5rem;
    }

    .btn-primary-custom[b-lkdzxf39wr] {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}
/* /Components/Pages/Processing.razor.rz.scp.css */
.test-grading-container[b-a0fqbfn3ut] {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 3rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.page-title[b-a0fqbfn3ut] {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Error Message */
.error-message[b-a0fqbfn3ut] {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 16px;
    border: 2px solid #fecaca;
}

.error-icon[b-a0fqbfn3ut] {
    width: 80px;
    height: 80px;
    color: #ef4444;
    margin: 0 auto 1.5rem;
    display: block;
}

.error-message p[b-a0fqbfn3ut] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #dc2626;
    margin: 0;
}

/* Processing Layout - Split Screen */
.processing-layout[b-a0fqbfn3ut] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    min-height: 600px;
}

/* Image Section - Left Column */
.image-section[b-a0fqbfn3ut] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
}

.image-container[b-a0fqbfn3ut] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: calc(100vh - 300px);
}

.test-image[b-a0fqbfn3ut] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Steps Section - Right Column */
.steps-section[b-a0fqbfn3ut] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.steps-title[b-a0fqbfn3ut] {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.steps-container[b-a0fqbfn3ut] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Step Item */
.step-item[b-a0fqbfn3ut] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.step-item.completed[b-a0fqbfn3ut] {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #86efac;
}

.step-item.processing[b-a0fqbfn3ut] {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.step-item.pending[b-a0fqbfn3ut] {
    background: #fafafa;
    border-color: #e5e7eb;
}

/* Step Indicator */
.step-indicator[b-a0fqbfn3ut] {
    flex-shrink: 0;
}

.checkmark-circle[b-a0fqbfn3ut] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.checkmark-icon[b-a0fqbfn3ut] {
    width: 28px;
    height: 28px;
    color: white;
    stroke-width: 3;
}

.spinner-circle[b-a0fqbfn3ut] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner[b-a0fqbfn3ut] {
    width: 32px;
    height: 32px;
    border: 4px solid rgba(59, 130, 246, 0.2);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin-b-a0fqbfn3ut 0.8s linear infinite;
}

@keyframes spin-b-a0fqbfn3ut {
    to {
        transform: rotate(360deg);
    }
}

.pending-circle[b-a0fqbfn3ut] {
    width: 48px;
    height: 48px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number[b-a0fqbfn3ut] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #9ca3af;
}

/* Step Content */
.step-content[b-a0fqbfn3ut] {
    flex: 1;
}

.step-name[b-a0fqbfn3ut] {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.step-status[b-a0fqbfn3ut] {
    font-size: 0.875rem;
    font-weight: 500;
}

.step-status.completed[b-a0fqbfn3ut] {
    color: #059669;
}

.step-status.processing[b-a0fqbfn3ut] {
    color: #2563eb;
}

.step-status.pending[b-a0fqbfn3ut] {
    color: #9ca3af;
}

/* Completion Info */
.completion-info[b-a0fqbfn3ut] {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #86efac;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-top: 1rem;
}

.completion-icon[b-a0fqbfn3ut] {
    width: 64px;
    height: 64px;
    color: #10b981;
    margin: 0 auto 1rem;
    display: block;
}

.completion-info h3[b-a0fqbfn3ut] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    margin: 0 0 1rem 0;
}

.processing-time[b-a0fqbfn3ut],
.processing-cost[b-a0fqbfn3ut] {
    font-size: 1rem;
    color: #047857;
    margin: 0.5rem 0;
    font-weight: 500;
}

/* Error Alert */
.error-alert[b-a0fqbfn3ut] {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fecaca;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.error-alert p[b-a0fqbfn3ut] {
    color: #dc2626;
    font-weight: 500;
    margin: 0;
    font-size: 0.875rem;
}

/* Result Layout - after processing completes */
.result-layout[b-a0fqbfn3ut] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    height: calc(100vh - 12rem);
    min-height: 400px;
}

.result-image-section[b-a0fqbfn3ut] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    min-height: 0;
}

.svg-wrapper[b-a0fqbfn3ut] {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-svg[b-a0fqbfn3ut] {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: 8px;
}

[b-a0fqbfn3ut] .item-bbox-rect {
    cursor: pointer;
    transition: fill 0.15s ease;
}

[b-a0fqbfn3ut] .item-bbox-rect:hover {
    fill: rgba(59, 130, 246, 0.14);
}

.item-preview[b-a0fqbfn3ut] {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(0, 0, 0, 0.6);
    background: white;
}

.item-preview svg[b-a0fqbfn3ut] {
    display: block;
    width: 100%;
    height: 100%;
}

/* Right Panel */
.result-right-section[b-a0fqbfn3ut] {
    overflow-y: auto;
    min-height: 0;
    padding-right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-right-section[b-a0fqbfn3ut]::-webkit-scrollbar {
    width: 6px;
}

.result-right-section[b-a0fqbfn3ut]::-webkit-scrollbar-track {
    background: transparent;
}

.result-right-section[b-a0fqbfn3ut]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.section-title[b-a0fqbfn3ut] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    letter-spacing: -0.25px;
}

/* Summary */
.result-summary[b-a0fqbfn3ut] {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 14px;
    padding: 1.25rem;
}

.summary-stats[b-a0fqbfn3ut] {
    display: flex;
    gap: 1rem;
}

.stat-card[b-a0fqbfn3ut] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.stat-icon[b-a0fqbfn3ut] {
    width: 28px;
    height: 28px;
    color: #3b82f6;
    flex-shrink: 0;
}

.stat-info[b-a0fqbfn3ut] {
    display: flex;
    flex-direction: column;
}

.stat-label[b-a0fqbfn3ut] {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value[b-a0fqbfn3ut] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

/* Steps */
.result-steps[b-a0fqbfn3ut] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.result-step-card[b-a0fqbfn3ut] {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.step-card-header[b-a0fqbfn3ut] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.step-icon[b-a0fqbfn3ut] {
    width: 22px;
    height: 22px;
    color: #3b82f6;
    flex-shrink: 0;
}

.step-card-header .step-label[b-a0fqbfn3ut] {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    flex-shrink: 0;
}

.step-card-header .step-text[b-a0fqbfn3ut] {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

/* Item cards */
.result-item-card[b-a0fqbfn3ut] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.result-item-card:hover[b-a0fqbfn3ut] {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
    background-color: #fafcff;
}

.item-card-header[b-a0fqbfn3ut] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.item-icon[b-a0fqbfn3ut] {
    width: 16px;
    height: 16px;
    color: #94a3b8;
    flex-shrink: 0;
}

.item-card-header .item-label[b-a0fqbfn3ut] {
    font-weight: 700;
    color: #334155;
    font-size: 0.95rem;
}

.item-card-header .item-text[b-a0fqbfn3ut] {
    font-weight: 500;
    color: #475569;
    font-size: 0.95rem;
}

.item-details[b-a0fqbfn3ut] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.item-field[b-a0fqbfn3ut] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.field-label[b-a0fqbfn3ut] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.field-value[b-a0fqbfn3ut] {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.5;
}

.item-field-row[b-a0fqbfn3ut] {
    display: flex;
    gap: 1.5rem;
}

.inline-field[b-a0fqbfn3ut] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
}

.bool-badge svg[b-a0fqbfn3ut] {
    width: 22px;
    height: 22px;
    display: block;
}

.cause-of-error .field-value[b-a0fqbfn3ut] {
    color: #0f172a;
    font-weight: 700;
}

/* Step feedback */
.step-feedback[b-a0fqbfn3ut] {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #e2e8f0;
}

.feedback-text[b-a0fqbfn3ut] {
    font-size: 0.9rem;
    color: #000;
    font-weight: bold;
    line-height: 1.6;
    margin-top: 0.25rem;
}

/* Overall feedback */
.result-overall-feedback[b-a0fqbfn3ut] {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: 14px;
    padding: 1.25rem;
}

.result-overall-feedback .feedback-text[b-a0fqbfn3ut] {
    color: #166534;
}

/* Highlight animation for cross-panel focus */
@keyframes item-highlight-flash-b-a0fqbfn3ut {
    0% { background-color: #FFC067; box-shadow: 0 0 0 4px rgba(255, 192, 103, 0.25); }
    100% { background-color: white; box-shadow: none; }
}

[b-a0fqbfn3ut] .item-highlight {
    animation: item-highlight-flash-b-a0fqbfn3ut 1.5s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .test-grading-container[b-a0fqbfn3ut] {
        margin: 1rem;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .page-title[b-a0fqbfn3ut] {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .processing-layout[b-a0fqbfn3ut] {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: auto;
    }

    .image-section[b-a0fqbfn3ut] {
        min-height: 300px;
    }

    .image-container[b-a0fqbfn3ut] {
        max-height: 400px;
    }

    .steps-title[b-a0fqbfn3ut] {
        font-size: 1.25rem;
    }

    .step-item[b-a0fqbfn3ut] {
        padding: 1rem;
        gap: 1rem;
    }

    .checkmark-circle[b-a0fqbfn3ut],
    .spinner-circle[b-a0fqbfn3ut],
    .pending-circle[b-a0fqbfn3ut] {
        width: 40px;
        height: 40px;
    }

    .checkmark-icon[b-a0fqbfn3ut] {
        width: 24px;
        height: 24px;
    }

    .spinner[b-a0fqbfn3ut] {
        width: 28px;
        height: 28px;
    }

    .step-name[b-a0fqbfn3ut] {
        font-size: 1rem;
    }

    .step-number[b-a0fqbfn3ut] {
        font-size: 1rem;
    }

    .completion-icon[b-a0fqbfn3ut] {
        width: 48px;
        height: 48px;
    }

    .completion-info h3[b-a0fqbfn3ut] {
        font-size: 1.25rem;
    }

    .result-layout[b-a0fqbfn3ut] {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        height: auto;
        min-height: auto;
    }

    .result-image-section[b-a0fqbfn3ut] {
        min-height: 300px;
    }

    .result-right-section[b-a0fqbfn3ut] {
        max-height: none;
    }
}
