/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-27clqlbegp] {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 56px;
}

main[b-27clqlbegp] {
    flex: 1;
}

#blazor-error-ui[b-27clqlbegp] {
    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-27clqlbegp] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* Print Styles */
@media print {
    .page[b-27clqlbegp] {
        margin-top: 0;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar[b-9g67u0sinj] {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
}

.navbar-brand[b-9g67u0sinj] {
    font-size: 1.25rem;
    font-weight: 600;
}

.navbar-toggler[b-9g67u0sinj] {
    border-color: rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus[b-9g67u0sinj] {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-nav[b-9g67u0sinj] {
    gap: 0;
}

.nav-link[b-9g67u0sinj] {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s, color 0.2s;
}

.nav-link:hover[b-9g67u0sinj] {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active[b-9g67u0sinj] {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
}

.bi[b-9g67u0sinj] {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    background-size: cover;
    flex-shrink: 0;
}

.bi-house-door-fill-nav-menu[b-9g67u0sinj] {
    background-image: url("data:image/svg%2Bxml,%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-9g67u0sinj] {
    background-image: url("data:image/svg%2Bxml,%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-9g67u0sinj] {
    background-image: url("data:image/svg%2Bxml,%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");
}

.bi-question-circle-nav-menu[b-9g67u0sinj] {
    background-image: url("data:image/svg%2Bxml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-question-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M5.255 5.786a.5.5 0 0 0 .08.858A4.02 4.02 0 0 1 8 5c.538 0 1.02.127 1.443.351.08.858 0 .858-.08.858A3.02 3.02 0 0 0 8 6c-.537 0-1.02.127-1.443.351zm-.08 1.858a.5.5 0 1 0 .952-.224 3.977 3.977 0 0 1 .614-1.17.5.5 0 1 0-.77-.638 4.968 4.968 0 0 0-.77.97z'/%3E%3Cpath d='M8 9a.5.5 0 1 0 0 1h.5a.5.5 0 0 1 0 1H8a1.5 1.5 0 1 0 .5 1v-.5a.5.5 0 0 0-1 0'/%3E%3C/svg%3E");
}

.bi-file-earmark-pdf-nav-menu[b-9g67u0sinj] {
    background-image: url("data:image/svg%2Bxml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-13A2 2 0 0 1 4 1h7.5l2.5 2.5zm-3 0A1.5 1.5 0 0 0 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h-2z'/%3E%3C/svg%3E");
}

/* Mobile compatibility improvements for Android Chrome */
.navbar-collapse[b-9g67u0sinj] {
    z-index: 1000;
}

@media (max-width: 991.98px) {
    .navbar-collapse[b-9g67u0sinj] {
        background-color: rgba(33, 37, 41, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-item[b-9g67u0sinj] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-item:last-child[b-9g67u0sinj] {
        border-bottom: none;
    }

    .nav-link[b-9g67u0sinj] {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.95rem;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }

    .navbar-toggler[b-9g67u0sinj] {
        -webkit-tap-highlight-color: transparent;
        position: relative;
        z-index: 1001;
    }

    .navbar-toggler:focus[b-9g67u0sinj] {
        outline: none;
        box-shadow: none;
    }

    .navbar-toggler:active[b-9g67u0sinj],
    .navbar-toggler:activated[b-9g67u0sinj] {
        box-shadow: none !important;
        outline: none !important;
    }
}

/* Ensure hamburger icon is always visible and clickable */
.navbar-toggler-icon[b-9g67u0sinj] {
    display: inline-block;
    background-image: url("data:image/svg%2Bxml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 1.5em;
    height: 1.5em;
    vertical-align: 0.125em;
}


/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-w6joomdibg],
.components-reconnect-repeated-attempt-visible[b-w6joomdibg],
.components-reconnect-failed-visible[b-w6joomdibg],
.components-pause-visible[b-w6joomdibg],
.components-resume-failed-visible[b-w6joomdibg],
.components-rejoining-animation[b-w6joomdibg] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-w6joomdibg],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-w6joomdibg],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-w6joomdibg],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-w6joomdibg],
#components-reconnect-modal.components-reconnect-retrying[b-w6joomdibg],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-w6joomdibg],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-w6joomdibg],
#components-reconnect-modal.components-reconnect-failed[b-w6joomdibg],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-w6joomdibg] {
    display: block;
}


#components-reconnect-modal[b-w6joomdibg] {
    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-w6joomdibg 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-w6joomdibg 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-w6joomdibg 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-w6joomdibg]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-w6joomdibg 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-w6joomdibg {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-w6joomdibg {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-w6joomdibg {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-w6joomdibg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-w6joomdibg] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-w6joomdibg] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-w6joomdibg] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-w6joomdibg] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-w6joomdibg] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-w6joomdibg] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-w6joomdibg 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-w6joomdibg] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-w6joomdibg {
    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/SDAD/SecurityDocument.razor.rz.scp.css */
.security-document-container[b-6werdg9f6x] {
    margin-top: 0;
}

/* Small form controls for the left panel */
.form-label-sm[b-6werdg9f6x] {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.form-control-sm[b-6werdg9f6x],
.form-select-sm[b-6werdg9f6x] {
    font-size: 0.875rem;
    padding: 0.35rem 0.5rem;
}

.small-form-body .row[b-6werdg9f6x] {
    row-gap: 0.5rem;
}

.small-form-body .col-12[b-6werdg9f6x] {
    margin-bottom: 0;
}

/* Right panel (preview) styling */
.sticky-preview-panel[b-6werdg9f6x] {
    max-height: calc(100vh - 100px);
    position: sticky;
    top: 70px;
}

.preview-body[b-6werdg9f6x] {
    overflow-y: auto;
    max-height: calc(100vh - 180px);
    padding: 1rem;
}

/* Remove card margins in preview for compact display */
.preview-body .card[b-6werdg9f6x] {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.preview-body .card-body[b-6werdg9f6x] {
    padding: 0.75rem;
}

/* Responsive behavior */
@media (max-width: 991.98px) {
    /* On smaller screens, panels stack vertically */
    .sticky-preview-panel[b-6werdg9f6x] {
        position: static;
        max-height: none;
        top: auto;
    }

    .preview-body[b-6werdg9f6x] {
        max-height: none;
        overflow-y: visible;
    }
}

/* Document list styling */
.list-group-item.py-1.px-2[b-6werdg9f6x] {
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
}

.list-group.small[b-6werdg9f6x] {
    font-size: 0.875rem;
}

.list-group.small .form-check-label[b-6werdg9f6x] {
    font-size: 0.875rem;
}

/* Badge styling for compact display */
.badge[b-6werdg9f6x] {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
}

/* ===== PRINT AND PDF STYLES ===== */

/* Printable content wrapper - kept on page but hidden from view */
.printable-wrapper[b-6werdg9f6x] {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 800px;
    background: white;
}

/* Print media queries for PDF/Print output */
@media print {
    *[b-6werdg9f6x] {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    html[b-6werdg9f6x],
    body[b-6werdg9f6x] {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        background: white;
        color: black;
    }

    /* Hide all UI elements from print */
    .security-document-container[b-6werdg9f6x],
    nav[b-6werdg9f6x],
    .navbar[b-6werdg9f6x],
    .container-fluid > .row:first-child[b-6werdg9f6x] {
        display: none !important;
    }

    /* Show only the printable content */
    .printable-wrapper[b-6werdg9f6x] {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    /* Page setup - NO page numbers */
    @page {
        size: A4;
        margin: 20mm 15mm;
    }

    /* Individual print documents */
    .print-document[b-6werdg9f6x] {
        page-break-before: always;
        page-break-inside: avoid;
        margin: 0;
        padding: 0;
    }

    .print-document:first-of-type[b-6werdg9f6x] {
        page-break-before: avoid;
    }

    /* Document content */
    .document-content[b-6werdg9f6x] {
        page-break-inside: avoid;
    }

    /* Table styling for print */
    table[b-6werdg9f6x] {
        border-collapse: collapse;
        width: 100%;
        margin: 15px 0;
        page-break-inside: avoid;
    }

    table thead[b-6werdg9f6x] {
        page-break-inside: avoid;
    }

    table tbody tr[b-6werdg9f6x] {
        page-break-inside: avoid;
    }

    table td[b-6werdg9f6x],
    table th[b-6werdg9f6x] {
        border: 1px solid #000 !important;
        padding: 8px !important;
        page-break-inside: avoid;
    }

    /* Prevent elements from breaking */
    p[b-6werdg9f6x],
    div[b-6werdg9f6x],
    span[b-6werdg9f6x],
    h1[b-6werdg9f6x],
    h2[b-6werdg9f6x],
    h3[b-6werdg9f6x],
    h4[b-6werdg9f6x],
    h5[b-6werdg9f6x],
    h6[b-6werdg9f6x] {
        orphans: 2;
        widows: 2;
    }

    /* Remove Bootstrap utility classes effects */
    .d-none[b-6werdg9f6x] {
        display: none !important;
    }

    .container[b-6werdg9f6x],
    .container-fluid[b-6werdg9f6x],
    .row[b-6werdg9f6x],
    .col-12[b-6werdg9f6x],
    .col-lg-6[b-6werdg9f6x] {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* Ensure text is black */
    a[b-6werdg9f6x] {
        color: #000 !important;
        text-decoration: none;
    }

    strong[b-6werdg9f6x],
    b[b-6werdg9f6x] {
        font-weight: bold !important;
    }

    em[b-6werdg9f6x],
    i[b-6werdg9f6x] {
        font-style: italic !important;
    }
}

/* Button group styling */
.button-group[b-6werdg9f6x] {
    display: flex;
}

/* Printable content - hidden on screen */
#printable-content[b-6werdg9f6x] {
    display: none;
}

/* Print Styles */
@media print {
    /* Remove default browser page numbers and headers/footers */
    @page {
        margin: 1cm;
        margin-bottom: 1cm;
    }

    /* Show printable content */
    #printable-content[b-6werdg9f6x] {
        display: block;
    }

    .printable-wrapper[b-6werdg9f6x] {
        display: block;
    }

    /* Each document starts on new page */
    .print-document[b-6werdg9f6x] {
        page-break-before: always;
        page-break-inside: auto;
        display: block;
        margin: 0;
        padding: 0;
    }

    .print-document:first-child[b-6werdg9f6x] {
        page-break-before: avoid;
    }

    .document-content[b-6werdg9f6x] {
        page-break-inside: auto;
        display: block;
        margin: 0;
        padding: 1cm;
    }

    /* Hide screen-only elements */
    .no-print[b-6werdg9f6x],
    [data-print="none"][b-6werdg9f6x],
    .security-document-container[b-6werdg9f6x] {
        display: none !important;
    }
}

