/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-s2i2o7u8yo] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-s2i2o7u8yo] {
    flex: 1;
}

.sidebar[b-s2i2o7u8yo] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

@media (min-width: 641px) {
    .page[b-s2i2o7u8yo] {
        flex-direction: row;
    }

    .sidebar[b-s2i2o7u8yo] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    article[b-s2i2o7u8yo] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-s2i2o7u8yo] {
    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-s2i2o7u8yo] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ut59ukakmh] {
    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-ut59ukakmh] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-ut59ukakmh] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ut59ukakmh] {
    font-size: 1.1rem;
}

.bi[b-ut59ukakmh] {
    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-ut59ukakmh] {
    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-file-earmark-fill-nav-menu[b-ut59ukakmh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-file-earmark-fill' viewBox='0 0 16 16'%3E%3Cpath d='M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2m5.5 1.5v2a1 1 0 0 0 1 1h2z'/%3E%3C/svg%3E");
}

.bi-heart-pulse-fill-nav-menu[b-ut59ukakmh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-heart-pulse-fill' viewBox='0 0 16 16'%3E%3Cpath d='M1.475 9C2.702 10.84 4.779 12.871 8 15c3.221-2.129 5.298-4.16 6.525-6H12a.5.5 0 0 1-.464-.314l-1.457-3.642-1.598 5.593a.5.5 0 0 1-.945.049L5.889 6.568l-1.473 2.21A.5.5 0 0 1 4 9z'/%3E%3Cpath d='M.88 7.547A.5.5 0 0 1 .838 7.5 6.068 6.068 0 0 1 .5 5.5 5.5 5.5 0 0 1 11.269 2.26a5.5 5.5 0 0 1 4.198 5.277c-.006.37-.07.73-.164 1.072a.5.5 0 0 1-.958-.283c.074-.27.122-.553.127-.843A4.5 4.5 0 0 0 11.5 3a4.5 4.5 0 0 0-4.461 3.89.5.5 0 0 1-.94.098L5.5 5.5 4.416 7.124A.5.5 0 0 1 4 7.377a.5.5 0 0 1-.464-.314L2.457 4.42A4.5 4.5 0 0 0 1.5 5.5c0 .652.13 1.27.38 1.847a.5.5 0 0 1-1 .2'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-ut59ukakmh] {
    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-ut59ukakmh] {
    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-ut59ukakmh] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ut59ukakmh] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ut59ukakmh] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ut59ukakmh]  .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-ut59ukakmh]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-ut59ukakmh]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-ut59ukakmh] {
    display: none;
    flex-direction: column;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ut59ukakmh] {
    display: flex;
    min-height: calc(100vh - 3.5rem);
}

.nav-bottom[b-ut59ukakmh] {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 0.5rem;
}

