/* /Components/Layout/AdminLayout.razor.rz.scp.css */
.page[b-1trql8t4rk] {
    position: relative;
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

main[b-1trql8t4rk] {
    flex: 1;
    background: transparent;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.sidebar[b-1trql8t4rk] {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(139, 92, 246, 0.3);
}

.top-row[b-1trql8t4rk] {
    background: rgba(30, 27, 75, 0.98);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    height: 3.5rem;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.top-row-inner[b-1trql8t4rk] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 1.5rem;
}

.content[b-1trql8t4rk] {
    flex: 1;
    overflow-y: auto;
    padding: 0 !important;
}

article[b-1trql8t4rk] {
    padding: 0 !important;
}

/* Mobile layout */
@media (max-width: 768px) {
    .page[b-1trql8t4rk] {
        flex-direction: column;
    }

    .sidebar[b-1trql8t4rk] {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 50vh;
        overflow-y: auto;
    }

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

    .top-row-inner[b-1trql8t4rk] {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-p4u477mbgu] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

main[b-p4u477mbgu] {
    flex: 1;
    background: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    /* push content below fixed header */
    padding-top: 3.5rem;
    /* Dynamisches Spacing für gedocktes Terminal */
    padding-bottom: var(--terminal-visible-height, 50px);
}

.sidebar[b-p4u477mbgu] {
    background: #374151;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    /* push nav below fixed header */
    padding-top: 3.5rem;
}

.sidebar[b-p4u477mbgu]::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%
    );
}

.top-row[b-p4u477mbgu] {
    /* full-width, fixed header across sidebar and main */
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    height: 3.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100; /* above sidebar */
}

.top-row-inner[b-p4u477mbgu] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 1.5rem;
}

.top-row-right[b-p4u477mbgu] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    padding-left: 1rem;
    border-left: 1px solid #e5e7eb;
}

    .top-row[b-p4u477mbgu]  a,
    .top-row[b-p4u477mbgu]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: #6b7280;
        font-weight: 500;
        transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        padding: 0.5rem 0;
    }

    .top-row[b-p4u477mbgu]  a::after,
    .top-row[b-p4u477mbgu]  .btn-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        transition: width 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .top-row[b-p4u477mbgu]  a:hover,
    .top-row[b-p4u477mbgu]  .btn-link:hover {
        color: #667eea;
    }

    .top-row[b-p4u477mbgu]  a:hover::after,
    .top-row[b-p4u477mbgu]  .btn-link:hover::after {
        width: 100%;
    }

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

@media (max-width: 640.98px) {
    .top-row-inner[b-p4u477mbgu] { padding-left: 1rem; padding-right: 1rem; }
}

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

    .sidebar[b-p4u477mbgu] {
        width: 280px;
        height: 100%;
        flex-shrink: 0;
        transition: width 280ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Disable transition during initial page load */
    .page.no-sidebar-transition .sidebar[b-p4u477mbgu] {
        transition: none !important;
    }
    
    /* Collapsed sidebar - only icons visible */
    .page.sidebar-collapsed .sidebar[b-p4u477mbgu] {
        width: 64px;
    }
    
    /* Hover expansion - temporarily expand when hovering collapsed sidebar */
    .page.sidebar-collapsed.sidebar-hovering .sidebar[b-p4u477mbgu] {
        width: 280px;
        box-shadow: 8px 0 32px rgba(0, 0, 0, 0.25);
        z-index: 99;
    }

    .top-row[b-p4u477mbgu] { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: rgba(255, 255, 255, 0.95); }

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

    /* no padding on header; gutters applied by top-row-inner; article uses its own padding */
    .top-row[b-p4u477mbgu],
    article[b-p4u477mbgu] { padding-left: 0 !important; padding-right: 0 !important; }

    article[b-p4u477mbgu] {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
        padding-left: 2rem;
        padding-right: 1.5rem;
    }
}

#blazor-error-ui[b-p4u477mbgu] {
    background: linear-gradient(135deg, #fef3c7 0%, #fef08a 100%);
    bottom: 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    left: 0;
    padding: 1rem 1.5rem 1rem 3.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-top: 3px solid #f59e0b;
    color: #92400e;
    font-weight: 500;
    border-radius: 0.5rem 0.5rem 0 0;
}

    #blazor-error-ui[b-p4u477mbgu]::before {
        content: '?';
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        animation: pulse-b-p4u477mbgu 2s ease-in-out infinite;
    }

    #blazor-error-ui .dismiss[b-p4u477mbgu] {
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        background: #92400e;
        color: white;
        border-radius: 50%;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        font-weight: 700;
        transition: all 250ms;
        line-height: 1;
    }

    #blazor-error-ui .dismiss:hover[b-p4u477mbgu] {
        background: #78350f;
        transform: translateY(-50%) scale(1.1);
    }

@keyframes pulse-b-p4u477mbgu {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateY(-50%) scale(1.1); }
}

/* Smooth Page Transitions */
article[b-p4u477mbgu] { animation: fadeIn-b-p4u477mbgu 400ms cubic-bezier(0.4, 0, 0.2, 1); }

