@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.bundle.scp.css';

/* _content/BlazorApp1/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-nz1yiwl0um] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

main[b-nz1yiwl0um] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-left: 250px !important;
    padding-top: 2.5rem !important;
    height: 100vh !important;
    min-width: calc(100vw - 250px) !important;
    transition: margin-left 0.3s ease-in-out, min-width 0.3s ease-in-out;
}

.sidebar[b-nz1yiwl0um] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 250px !important;
    height: 100vh !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    transition: transform 0.3s ease-in-out;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.sidebar[b-nz1yiwl0um]::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.top-row[b-nz1yiwl0um] {
    height: 2.5rem;
    justify-content: flex-end;
    display: flex;
    align-items: center;
    position: fixed !important;
    top: 0 !important;
    left: 250px !important;
    right: 0 !important;
    z-index: 9998 !important;
    width: calc(100vw - 250px) !important;
    transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
}

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

    .top-row[b-nz1yiwl0um]  a:hover, .top-row[b-nz1yiwl0um]  .btn-link:hover {
        text-decoration: underline;
    }

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

/* Navigation toggle styles */
.nav-toggle-btn[b-nz1yiwl0um] {
    margin-right: auto;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    padding: 0.25rem 0.5rem;
}

.nav-toggle-btn:hover[b-nz1yiwl0um] {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Theme toggle styles */
.theme-toggle-btn[b-nz1yiwl0um] {
    font-size: 1.1rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}

.theme-toggle-btn i[b-nz1yiwl0um] {
    transition: transform 0.3s ease;
}

.theme-toggle-btn:hover i[b-nz1yiwl0um] {
    transform: scale(1.1);
}

/* Hidden sidebar styles */
.sidebar-hidden[b-nz1yiwl0um] {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

/* Full width main when sidebar is hidden */
.main-full[b-nz1yiwl0um] {
    margin-left: 0 !important;
    min-width: 100vw !important;
}

.main-full .top-row[b-nz1yiwl0um] {
    left: 0 !important;
    width: 100vw !important;
}

@media (max-width: 640.98px) {
    .page[b-nz1yiwl0um] {
        flex-direction: column;
    }

    .sidebar[b-nz1yiwl0um] {
        width: 100%;
        height: auto;
        position: relative;
        order: 2;
    }

    main[b-nz1yiwl0um] {
        margin-left: 0;
        padding-top: 2.5rem;
        order: 1;
    }

    .top-row[b-nz1yiwl0um] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        justify-content: space-between;
        z-index: 999;
    }

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

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

    .sidebar[b-nz1yiwl0um] {
        width: 250px;
        height: 100vh;
        position: fixed !important;
        top: 0;
        left: 0;
        z-index: 1001;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .sidebar[b-nz1yiwl0um]::-webkit-scrollbar {
        display: none;
    }

    .top-row[b-nz1yiwl0um] {
        position: fixed !important;
        top: 0;
        left: 250px;
        right: 0;
        z-index: 1000;
        width: calc(100vw - 250px);
    }

    main[b-nz1yiwl0um] {
        margin-left: 250px;
        padding-top: 2.5rem;
        height: 100vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        min-width: calc(100vw - 250px);
    }

    .top-row.auth[b-nz1yiwl0um]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }
}

article[b-nz1yiwl0um] {
    flex: 1 !important;
    overflow: auto !important;
    padding: 1rem 2rem 1rem 2rem !important;
    min-width: 0 !important;
}

#blazor-error-ui[b-nz1yiwl0um] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-nz1yiwl0um] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/BlazorApp1/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-zjo6z1fhij] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    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);
}

:global([data-bs-theme="light"]) .navbar-toggler[b-zjo6z1fhij] {
    border: 1px solid rgba(0, 0, 0, 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%280, 0, 0, 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(0, 0, 0, 0.1);
}

.navbar-toggler:checked[b-zjo6z1fhij] {
    background-color: rgba(255, 255, 255, 0.2);
}

:global([data-bs-theme="light"]) .navbar-toggler:checked[b-zjo6z1fhij] {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Navbar brand text color */
.navbar-brand[b-zjo6z1fhij] {
    color: #ffffff !important;
}

:global([data-bs-theme="light"]) .navbar-brand[b-zjo6z1fhij] {
    color: var(--bs-dark) !important;
}

.bi[b-zjo6z1fhij] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}


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

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

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

    .nav-item[b-zjo6z1fhij]  .nav-link {
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
        /* Color handled by app.css using var(--bs-body-color) */
    }

/* SVG icons should inherit text color */
.nav-item[b-zjo6z1fhij]  .nav-link svg {
    fill: currentColor;
}

.nav-item[b-zjo6z1fhij]  a.active {
    /* Handled by app.css */
}

.nav-item[b-zjo6z1fhij]  .nav-link:hover {
    /* Handled by app.css using var(--bs-secondary-bg) */
}

.nav-scrollable[b-zjo6z1fhij] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-zjo6z1fhij] {
    display: block;
}

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

    .nav-scrollable[b-zjo6z1fhij] {
        display: block !important;
        height: calc(100vh - 3.5rem) !important;
        overflow-y: auto !important;
        position: relative !important;
    }
}

