@import '_content/Blazored.Modal/Blazored.Modal.bundle.scp.css';

/* /Components/MobileTooltip.razor.rz.scp.css */
/* Base styles */
.mobile-tooltip-container[b-srftb5chms] {
    position: relative;
    display: inline-block;
}

.mobile-tooltip-icon[b-srftb5chms] {
    cursor: pointer;
    color: #6c757d;
    transition: color 0.2s ease;
}

.mobile-tooltip-icon:hover[b-srftb5chms] {
    color: #0d6efd;
}

/* Mobile tooltip content - modal style */
.mobile-tooltip-content[b-srftb5chms] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    z-index: 10000;
    padding: 16px;
    overflow-y: auto;
    animation: tooltipFadeIn-b-srftb5chms 0.2s ease-out;
}

.mobile-tooltip-text[b-srftb5chms] {
    font-size: 14px;
    line-height: 1.5;
    color: #212529;
    margin-right: 30px;
    word-wrap: break-word;
}

.mobile-tooltip-close[b-srftb5chms] {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.mobile-tooltip-close:hover[b-srftb5chms] {
    background-color: #f8f9fa;
    color: #495057;
}

.mobile-tooltip-backdrop[b-srftb5chms] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: backdropFadeIn-b-srftb5chms 0.2s ease-out;
}

/* Desktop hover tooltip */
.mobile-tooltip-hover[b-srftb5chms] {
    display: none; /* Start hidden */
    position: fixed;
    z-index: 10000;
    background-color: #333;
    color: white;
    text-align: left;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    min-width: 200px;
    max-width: min(400px, calc(100vw - 40px));
    white-space: normal;
    pointer-events: none;
    line-height: 1.4;
    word-wrap: break-word;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
}

/* Dynamic arrow positioning using CSS custom properties */
.mobile-tooltip-hover[b-srftb5chms]::after {
    content: "";
    position: absolute;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    left: calc(50% + var(--arrow-offset, 0px));
}

/* Arrow pointing down (tooltip above element) */
.mobile-tooltip-hover:not([style*="--arrow-direction: up"])[b-srftb5chms]::after,
.mobile-tooltip-hover[b-srftb5chms]::after {
    top: 100%;
    border-color: #333 transparent transparent transparent;
}

/* Arrow pointing up (tooltip below element) */
.mobile-tooltip-hover[style*="--arrow-direction: up"][b-srftb5chms]::after {
    bottom: 100%;
    border-color: transparent transparent #333 transparent;
}

/* Ensure tooltip doesn't overflow on narrow screens */
@media (max-width: 480px) {
    .mobile-tooltip-hover[b-srftb5chms] {
        position: fixed;
        left: 10px !important;
        right: 10px;
        transform: none !important;
        max-width: none;
        width: calc(100vw - 40px);
    }
    
    .mobile-tooltip-hover[b-srftb5chms]::after {
        left: 50px; /* Adjust arrow for left-aligned tooltip */
    }
}