@keyframes fadeIn-b-p4u477mbgu {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-4wab43am5n] {
    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-4wab43am5n] {
    background-color: rgba(255, 255, 255, 0.5);
}

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

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

/* FontAwesome Icons styling for navigation */
.fas[b-4wab43am5n] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0;
    top: 0;
    text-align: center;
    color: inherit;
}

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

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

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

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

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

.nav-item[b-4wab43am5n]  a.active .fas {
    color: white;
}

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

.nav-item[b-4wab43am5n]  a:hover .fas {
    color: white;
}

.navbar-toggler:checked[b-4wab43am5n] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-4wab43am5n] {
        display: none;
    }
}
/* /Components/Shared/InstallApplicationModal.razor.rz.scp.css */
/* InstallApplicationModal - Component-scoped styles */

.install-app-subtitle[b-yzpff6wzoa] {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 400;
}

/* Tabs */
.install-app-tabs[b-yzpff6wzoa] {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 1.5rem;
    gap: 0;
}

.install-app-tab[b-yzpff6wzoa] {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: color 150ms, border-color 150ms;
}

.install-app-tab:hover[b-yzpff6wzoa] {
    color: #374151;
}

.install-app-tab.active[b-yzpff6wzoa] {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Installer source row */
.install-app-source-row[b-yzpff6wzoa] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.install-app-source-select[b-yzpff6wzoa] {
    width: auto !important;
    flex: 0 0 auto;
    min-width: 150px;
}

.install-app-source-row .modal-form-control:not(.install-app-source-select)[b-yzpff6wzoa] {
    flex: 1;
    min-width: 200px;
}

/* File drop zone */
.install-app-dropzone[b-yzpff6wzoa] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: border-color 150ms, background 150ms;
    background: #fafbfc;
    text-align: center;
    min-height: 100px;
    position: relative;
}

.install-app-dropzone:hover[b-yzpff6wzoa] {
    border-color: #93c5fd;
    background: #eff6ff;
}

.install-app-dropzone-icon[b-yzpff6wzoa] {
    font-size: 1.5rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.install-app-dropzone-text[b-yzpff6wzoa] {
    font-size: 0.875rem;
    color: #6b7280;
}

.install-app-dropzone-text strong[b-yzpff6wzoa] {
    color: #2563eb;
    cursor: pointer;
}

.install-app-dropzone-text strong:hover[b-yzpff6wzoa] {
    text-decoration: underline;
}

.install-app-dropzone-hint[b-yzpff6wzoa] {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.375rem;
}

.install-app-dropzone input[type="file"][b-yzpff6wzoa],
.install-app-dropzone[b-yzpff6wzoa]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* File info display (after upload) */
.install-app-file-info[b-yzpff6wzoa] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    background: #f0fdf4;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #bbf7d0;
}

.install-app-file-info .fa-check-circle[b-yzpff6wzoa] {
    color: #22c55e;
}

.install-app-file-remove[b-yzpff6wzoa] {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: auto;
    font-size: 0.875rem;
    line-height: 1;
    transition: color 150ms;
}

.install-app-file-remove:hover[b-yzpff6wzoa] {
    color: #ef4444;
}

/* Upload progress */
.install-app-upload-progress[b-yzpff6wzoa] {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #2563eb;
}

/* Category multi-select */
.install-app-category-select[b-yzpff6wzoa] {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.install-app-dropdown-list[b-yzpff6wzoa] {
    position: relative;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    margin-top: 0.25rem;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.install-app-dropdown-item[b-yzpff6wzoa] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #374151;
    transition: background 100ms;
}

.install-app-dropdown-item:hover[b-yzpff6wzoa] {
    background: #f3f4f6;
}

.install-app-dropdown-item input[type="checkbox"][b-yzpff6wzoa] {
    accent-color: #2563eb;
}

/* Parameter input row */
.install-app-param-input-row[b-yzpff6wzoa] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.install-app-param-input-row .modal-form-control[b-yzpff6wzoa] {
    flex: 1;
}

.install-app-param-add-btn[b-yzpff6wzoa] {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Parameter list */
.install-app-param-list[b-yzpff6wzoa] {
    margin-top: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    min-height: 80px;
    display: flex;
    flex-direction: column;
}

.install-app-param-item[b-yzpff6wzoa] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
}

.install-app-param-item:last-child[b-yzpff6wzoa] {
    border-bottom: none;
}

.install-app-param-item code[b-yzpff6wzoa] {
    background: #e5e7eb;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.8125rem;
    color: #1f2937;
}

.install-app-param-remove[b-yzpff6wzoa] {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.75rem;
    line-height: 1;
}

.install-app-param-remove:hover[b-yzpff6wzoa] {
    color: #ef4444;
}

/* Empty state */
.install-app-param-empty[b-yzpff6wzoa] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    text-align: center;
    flex: 1;
}

.install-app-param-empty strong[b-yzpff6wzoa] {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 600;
}

.install-app-param-empty span[b-yzpff6wzoa] {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

/* Default parameter hint */
.install-app-default-hint[b-yzpff6wzoa] {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
}

.install-app-default-hint i[b-yzpff6wzoa] {
    color: #3b82f6;
}