.logout-btn[b-ut59ukakmh] {
    cursor: pointer;
    background: none;
    border: none;
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
    font-size: 0.9rem;
    padding: 0 1rem;
}

    .logout-btn:hover[b-ut59ukakmh] {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .logout-btn:disabled[b-ut59ukakmh] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.bi-box-arrow-left-nav-menu[b-ut59ukakmh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-box-arrow-left' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6 12.5a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.5.5v2a.5.5 0 0 1-1 0v-2A1.5 1.5 0 0 1 6.5 2h8A1.5 1.5 0 0 1 16 3.5v9a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 5 12.5v-2a.5.5 0 0 1 1 0v2z'/%3E%3Cpath fill-rule='evenodd' d='M.146 8.354a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L1.707 7.5H10.5a.5.5 0 0 1 0 1H1.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3z'/%3E%3C/svg%3E");
}

@media (min-width: 641px) {
    .navbar-toggler[b-ut59ukakmh] {
        display: none;
    }

    .nav-scrollable[b-ut59ukakmh] {
        /* Never collapse the sidebar for wide screens */
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        /* 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-wf0xjuynuy],
.components-reconnect-repeated-attempt-visible[b-wf0xjuynuy],
.components-reconnect-failed-visible[b-wf0xjuynuy],
.components-pause-visible[b-wf0xjuynuy],
.components-resume-failed-visible[b-wf0xjuynuy],
.components-rejoining-animation[b-wf0xjuynuy] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-retrying[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-failed[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-wf0xjuynuy] {
    display: block;
}


#components-reconnect-modal[b-wf0xjuynuy] {
    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-wf0xjuynuy 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-wf0xjuynuy 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-wf0xjuynuy 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-wf0xjuynuy]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-wf0xjuynuy 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-wf0xjuynuy {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-wf0xjuynuy {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-wf0xjuynuy {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-wf0xjuynuy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-wf0xjuynuy] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-wf0xjuynuy] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-wf0xjuynuy] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-wf0xjuynuy] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-wf0xjuynuy] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-wf0xjuynuy] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-wf0xjuynuy 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-wf0xjuynuy] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-wf0xjuynuy {
    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/FileRecordCreate.razor.rz.scp.css */
/* Page Header */
.page-header[b-nz7xkasyww] {
    margin-bottom: 1.5rem;
}

.back-link[b-nz7xkasyww] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #6c757d;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.back-link:hover[b-nz7xkasyww] {
    color: #1b6ec2;
}

.page-header h1[b-nz7xkasyww] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a2e;
}

.page-subtitle[b-nz7xkasyww] {
    margin: 0.25rem 0 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Form Card */
.form-card[b-nz7xkasyww] {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 640px;
}

/* Form Grid */
.form-grid[b-nz7xkasyww] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.field[b-nz7xkasyww] {
    display: flex;
    flex-direction: column;
}

.full-width[b-nz7xkasyww] {
    grid-column: 1 / -1;
}

.field-label[b-nz7xkasyww] {
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.35rem;
}

.required[b-nz7xkasyww] {
    color: #dc3545;
}

/* Alert */
.alert-error[b-nz7xkasyww] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 1.25rem;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #991b1b;
    font-size: 0.875rem;
}

.alert-success[b-nz7xkasyww] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 1.25rem;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 6px;
    color: #166534;
    font-size: 0.875rem;
}

/* Form Actions */
.form-actions[b-nz7xkasyww] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0f0;
}

.btn-submit[b-nz7xkasyww] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

/* Spinner */
.spinner-sm[b-nz7xkasyww] {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-nz7xkasyww 0.6s linear infinite;
}

@keyframes spin-b-nz7xkasyww {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 640px) {
    .form-card[b-nz7xkasyww] {
        padding: 1rem;
    }

    .form-grid[b-nz7xkasyww] {
        grid-template-columns: 1fr;
    }

    .form-actions[b-nz7xkasyww] {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .form-actions .btn[b-nz7xkasyww] {
        text-align: center;
    }
}

/* Field with lock button */
.field-with-lock[b-nz7xkasyww] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.field-with-lock .form-control[b-nz7xkasyww] {
    flex: 1;
}

.btn-lock[b-nz7xkasyww] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.15s, border-color 0.15s, transform 0.1s;
    flex-shrink: 0;
}

.btn-lock:hover[b-nz7xkasyww] {
    background: #e9ecef;
    border-color: #adb5bd;
}

.btn-lock.locked[b-nz7xkasyww] {
    background: #fff3cd;
    border-color: #ffc107;
}

.btn-lock:focus-visible[b-nz7xkasyww] {
    outline: 2px solid #258cfb;
    outline-offset: 2px;
}

.btn-lock:active[b-nz7xkasyww] {
    transform: scale(0.92);
}
/* /Components/Pages/FileRecordEdit.razor.rz.scp.css */
/* Page Header */
.page-header[b-x9duq37kij] {
    margin-bottom: 1.5rem;
}

.back-link[b-x9duq37kij] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #6c757d;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.back-link:hover[b-x9duq37kij] {
    color: #1b6ec2;
}

.page-header h1[b-x9duq37kij] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a2e;
}

.page-subtitle[b-x9duq37kij] {
    margin: 0.25rem 0 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Loading State */
.loading-state[b-x9duq37kij] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    color: #6c757d;
}