/* Animations */
@keyframes tooltipFadeIn-b-srftb5chms {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes backdropFadeIn-b-srftb5chms {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile: Hide hover tooltip, show modal on click */
@media (max-width: 768px) {
    .mobile-tooltip-hover[b-srftb5chms] {
        display: none !important;
    }
}

/* Desktop: Handle tooltip via JavaScript */
@media (min-width: 769px) {
    /* Hide modal elements on desktop */
    .mobile-tooltip-content[b-srftb5chms],
    .mobile-tooltip-backdrop[b-srftb5chms] {
        display: none !important;
    }
}

/* /Pages/BackupManagement.razor.rz.scp.css */
.card-header[b-l7zz73cdra] {
    background-color: #191970;
    color: white;
}
.subcard-header[b-l7zz73cdra] {
    background-color: #3a3a8e;
    color: white;
}
.key[b-l7zz73cdra] {
    color: #191970;
}

.value[b-l7zz73cdra] {
    color: #008000;
}

.price-symbol[b-l7zz73cdra] {
    font-size: 0.8rem;
}

.price-value[b-l7zz73cdra] {
    color: #800080;
    font-size: 1.2rem;
}

.btn-image[b-l7zz73cdra] {
    border: none;
    background: none;
    padding: 0;
    vertical-align: middle;
}
/* /Pages/BackupRules.razor.rz.scp.css */
.card-header[b-orqig4idgm] {
    background-color: #191970;
    color: white;
}

.subcard-header[b-orqig4idgm] {
    background-color: #3a3a8e;
    color: white;
}

.key[b-orqig4idgm] {
    color: #191970;
}

.value[b-orqig4idgm] {
    color: #008000;
}

.price-symbol[b-orqig4idgm] {
    font-size: 0.8rem;
}

.price-value[b-orqig4idgm] {
    color: #800080;
    font-size: 1.2rem;
}

.btn-image[b-orqig4idgm] {
    border: none;
    background: none;
    padding: 0;
    vertical-align: middle;
}
/* /Pages/FileBrowser.razor.rz.scp.css */
/* /Pages/SystemConfigs.razor.rz.scp.css */
.system-configs-container[b-mkq5e4nivv] {
    padding: 0.5rem;
    max-width: min(90vw, 1200px);
    width: 100%;
    margin: 0 auto;
    height: min(85vh, 800px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}

/* Global modal styles - ensure proper centering and responsiveness */
:global(body) :global(.blazored-modal)[b-mkq5e4nivv] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    margin: 0;
    padding: 1rem;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal content - centered within the modal */
:global(body) :global(.blazored-modal-content)[b-mkq5e4nivv] {
    position: relative;
    margin: 0;
    max-width: min(95vw, 1200px);
    max-height: min(90vh, 800px);
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: none;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
}


.page-header[b-mkq5e4nivv] {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    flex-shrink: 0; /* Prevent header from shrinking */
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title[b-mkq5e4nivv] {
    color: #495057;
    font-weight: 500;
    margin-bottom: 0;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 1rem;
}

.mobile-tab-selector .custom-dropdown[b-mkq5e4nivv] {
    position: relative;
}

.mobile-tab-selector .custom-dropdown button[b-mkq5e4nivv] {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #007bff;
    background-color: transparent;
    color: #007bff;
}

.mobile-tab-selector .custom-dropdown button:focus[b-mkq5e4nivv],
.mobile-tab-selector .custom-dropdown button:active[b-mkq5e4nivv] {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.mobile-tab-selector .custom-dropdown button[b-mkq5e4nivv]::after {
    display: none !important; /* Hide Bootstrap's default dropdown arrow */
}

.mobile-tab-selector .dropdown-menu[b-mkq5e4nivv] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    margin-top: 0.125rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: white;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.mobile-tab-selector .dropdown-menu.show[b-mkq5e4nivv] {
    animation: slideDown-b-mkq5e4nivv 0.15s ease-out;
}

@keyframes slideDown-b-mkq5e4nivv {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-tab-selector .dropdown-item[b-mkq5e4nivv] {
    padding: 0.75rem 1rem;
    border-radius: 0;
}

.mobile-tab-selector .dropdown-item:hover[b-mkq5e4nivv] {
    background-color: #f8f9fa;
}

.mobile-tab-selector .dropdown-item.active[b-mkq5e4nivv] {
    background-color: #007bff;
    color: white;
}

.desktop-tabs .nav-tabs[b-mkq5e4nivv] {
    border-bottom: 2px solid #dee2e6;
}

.desktop-tabs .nav-link[b-mkq5e4nivv] {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin-bottom: -2px;
    transition: all 0.2s ease;
}

.desktop-tabs .nav-link:hover[b-mkq5e4nivv] {
    border-color: transparent;
    color: #007bff;
    background-color: transparent;
}

.desktop-tabs .nav-link.active[b-mkq5e4nivv] {
    color: #007bff;
    background-color: transparent;
    border-bottom-color: #007bff;
}

.tab-content[b-mkq5e4nivv] {
    animation: fadeIn-b-mkq5e4nivv 0.3s ease-in-out;
    flex: 1; /* Take remaining space */
    overflow-y: auto; /* Enable vertical scrolling when content overflows */
    padding-right: 0.25rem; /* Small padding to prevent scrollbar from touching content */
}

.tab-pane-content[b-mkq5e4nivv] {
    min-height: 400px;
}

.card[b-mkq5e4nivv] {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header[b-mkq5e4nivv] {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
}

.card-title[b-mkq5e4nivv] {
    color: #495057;
    font-size: 1.1rem;
    font-weight: 500;
}

.card-body[b-mkq5e4nivv] {
    padding: 1rem 0.75rem;
}

@keyframes fadeIn-b-mkq5e4nivv {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Log Level Settings Styles */
.log-level-label[b-mkq5e4nivv] {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #495057;
    margin-bottom: 0.5rem;
}

.log-level-label i[b-mkq5e4nivv] {
    font-size: 1rem !important;
    color: #6c757d;
}

.log-level-label span[b-mkq5e4nivv] {
    display: inline-block;
    word-wrap: break-word;
    hyphens: auto;
}

/* Log File List Styles */
.log-file-container[b-mkq5e4nivv] {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.log-file-container .table-responsive[b-mkq5e4nivv] {
    border: none;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: 60vh;
    max-width: 100%;
}

.log-file-container .table[b-mkq5e4nivv] {
    margin-bottom: 0;
    width: 100%;
}

.log-file-container .btn-sm[b-mkq5e4nivv] {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* Mobile responsive adjustments - simplified approach */
@media (max-width: 767.98px) {
    .system-configs-container[b-mkq5e4nivv] {
        padding: 0.25rem;
        max-width: 95vw;
        height: 90vh;
        margin: 0 auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .page-header[b-mkq5e4nivv] {
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
        min-height: 40px;
    }
    
    .page-title[b-mkq5e4nivv] {
        font-size: 1rem;
        margin-right: 0.5rem;
    }
    
    .card-body[b-mkq5e4nivv] {
        padding: 0.5rem;
        overflow-x: hidden;
    }
    
    /* Let global CSS handle table constraints */
    .log-file-container[b-mkq5e4nivv] {
        overflow-x: auto;
        width: 100%;
    }
    
    .log-file-container .table[b-mkq5e4nivv] {
        font-size: 0.55rem;
        min-width: 280px; /* Further reduced */
        max-width: none; /* Remove max-width constraint */
        margin-bottom: 0;
        width: 280px; /* Fixed width for predictable layout */
        table-layout: fixed;
        border-collapse: collapse;
    }
    
    .log-file-container .table th[b-mkq5e4nivv],
    .log-file-container .table td[b-mkq5e4nivv] {
        padding: 0.15rem 0.05rem;
        white-space: nowrap;
        vertical-align: middle;
        overflow: hidden;
        text-overflow: ellipsis;
        border: 1px solid #dee2e6;
        font-size: 0.5rem;
    }
    
    /* More aggressive column width constraints for mobile */
    .log-file-container .table th:nth-child(1)[b-mkq5e4nivv],
    .log-file-container .table td:nth-child(1)[b-mkq5e4nivv] {
        width: 90px; /* Fixed pixel width */
        padding-left: 0.15rem;
        font-size: 0.45rem;
    }
    
    .log-file-container .table th:nth-child(2)[b-mkq5e4nivv],
    .log-file-container .table td:nth-child(2)[b-mkq5e4nivv] {
        width: 50px; /* Fixed pixel width */
        font-size: 0.45rem;
    }
    
    .log-file-container .table th:nth-child(3)[b-mkq5e4nivv],
    .log-file-container .table td:nth-child(3)[b-mkq5e4nivv] {
        width: 70px; /* Fixed pixel width */
        font-size: 0.4rem;
    }
    
    .log-file-container .table th:nth-child(4)[b-mkq5e4nivv],
    .log-file-container .table td:nth-child(4)[b-mkq5e4nivv] {
        width: 35px; /* Fixed pixel width */
        padding: 0.1rem 0.02rem;
    }
    
    .log-file-container .table th:nth-child(5)[b-mkq5e4nivv],
    .log-file-container .table td:nth-child(5)[b-mkq5e4nivv] {
        width: 35px; /* Fixed pixel width */
        padding: 0.1rem 0.02rem;
    }
    
    .log-file-container .btn-sm[b-mkq5e4nivv] {
        padding: 0.05rem 0.05rem;
        font-size: 0.4rem;
        margin: 0;
        white-space: nowrap;
        min-width: auto;
        line-height: 1;
        border-radius: 0.2rem;
    }
}

/* Tablet responsive adjustments */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .system-configs-container[b-mkq5e4nivv] {
        max-width: 85vw;
        height: 80vh;
    }
    
    .page-title[b-mkq5e4nivv] {
        font-size: 1.25rem;
    }
}

/* Large screen adjustments */
@media (min-width: 1200px) {
    .system-configs-container[b-mkq5e4nivv] {
        max-width: 1000px;
        height: 75vh;
    }
    
    .page-title[b-mkq5e4nivv] {
        font-size: 1.5rem;
    }
}
/* /Pages/WebDavManagerModal.razor.rz.scp.css */
/* /Shared/DropDownItem.razor.rz.scp.css */
.dropdown[b-u50t720nrn] {
    position: relative;
    display: inline-block;
}


.dropdown-content[b-u50t720nrn] {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2;
}

    .dropdown-content a[b-u50t720nrn] {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover[b-u50t720nrn] {
            background-color: #ddd;
        }

.dropdown:hover .dropdown-content[b-u50t720nrn] {
    display: block;
}

.dropdown:hover .dropbtn[b-u50t720nrn] {
    background-color: #3e8e41;
}
/* /Shared/MainLayout.razor.rz.scp.css */
/*.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row ::deep a, .top-row ::deep .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
        text-decoration: underline;
    }

    .top-row ::deep a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row ::deep a, .top-row ::deep .btn-link {
        margin-left: 0;
    }
}

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

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth ::deep a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
*/
.page[b-pj6xdtdc4c] {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main[b-pj6xdtdc4c] {
    flex: 1;
}

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

.top-row[b-pj6xdtdc4c] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-pj6xdtdc4c]  a, .top-row .btn-link[b-pj6xdtdc4c] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-pj6xdtdc4c] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-pj6xdtdc4c] {
        display: none;
    }

    .top-row.auth[b-pj6xdtdc4c] {
        justify-content: space-between;
    }

    .top-row a[b-pj6xdtdc4c], .top-row .btn-link[b-pj6xdtdc4c] {
        margin-left: 0;
    }
}

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

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

    .top-row[b-pj6xdtdc4c] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div[b-pj6xdtdc4c] {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
/*.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand {
    font-size: 1.1rem;
}

.oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    .nav-item ::deep a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item ::deep a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item ::deep a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

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

    .collapse {*/
        /* Never collapse the sidebar for wide screens */
        /*display: block;
    }
}*/
.navbar-toggler[b-zm5tgrdtao] {
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

.oi[b-zm5tgrdtao] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-zm5tgrdtao] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

    .nav-item[b-zm5tgrdtao]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item[b-zm5tgrdtao]  a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

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

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

    .collapse[b-zm5tgrdtao] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

/* /Shared/UpdateAvailableDetector.razor.rz.scp.css */
.floating-update-button[b-al6jn23t7t] {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    padding: 1rem 1.5rem;
    animation: fadein-b-al6jn23t7t 2s ease-out;
}

@keyframes fadein-b-al6jn23t7t {
    from {
        right: -100%;
    }

    to {
        right: 2rem;
    }
}