/* Changelog button in header */
.changelog-btn[b-zjo6z1fhij] {
    position: relative;
    background: none;
    border: none;
    color: var(--bs-body-color);
    opacity: 0.7;
    font-size: 1rem;
    padding: 0.4rem;
    margin-left: auto;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.changelog-btn:hover[b-zjo6z1fhij] {
    opacity: 1;
    background: var(--bs-secondary-bg);
}


/* Unread indicator dot */
.changelog-dot[b-zjo6z1fhij] {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@@keyframes pulse {
    0%[b-zjo6z1fhij], 100%[b-zjo6z1fhij] { opacity: 1; }
    50%[b-zjo6z1fhij] { opacity: 0.5; }
}

/* Changelog Modal */
.changelog-modal-backdrop[b-zjo6z1fhij] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.changelog-modal[b-zjo6z1fhij] {
    background: #161b22;
    border: 1px solid rgba(110, 118, 129, 0.4);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

:global([data-bs-theme="light"]) .changelog-modal[b-zjo6z1fhij] {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
}

.changelog-header[b-zjo6z1fhij] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(110, 118, 129, 0.3);
}

.changelog-header h5[b-zjo6z1fhij] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #e6edf3;
}

:global([data-bs-theme="light"]) .changelog-header h5[b-zjo6z1fhij] {
    color: #1f2328;
}

:global([data-bs-theme="light"]) .changelog-header .btn-close[b-zjo6z1fhij] {
    filter: none;
}

.changelog-body[b-zjo6z1fhij] {
    overflow-y: auto;
    padding: 1rem 1.25rem;
    flex: 1;
}

.changelog-entry[b-zjo6z1fhij] {
    margin-bottom: 1.5rem;
}

.changelog-entry:last-child[b-zjo6z1fhij] {
    margin-bottom: 0;
}

.changelog-entry-header[b-zjo6z1fhij] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.changelog-version[b-zjo6z1fhij] {
    font-weight: 600;
    color: #e6edf3;
    font-size: 0.95rem;
}

:global([data-bs-theme="light"]) .changelog-version[b-zjo6z1fhij] {
    color: #1f2328;
}

.changelog-date[b-zjo6z1fhij] {
    font-size: 0.75rem;
    color: #8b949e;
}

.changelog-items[b-zjo6z1fhij] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.changelog-items li[b-zjo6z1fhij] {
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: #c9d1d9;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

:global([data-bs-theme="light"]) .changelog-items li[b-zjo6z1fhij] {
    color: #1f2328;
}

.changelog-type[b-zjo6z1fhij] {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.changelog-type-feature[b-zjo6z1fhij] {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.changelog-type-improvement[b-zjo6z1fhij] {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.changelog-type-fix[b-zjo6z1fhij] {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.changelog-type-critical[b-zjo6z1fhij] {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    font-weight: 600;
}

:global([data-bs-theme="light"]) .changelog-type-feature[b-zjo6z1fhij] {
    background: rgba(22, 163, 74, 0.15);
    color: #16a34a;
}

:global([data-bs-theme="light"]) .changelog-type-improvement[b-zjo6z1fhij] {
    background: rgba(37, 99, 235, 0.15);
    color: #2563eb;
}

:global([data-bs-theme="light"]) .changelog-type-fix[b-zjo6z1fhij] {
    background: rgba(234, 88, 12, 0.15);
    color: #ea580c;
}

:global([data-bs-theme="light"]) .changelog-type-critical[b-zjo6z1fhij] {
    background: rgba(220, 38, 38, 0.15);
    color: #dc2626;
}
/* _content/BlazorApp1/Components/Pages/SchematicsPages/Schematics.razor.rz.scp.css */
/* Schematics Page Styles */
/* Canvas-based rendering - most styling is handled in JavaScript */

/* Schematics card styling */
.schematics-card[b-uvsoccze1c] {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

.schematics-card .card-header[b-uvsoccze1c] {
    background-color: var(--bs-tertiary-bg);
    border-bottom-color: var(--bs-border-color);
}

/* Wire connections table styling */
.schematics-table[b-uvsoccze1c] {
    margin-bottom: 0;
}

.schematics-table thead th[b-uvsoccze1c] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.schematics-table tbody td[b-uvsoccze1c] {
    font-size: 0.8rem;
    vertical-align: middle;
}

/* Row status indicators */
.row-included[b-uvsoccze1c] {
    opacity: 1;
}

.row-excluded[b-uvsoccze1c] {
    opacity: 0.5;
    text-decoration: line-through;
}