.spinner[b-x9duq37kij] {
    width: 2rem;
    height: 2rem;
    border: 3px solid #e9ecef;
    border-top-color: #1b6ec2;
    border-radius: 50%;
    animation: spin-b-x9duq37kij 0.8s linear infinite;
    margin-bottom: 1rem;
}

/* Not Found State */
.not-found-state[b-x9duq37kij] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
}

.state-icon[b-x9duq37kij] {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.state-title[b-x9duq37kij] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
}

.state-description[b-x9duq37kij] {
    color: #6c757d;
    margin: 0 0 1.5rem;
    max-width: 360px;
}

/* Form Card */
.form-card[b-x9duq37kij] {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 640px;
}

/* Form Grid */
.form-grid[b-x9duq37kij] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.field[b-x9duq37kij] {
    display: flex;
    flex-direction: column;
}

.full-width[b-x9duq37kij] {
    grid-column: 1 / -1;
}

.field-label[b-x9duq37kij] {
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.35rem;
}

.required[b-x9duq37kij] {
    color: #dc3545;
}

/* Alert */
.alert-error[b-x9duq37kij] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 1.25rem;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #991b1b;
    font-size: 0.875rem;
}

/* Form Actions */
.form-actions[b-x9duq37kij] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0f0;
}

.btn-submit[b-x9duq37kij] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

/* Spinner */
.spinner-sm[b-x9duq37kij] {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-x9duq37kij 0.6s linear infinite;
}

@keyframes spin-b-x9duq37kij {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 640px) {
    .form-card[b-x9duq37kij] {
        padding: 1rem;
    }

    .form-grid[b-x9duq37kij] {
        grid-template-columns: 1fr;
    }

    .form-actions[b-x9duq37kij] {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .form-actions .btn[b-x9duq37kij] {
        text-align: center;
    }
}
/* /Components/Pages/FileRecords.razor.rz.scp.css */
/* Page Title Row */
.page-title-row[b-0t6kemmn4y] {
    margin-bottom: 1rem;
}

.page-title-row h1[b-0t6kemmn4y] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a2e;
}

.page-subtitle[b-0t6kemmn4y] {
    margin: 0.25rem 0 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Search Row */
.search-row[b-0t6kemmn4y] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-group[b-0t6kemmn4y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.search-input[b-0t6kemmn4y] {
    flex: 1;
    min-width: 50%;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.search-input:focus[b-0t6kemmn4y] {
    border-color: #258cfb;
    box-shadow: 0 0 0 3px rgba(37, 140, 251, 0.15);
}

.search-input[b-0t6kemmn4y]::placeholder {
    color: #adb5bd;
}

.btn-search[b-0t6kemmn4y] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
}

.btn-search-icon[b-0t6kemmn4y] {
    font-size: 0.9rem;
    line-height: 1;
}

.btn-search:disabled[b-0t6kemmn4y] {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-search-spinner[b-0t6kemmn4y] {
    display: inline-block;
    width: 0.875rem;
    height: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-0t6kemmn4y 0.6s linear infinite;
}

.btn-new[b-0t6kemmn4y] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    margin-left: auto;
}

.btn-icon[b-0t6kemmn4y] {
    font-size: 1.2rem;
    line-height: 1;
}

/* Column Selector */
.column-selector[b-0t6kemmn4y] {
    position: relative;
}

.btn-campos[b-0t6kemmn4y] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.6rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    color: #495057;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-campos:hover[b-0t6kemmn4y] {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #212529;
}

.btn-campos:focus-visible[b-0t6kemmn4y] {
    outline: 2px solid #258cfb;
    outline-offset: 2px;
}

.btn-campos.active[b-0t6kemmn4y] {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
}

.column-selector-dropdown[b-0t6kemmn4y] {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    margin-top: 0.25rem;
    padding: 0.5rem 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.column-option[b-0t6kemmn4y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #212529;
    transition: background-color 0.15s ease;
}

.column-option:hover[b-0t6kemmn4y] {
    background: #f8f9fa;
}

.column-option.disabled[b-0t6kemmn4y] {
    opacity: 0.5;
    cursor: not-allowed;
}

.column-option.disabled:hover[b-0t6kemmn4y] {
    background: transparent;
}

.column-option input[type="checkbox"][b-0t6kemmn4y] {
    accent-color: #258cfb;
    width: 1rem;
    height: 1rem;
    margin: 0;
}

/* Loading State */
.loading-state[b-0t6kemmn4y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    color: #6c757d;
}

.spinner[b-0t6kemmn4y] {
    width: 2rem;
    height: 2rem;
    border: 3px solid #e9ecef;
    border-top-color: #1b6ec2;
    border-radius: 50%;
    animation: spin-b-0t6kemmn4y 0.8s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin-b-0t6kemmn4y {
    to { transform: rotate(360deg); }
}

/* Empty & Error States */
.empty-state[b-0t6kemmn4y],
.error-state[b-0t6kemmn4y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
}

.state-icon[b-0t6kemmn4y] {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.state-title[b-0t6kemmn4y] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
}

.state-description[b-0t6kemmn4y] {
    color: #6c757d;
    margin: 0 0 1.5rem;
    max-width: 360px;
}

/* Search Error Alert */
.search-error-alert[b-0t6kemmn4y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    color: #664d03;
    font-size: 0.9rem;
}

.alert-icon[b-0t6kemmn4y] {
    font-size: 1rem;
    line-height: 1;
}

/* Records Summary */
.records-summary[b-0t6kemmn4y] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.btn-clear-search[b-0t6kemmn4y] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.6rem;
    background: transparent;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #6c757d;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-clear-search:hover[b-0t6kemmn4y] {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

.btn-clear-search:focus-visible[b-0t6kemmn4y] {
    outline: 2px solid #258cfb;
    outline-offset: 2px;
}

/* Table */
.table-container[b-0t6kemmn4y] {
    overflow-x: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
}

.records-table[b-0t6kemmn4y] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.records-table thead[b-0t6kemmn4y] {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.records-table th[b-0t6kemmn4y] {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #495057;
    white-space: nowrap;
}

/* Sortable column headers */
.records-table th.sortable[b-0t6kemmn4y] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.records-table th.sortable:hover[b-0t6kemmn4y] {
    background: #eef1f4;
    color: #1a1a2e;
}

.records-table th.sortable:focus-visible[b-0t6kemmn4y] {
    outline: 2px solid #4a90e2;
    outline-offset: -2px;
}

.records-table th.sortable.sorted[b-0t6kemmn4y] {
    color: #1a1a2e;
    background: #eef1f4;
}

.records-table th .th-label[b-0t6kemmn4y] {
    margin-right: 0.4rem;
}

.records-table th .sort-indicator[b-0t6kemmn4y] {
    display: inline-block;
    font-size: 0.75rem;
    color: #adb5bd;
    min-width: 0.9em;
    text-align: center;
    line-height: 1;
    transition: color 0.15s ease;
}

.records-table th.sortable.sorted .sort-indicator[b-0t6kemmn4y] {
    color: #4a90e2;
}

.records-table td[b-0t6kemmn4y] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.records-table tbody tr:last-child td[b-0t6kemmn4y] {
    border-bottom: none;
}

.records-table tbody tr:hover[b-0t6kemmn4y] {
    background: #f8f9fa;
}

.cell-name[b-0t6kemmn4y] {
    font-weight: 500;
    color: #1a1a2e;
}

.cell-date[b-0t6kemmn4y] {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.col-disk[b-0t6kemmn4y] {
    text-align: center;
}

.col-actions[b-0t6kemmn4y] {
    text-align: right;
    width: 1%;
    white-space: nowrap;
}

/* Badges */
.badge-type[b-0t6kemmn4y] {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.badge-coreldraw[b-0t6kemmn4y] {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-photoshop[b-0t6kemmn4y] {
    background: #e3f2fd;
    color: #1565c0;
}

.badge-illustrator[b-0t6kemmn4y] {
    background: #fff3e0;
    color: #e65100;
}

.badge-inkscape[b-0t6kemmn4y] {
    background: #f3e5f5;
    color: #6a1b9a;
}

.badge-pdf[b-0t6kemmn4y] {
    background: #ffebee;
    color: #c62828;
}

.badge-other[b-0t6kemmn4y] {
    background: #f5f5f5;
    color: #616161;
}

.badge-indesign[b-0t6kemmn4y] {
    background: #fce4ec;
    color: #ad1457;
}

.badge-pagemaker[b-0t6kemmn4y],
.badge-legacyold[b-0t6kemmn4y] {
    background: #eceff1;
    color: #455a64;
}

.badge-jpeg[b-0t6kemmn4y],
.badge-png[b-0t6kemmn4y],
.badge-tiff[b-0t6kemmn4y],
.badge-eps[b-0t6kemmn4y] {
    background: #e0f2f1;
    color: #00695c;
}

.badge-unknown[b-0t6kemmn4y] {
    background: #fffde7;
    color: #795548;
}

/* Action Buttons */
.action-group[b-0t6kemmn4y] {
    display: flex;
    gap: 0.25rem;
    justify-content: flex-end;
}

.btn-action[b-0t6kemmn4y] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.15s;
}

.btn-action:hover[b-0t6kemmn4y] {
    background: #e9ecef;
}

.btn-action:focus-visible[b-0t6kemmn4y] {
    outline: 2px solid #258cfb;
    outline-offset: 2px;
}

.btn-delete:hover[b-0t6kemmn4y] {
    background: #ffebee;
}

/* Mobile sort control — visible only on mobile (see @media below) */
.mobile-sort-control[b-0t6kemmn4y] {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.mobile-sort-label[b-0t6kemmn4y] {
    font-size: 0.85rem;
    font-weight: 500;
    color: #495057;
    white-space: nowrap;
    margin: 0;
}

.mobile-sort-select[b-0t6kemmn4y] {
    flex: 1;
    padding: 0.4rem 0.6rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    color: #1a1a2e;
    font-size: 0.9rem;
    min-width: 0;
}

.mobile-sort-select:focus-visible[b-0t6kemmn4y] {
    outline: 2px solid #4a90e2;
    outline-offset: 1px;
}

.btn-sort-dir[b-0t6kemmn4y] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #4a90e2;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-sort-dir:hover[b-0t6kemmn4y] {
    background: #eef1f4;
}

.btn-sort-dir:focus-visible[b-0t6kemmn4y] {
    outline: 2px solid #4a90e2;
    outline-offset: 1px;
}

/* Mobile Cards */
.cards-container[b-0t6kemmn4y] {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

.record-card[b-0t6kemmn4y] {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
}

.card-header[b-0t6kemmn4y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.card-name[b-0t6kemmn4y] {
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a2e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-details[b-0t6kemmn4y] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.card-detail[b-0t6kemmn4y] {
    display: flex;
    flex-direction: column;
}

.detail-label[b-0t6kemmn4y] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    margin-bottom: 0.1rem;
}

.detail-value[b-0t6kemmn4y] {
    font-size: 0.875rem;
    color: #1a1a2e;
}

.card-actions[b-0t6kemmn4y] {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
    .table-container[b-0t6kemmn4y] {
        display: none;
    }

    .cards-container[b-0t6kemmn4y] {
        display: flex;
    }

    .mobile-sort-control[b-0t6kemmn4y] {
        display: flex;
    }

    .search-row[b-0t6kemmn4y] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-group[b-0t6kemmn4y] {
        flex-direction: column;
    }

    .search-input[b-0t6kemmn4y] {
        min-width: 100%;
        width: 100%;
    }

    .btn-search[b-0t6kemmn4y] {
        width: 100%;
        justify-content: center;
    }

    .btn-new[b-0t6kemmn4y] {
        margin-left: 0;
        align-self: stretch;
        justify-content: center;
    }

    .column-selector[b-0t6kemmn4y] {
        width: 100%;
    }

    .btn-campos[b-0t6kemmn4y] {
        width: auto;
        justify-content: center;
    }

    .column-selector-dropdown[b-0t6kemmn4y] {
        right: 0;
        max-height: 60vh;
        overflow-y: auto;
    }
}

/* Delete Confirmation Modal */
.modal-backdrop[b-0t6kemmn4y] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1000;
    animation: fadeIn-b-0t6kemmn4y 0.15s ease-out;
}

.modal-dialog[b-0t6kemmn4y] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 1rem;
    pointer-events: none;
}

.modal-content[b-0t6kemmn4y] {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    animation: slideUp-b-0t6kemmn4y 0.2s ease-out;
}

.modal-icon[b-0t6kemmn4y] {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.modal-title[b-0t6kemmn4y] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
}

.modal-message[b-0t6kemmn4y] {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.modal-message strong[b-0t6kemmn4y] {
    color: #1a1a2e;
}

.modal-actions[b-0t6kemmn4y] {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.btn-modal-cancel[b-0t6kemmn4y] {
    padding: 0.6rem 1.25rem;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
}

.btn-modal-cancel:hover:not(:disabled)[b-0t6kemmn4y] {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.btn-modal-delete[b-0t6kemmn4y] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    border: none;
    background: #dc3545;
    color: #fff;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s;
}

.btn-modal-delete:hover:not(:disabled)[b-0t6kemmn4y] {
    background: #bb2d3b;
}

.btn-modal-delete:disabled[b-0t6kemmn4y],
.btn-modal-cancel:disabled[b-0t6kemmn4y] {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner-sm[b-0t6kemmn4y] {
    display: inline-block;
    width: 0.875rem;
    height: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-0t6kemmn4y 0.6s linear infinite;
}

@keyframes fadeIn-b-0t6kemmn4y {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-0t6kemmn4y {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Infinite Scroll */
.loading-more[b-0t6kemmn4y] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    color: #6c757d;
    font-size: 0.85rem;
}

.scroll-sentinel[b-0t6kemmn4y] {
    height: 1px;
    width: 100%;
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* Login Page — Full-viewport gradient background */
.login-page[b-i16ydbee8e] {
    min-height: 100vh;
    width: 100vw;
    background: linear-gradient(to bottom, #0099CC, #00BFFF);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

/* Login Card — Centered dark container */
.login-card[b-i16ydbee8e] {
    background: #1A1A1A;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    max-width: 440px;
    width: 100%;
    padding: 40px;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo */
.login-logo[b-i16ydbee8e] {
    max-width: 80%;
    max-height: 180px;
    display: block;
    margin: 0 auto 0;
    object-fit: contain;
}

[b-i16ydbee8e] form {
    width: 75%;
}

/* Form group spacing */
.form-group[b-i16ydbee8e] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Labels */
.form-group label[b-i16ydbee8e] {
    font-size: 0.875rem;
    color: #FFFFFF;
    margin-bottom: 4px;
}

/* Input fields */
.form-group input[b-i16ydbee8e],
[b-i16ydbee8e] input {
    border: 1px solid #00BFFF;
    background: transparent;
    color: #FFFFFF;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 200ms;
    margin-bottom: 16px;
}

/* Input placeholder color */
.form-group input[b-i16ydbee8e]::placeholder,
[b-i16ydbee8e] input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Input focus state */
.form-group input:focus[b-i16ydbee8e],
[b-i16ydbee8e] input:focus {
    border-color: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(0, 191, 255, 0.3);
}

/* Validation messages */
.form-group .validation-message[b-i16ydbee8e],
[b-i16ydbee8e] .validation-message {
    color: #FF4D4D;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Error message (login failure) */
.error-message[b-i16ydbee8e] {
    color: #FF4D4D;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 8px;
    text-align: center;
    width: 100%;
}

/* Entrar button */
.btn-entrar[b-i16ydbee8e] {
    background: #FF0066;
    color: #FFFFFF;
    width: 100%;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 300ms;
    margin-top: 30px;
}

.btn-entrar:hover[b-i16ydbee8e] {
    background: #FFCC00;
    color: #FFFFFF;
}

/* Disabled state */
.btn-entrar:disabled[b-i16ydbee8e] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-entrar:disabled:hover[b-i16ydbee8e] {
    background: #FF0066;
}

/* Responsive — small screens */
@media (max-width: 576px) {
    .login-card[b-i16ydbee8e] {
        width: 92%;
        padding: 24px;
    }
}
