/* /Components/CustomDatePicker.razor.rz.scp.css */
.datepicker-wrapper[b-s1onrkglt4] {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border: none;
    padding: 0;
    background: transparent;
    border-radius: 0;
    outline: none;
}

.datepicker-input-container[b-s1onrkglt4] {
    display: flex;
    align-items: center;
    min-height: 3rem;
    width: 100%;
    box-sizing: border-box;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.datepicker-input-container:hover[b-s1onrkglt4] {
    border-color: rgba(59, 130, 246, 0.45);
}

.datepicker-input-container:focus-within[b-s1onrkglt4] {
    border-color: var(--border-focus);
    box-shadow: var(--shadow-glow);
    background: rgba(255, 255, 255, 0.1);
}

.datepicker-input-field[b-s1onrkglt4] {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    min-width: 0;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

.datepicker-icon[b-s1onrkglt4] {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.datepicker-overlay[b-s1onrkglt4] {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99;
}

.datepicker-popup[b-s1onrkglt4] {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 100;
    display: flex;
    box-sizing: border-box;
    background: rgba(30, 41, 59, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    width: min(520px, calc(100vw - 1rem));
    max-width: calc(100vw - 1rem);
    max-height: min(340px, calc(100dvh - 2rem));
    overscroll-behavior: contain;
}

/* Left pane */
.datepicker-left[b-s1onrkglt4] {
    background: rgba(255, 255, 255, 0.04);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    width: 150px;
    border-right: 1px solid var(--border-subtle);
}

.datepicker-mobile-navigation[b-s1onrkglt4] {
    display: none;
}

.datepicker-desktop-navigation[b-s1onrkglt4] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.datepicker-mobile-selects[b-s1onrkglt4] {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.custom-select-wrapper[b-s1onrkglt4] {
    flex: 1;
    min-width: 0;
    position: relative;
}

.custom-select-trigger[b-s1onrkglt4] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    padding: 0.6rem 0.75rem;
    border: 1.5px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--bg-elevated);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
}

.custom-select-wrapper.open .custom-select-trigger[b-s1onrkglt4] {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    background: rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: rgba(59, 130, 246, 0.15);
}

.custom-select-chevron[b-s1onrkglt4] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.custom-select-wrapper.open .custom-select-chevron[b-s1onrkglt4] {
    transform: rotate(180deg);
}

.custom-select-list[b-s1onrkglt4] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 300;
    background: rgba(30, 41, 59, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(59, 130, 246, 0.25);
    border-top: none;
    border-radius: 0 0 10px 10px;
    overflow-y: auto;
    max-height: min(180px, 40dvh);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overscroll-behavior: contain;
}

.custom-select-option[b-s1onrkglt4] {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    font: inherit;
    font-size: 0.88rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.1s ease;
}

.custom-select-option:hover[b-s1onrkglt4] {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
}

.custom-select-option.option-active[b-s1onrkglt4] {
    color: #0070f3;
    font-weight: 600;
    background: rgba(0, 112, 243, 0.08);
}

.custom-select-backdrop[b-s1onrkglt4] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 299;
}

.datepicker-year[b-s1onrkglt4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.year-title[b-s1onrkglt4] {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 500;
    color: var(--text-primary);
    padding-left: 0.5rem;
}

.year-nav[b-s1onrkglt4] {
    display: flex;
    flex-direction: column;
}

.btn-year[b-s1onrkglt4] {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #a0aec0;
    transition: color 0.1s;
    line-height: 1;
}

.btn-year:hover[b-s1onrkglt4] {
    color: var(--primary, #0070f3);
}

.datepicker-months[b-s1onrkglt4] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    overflow-y: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none;    /* Firefox */
}

.datepicker-months[b-s1onrkglt4]::-webkit-scrollbar {
    display: none;
}

.month-btn[b-s1onrkglt4] {
    background: transparent;
    border: none;
    text-align: left;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.month-btn:hover[b-s1onrkglt4] {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.month-active[b-s1onrkglt4] {
    background: rgba(0, 112, 243, 0.1) !important;
    color: #0070f3 !important;
    font-weight: 600;
}

/* Right pane */
.datepicker-right[b-s1onrkglt4] {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.datepicker-header[b-s1onrkglt4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.month-name[b-s1onrkglt4] {
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    font-weight: 600;
    color: var(--text-primary);
    min-width: 0;
    max-width: 100%;
}

.nav-buttons[b-s1onrkglt4] {
    display: flex;
    gap: 0.5rem;
}

.month-dropdown[b-s1onrkglt4] {
    position: absolute;
    top: 100%;
    left: 0;
    box-sizing: border-box;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    z-index: 101;
    width: 280px;
}

.month-grid-btn[b-s1onrkglt4] {
    background: transparent;
    border: none;
    padding: 0.8rem 0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.month-grid-btn:hover[b-s1onrkglt4] {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
}

.month-grid-btn.month-active[b-s1onrkglt4] {
    background: rgba(0, 112, 243, 0.1);
    color: #0070f3;
    font-weight: 600;
}

.nav-btn[b-s1onrkglt4] {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.nav-btn:hover[b-s1onrkglt4] {
    background: rgba(255, 255, 255, 0.12);
}

.datepicker-calendar[b-s1onrkglt4] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.weekdays[b-s1onrkglt4] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    text-align: center;
    margin-bottom: 0.8rem;
}

.weekdays span[b-s1onrkglt4] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
}

.days-grid[b-s1onrkglt4] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-auto-rows: minmax(2.5rem, 1fr);
    gap: 6px;
}

.day[b-s1onrkglt4] {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1;
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.day:not(.empty):not(.selected):hover[b-s1onrkglt4] {
    background: rgba(255, 255, 255, 0.1);
}

.day.selected[b-s1onrkglt4] {
    background: rgba(0, 112, 243, 0.1);
    color: #0070f3;
    font-weight: bold;
    /* Simulate the subtle shadow glow */
    box-shadow: 0 4px 10px rgba(0, 112, 243, 0.2);
}

.day.empty[b-s1onrkglt4] {
    pointer-events: none;
}

.mobile-close-btn[b-s1onrkglt4] {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #4a5568;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
}

@media (max-width: 900px) {
    .datepicker-popup[b-s1onrkglt4] {
        width: min(32rem, calc(100vw - 1.5rem));
        max-width: calc(100vw - 1.5rem);
        max-height: min(42rem, calc(100dvh - 1.5rem));
        flex-direction: column;
    }

    .datepicker-left[b-s1onrkglt4] {
        width: 100%;
        padding: 1rem 1rem 0.75rem;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .datepicker-year[b-s1onrkglt4] {
        margin-bottom: 0.75rem;
    }

    .datepicker-months[b-s1onrkglt4] {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.5rem;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .month-btn[b-s1onrkglt4] {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 0.55rem 0.9rem;
        border-radius: 999px;
        background: rgba(0,0,0,0.03);
    }

    .datepicker-right[b-s1onrkglt4] {
        padding: 1rem;
        min-height: 0;
    }

    .month-dropdown[b-s1onrkglt4] {
        width: min(18rem, calc(100vw - 3rem));
    }
}

@media (max-width: 700px), (max-height: 760px) {
    .datepicker-popup[b-s1onrkglt4] {
        width: min(100vw - 1rem, 28rem);
        max-height: min(100dvh - 1rem, 38rem);
    }

    .datepicker-left[b-s1onrkglt4],
    .datepicker-right[b-s1onrkglt4] {
        padding: 0.9rem;
    }

    .datepicker-header[b-s1onrkglt4] {
        margin-bottom: 1rem;
    }

    .weekdays span[b-s1onrkglt4] {
        font-size: 0.7rem;
    }

    .days-grid[b-s1onrkglt4] {
        grid-auto-rows: minmax(2.75rem, 1fr);
        gap: 4px;
    }

    .day[b-s1onrkglt4] {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .datepicker-wrapper[b-s1onrkglt4] {
        position: static;
    }

    .mobile-close-btn[b-s1onrkglt4] {
        display: flex;
    }

    .datepicker-popup[b-s1onrkglt4] {
        position: fixed;
        top: 0;
        left: 0;
        width: 100dvw;
        max-width: 100dvw;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        flex-direction: column;
        border: none;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        padding-top: max(0.75rem, env(safe-area-inset-top));
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    }

    .datepicker-left[b-s1onrkglt4] {
        width: 100%;
        max-height: none;
        padding: 1.5rem 3.75rem 1rem 1rem;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .datepicker-mobile-navigation[b-s1onrkglt4] {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .datepicker-desktop-navigation[b-s1onrkglt4] {
        display: none;
    }

    .datepicker-year[b-s1onrkglt4] {
        margin-bottom: 0.5rem;
    }


    .datepicker-right[b-s1onrkglt4] {
        padding: 1.5rem;
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }

    .month-dropdown[b-s1onrkglt4] {
        width: min(calc(100vw - 2rem), 20rem);
        left: 50%;
        transform: translateX(-50%);
        box-sizing: border-box;
    }

    .days-grid[b-s1onrkglt4] {
        grid-auto-rows: minmax(3rem, 1fr);
    }

    .day[b-s1onrkglt4],
    .mobile-close-btn[b-s1onrkglt4] {
        min-width: 2.75rem;
        min-height: 2.75rem;
    }
}

@media (max-width: 380px) {
    .datepicker-left[b-s1onrkglt4],
    .datepicker-right[b-s1onrkglt4] {
        padding: 0.85rem;
    }

    .year-title[b-s1onrkglt4],
    .month-name[b-s1onrkglt4] {
        gap: 0.35rem;
    }

    .month-dropdown[b-s1onrkglt4] {
        grid-template-columns: repeat(2, 1fr);
        padding: 0.75rem;
    }

    .days-grid[b-s1onrkglt4] {
        gap: 3px;
    }

    .day[b-s1onrkglt4] {
        min-width: 2.5rem;
        min-height: 2.5rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .datepicker-input-container[b-s1onrkglt4],
    .month-btn[b-s1onrkglt4],
    .month-grid-btn[b-s1onrkglt4],
    .day[b-s1onrkglt4],
    .nav-btn[b-s1onrkglt4],
    .mobile-close-btn[b-s1onrkglt4] {
        touch-action: manipulation;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-asod5bebe3] {
    color-scheme: dark only;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    color: #fca5a5;
    border-top: 1px solid rgba(239, 68, 68, 0.25);
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    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-asod5bebe3] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
        color: rgba(148, 163, 184, 0.7);
        transition: color 0.2s;
    }

        #blazor-error-ui .dismiss:hover[b-asod5bebe3] {
            color: #f1f5f9;
        }

@media (max-width: 480px) {
    #blazor-error-ui[b-asod5bebe3] {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-57t1bp8tp9],
.components-reconnect-repeated-attempt-visible[b-57t1bp8tp9],
.components-reconnect-failed-visible[b-57t1bp8tp9],
.components-pause-visible[b-57t1bp8tp9],
.components-resume-failed-visible[b-57t1bp8tp9],
.components-rejoining-animation[b-57t1bp8tp9] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-57t1bp8tp9],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-57t1bp8tp9],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-57t1bp8tp9],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-57t1bp8tp9],
#components-reconnect-modal.components-reconnect-retrying[b-57t1bp8tp9],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-57t1bp8tp9],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-57t1bp8tp9],
#components-reconnect-modal.components-reconnect-failed[b-57t1bp8tp9],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-57t1bp8tp9] {
    display: block;
}


#components-reconnect-modal[b-57t1bp8tp9] {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    color: #f1f5f9;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-57t1bp8tp9 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-57t1bp8tp9 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-57t1bp8tp9 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-57t1bp8tp9]::backdrop {
    background-color: rgba(0, 0, 0, 0.6);
    animation: components-reconnect-modal-fadeInOpacity-b-57t1bp8tp9 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-57t1bp8tp9 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-57t1bp8tp9 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-57t1bp8tp9 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-57t1bp8tp9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-57t1bp8tp9] {
    margin: 0;
    text-align: center;
    color: rgba(148, 163, 184, 0.85);
}

#components-reconnect-modal button[b-57t1bp8tp9] {
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 0.55rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

    #components-reconnect-modal button:hover[b-57t1bp8tp9] {
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 4px 12px rgba(59, 130, 246, 0.3);
        transform: translateY(-1px);
    }

    #components-reconnect-modal button:active[b-57t1bp8tp9] {
        transform: translateY(0);
    }

.components-rejoining-animation[b-57t1bp8tp9] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-57t1bp8tp9] {
        position: absolute;
        border: 3px solid #3b82f6;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-57t1bp8tp9 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-57t1bp8tp9] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-57t1bp8tp9 {
    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/Backups.razor.rz.scp.css */
/* -- Animationen --------------------------------------------- */
@keyframes fadeInSlideUp-b-t6nyddbsfp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin-b-t6nyddbsfp {
    to {
        transform: rotate(360deg);
    }
}

.fade-in[b-t6nyddbsfp] {
    animation: fadeInSlideUp-b-t6nyddbsfp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -- Hero Meta ----------------------------------------------- */
.hero-meta[b-t6nyddbsfp] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
    justify-content: center;
}

.hero-meta span[b-t6nyddbsfp] {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

/* -- Alerts -------------------------------------------------- */
.alert-error[b-t6nyddbsfp] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
    padding: 0.95rem 1rem;
    background: rgba(220, 38, 38, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 16px;
}

.alert-error svg[b-t6nyddbsfp] {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
}

/* -- Laufender Status ---------------------------------------- */
.backup-status-card[b-t6nyddbsfp] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.4rem;
    padding: 1.2rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.1);
}

.disk-spinner[b-t6nyddbsfp] {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 999px;
    border: 3px solid rgba(148, 163, 184, 0.2);
    border-top-color: var(--blue-500);
    animation: spin-b-t6nyddbsfp 0.95s linear infinite;
}

.status-info h2[b-t6nyddbsfp] {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.status-info p[b-t6nyddbsfp] {
    margin: 0 0 0.85rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.status-value[b-t6nyddbsfp] {
    color: var(--blue-600);
    font-size: 1.1rem;
    font-weight: 700;
}

.progress-bar[b-t6nyddbsfp] {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill[b-t6nyddbsfp] {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-600));
    border-radius: inherit;
    transition: width 0.28s ease;
}

/* -- Layout Panels ------------------------------------------- */
.backups-overview[b-t6nyddbsfp] {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    border-radius: 22px;
    box-shadow: var(--shadow-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 1.4rem;
    transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.backups-overview.dimmed[b-t6nyddbsfp] {
    opacity: 0.55;
    filter: saturate(0.8);
    pointer-events: none;
}

.panel-head[b-t6nyddbsfp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-head h2[b-t6nyddbsfp] {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.panel-head p[b-t6nyddbsfp] {
    margin: 0.2rem 0 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.panel-head--overview[b-t6nyddbsfp] {
    margin-bottom: 1.2rem;
}

/* -- Sidebar ------------------------------------------------- */
.empty-state[b-t6nyddbsfp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 220px;
    color: var(--text-muted);
    text-align: center;
}

.empty-state svg[b-t6nyddbsfp] {
    width: 2rem;
    height: 2rem;
}

.sicherung-accordion[b-t6nyddbsfp] {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.sicherung-card[b-t6nyddbsfp] {
    border: 1px solid var(--border-subtle);
    border-radius: 22px;
    background: var(--bg-surface);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.sicherung-card--expanded[b-t6nyddbsfp] {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 14px 32px rgba(59, 130, 246, 0.1);
}

.sicherung-card--draft[b-t6nyddbsfp] {
    border-style: dashed;
}

.sicherung-card__header[b-t6nyddbsfp] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
}

.sicherung-card__summary[b-t6nyddbsfp] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: none;
    background: transparent;
    text-align: left;
    padding: 0;
    cursor: pointer;
    transition: transform 0.18s ease;
}

.sicherung-card__summary:hover[b-t6nyddbsfp] {
    transform: translateY(-1px);
}

.sicherung-card__title-wrap[b-t6nyddbsfp] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.sicherung-card__title-wrap strong[b-t6nyddbsfp] {
    color: var(--text-primary);
    font-size: 1.02rem;
}

.sicherung-card__subtitle[b-t6nyddbsfp] {
    color: var(--text-secondary);
    font-size: 0.84rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sicherung-card__quickinfo[b-t6nyddbsfp] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.sicherung-card__status-band[b-t6nyddbsfp] {
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.8rem 0.95rem;
    border-radius: 18px;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.sicherung-card__status-band span[b-t6nyddbsfp] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.88;
}

.sicherung-card__status-band strong[b-t6nyddbsfp] {
    font-size: 0.95rem;
}

.sicherung-card__status-band--success[b-t6nyddbsfp] {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.sicherung-card__status-band--error[b-t6nyddbsfp] {
    background: linear-gradient(135deg, #f87171, #dc2626);
}

.sicherung-card__status-band--idle[b-t6nyddbsfp] {
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

.sicherung-card__chevron[b-t6nyddbsfp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: var(--bg-elevated);
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.24s ease, color 0.18s ease, background 0.18s ease;
}

.sicherung-card__chevron svg[b-t6nyddbsfp] {
    width: 1.1rem;
    height: 1.1rem;
}

.sicherung-card__chevron--expanded[b-t6nyddbsfp] {
    transform: rotate(180deg);
    color: var(--blue-500);
    background: rgba(59, 130, 246, 0.12);
}

.quickinfo-pill[b-t6nyddbsfp] {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
}

.sicherung-card__header-actions[b-t6nyddbsfp] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sicherung-card__body[b-t6nyddbsfp] {
    padding: 0 1.2rem 1.2rem;
    border-top: 1px solid var(--border-subtle);
}

.status-pill[b-t6nyddbsfp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-pill--active[b-t6nyddbsfp] {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue-500);
}

.status-pill--muted[b-t6nyddbsfp] {
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-secondary);
}

/* -- Toggle -------------------------------------------------- */
.toggle-switch[b-t6nyddbsfp] {
    position: relative;
    display: inline-flex;
    width: 54px;
    height: 32px;
    flex-shrink: 0;
}

.toggle-switch input[b-t6nyddbsfp] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider[b-t6nyddbsfp] {
    position: absolute;
    inset: 0;
    cursor: pointer;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
    transition: background 0.2s ease;
}

.slider[b-t6nyddbsfp]::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--text-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.toggle-switch input:checked + .slider[b-t6nyddbsfp] {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
}

.toggle-switch input:checked + .slider[b-t6nyddbsfp]::before {
    transform: translateX(22px);
}

/* -- Pfad-Dialog --------------------------------------------- */
.path-dialog-backdrop[b-t6nyddbsfp] {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.path-dialog[b-t6nyddbsfp] {
    width: min(100%, 560px);
    padding: 1.2rem;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid var(--border-glass);
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.path-dialog__header[b-t6nyddbsfp] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.path-dialog__header h3[b-t6nyddbsfp] {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.path-dialog__header p[b-t6nyddbsfp] {
    margin: 0.3rem 0 0;
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.5;
}

.path-dialog__actions[b-t6nyddbsfp] {
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
    margin-top: 1.1rem;
}

/* -- Responsive ---------------------------------------------- */
@media (max-width: 980px) {
    .editor-grid[b-t6nyddbsfp],
    .editor-meta-grid[b-t6nyddbsfp] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .backups-header[b-t6nyddbsfp] {
        padding-inline: 1rem;
    }

    .backups-main[b-t6nyddbsfp] {
        padding-inline: 1rem;
        padding-top: 1.5rem;
    }

    .hero-card[b-t6nyddbsfp],
    .backups-overview[b-t6nyddbsfp] {
        padding: 1rem;
        border-radius: 20px;
    }

    .row-fields[b-t6nyddbsfp],
    .timeline-card[b-t6nyddbsfp],
    .backup-status-card[b-t6nyddbsfp],
    .row-fields--compact[b-t6nyddbsfp] {
        grid-template-columns: 1fr;
    }

    .backup-status-card[b-t6nyddbsfp] {
        grid-template-columns: 1fr;
    }

    .status-value[b-t6nyddbsfp] {
        justify-self: start;
    }

    .panel-head[b-t6nyddbsfp],
    .panel-head--editor[b-t6nyddbsfp] {
        align-items: flex-start;
        flex-direction: column;
    }

    .actions[b-t6nyddbsfp] {
        flex-direction: column;
    }

    .directory-picker-card[b-t6nyddbsfp],
    .path-dialog__header[b-t6nyddbsfp],
    .path-dialog__actions[b-t6nyddbsfp],
    .folder-picker__toolbar[b-t6nyddbsfp],
    .sicherung-card__header[b-t6nyddbsfp],
    .sicherung-card__summary[b-t6nyddbsfp],
    .sicherung-card__header-actions[b-t6nyddbsfp],
    .history-panel__head[b-t6nyddbsfp],
    .history-item__top[b-t6nyddbsfp] {
        flex-direction: column;
        align-items: stretch;
    }

    .dialog-input-wrap[b-t6nyddbsfp] {
        grid-template-columns: 1fr;
    }

    .folder-picker__item[b-t6nyddbsfp] {
        grid-template-columns: 1fr;
    }

    .sicherung-card__quickinfo[b-t6nyddbsfp] {
        justify-content: flex-start;
    }

    .sicherung-card__status-band[b-t6nyddbsfp] {
        min-width: 0;
    }

    .sicherung-card__chevron[b-t6nyddbsfp] {
        align-self: flex-start;
    }

    .sicherung-card__body[b-t6nyddbsfp] {
        padding-inline: 0.6rem;
        padding-bottom: 0.8rem;
        border-top: none;
    }
}

@media (max-width: 480px) {
    .hero-meta[b-t6nyddbsfp] {
        gap: 0.4rem;
    }

    .hero-meta span[b-t6nyddbsfp] {
        font-size: 0.72rem;
        padding: 0.35rem 0.6rem;
    }

    .backups-overview[b-t6nyddbsfp] {
        padding: 0.75rem;
        border-radius: 16px;
    }

    .sicherung-card[b-t6nyddbsfp] {
        border-radius: 16px;
    }

    .sicherung-card__header[b-t6nyddbsfp] {
        padding: 0.85rem 0.75rem;
        gap: 0.65rem;
    }

    .sicherung-card__title-wrap strong[b-t6nyddbsfp] {
        font-size: 0.92rem;
    }

    .sicherung-card__subtitle[b-t6nyddbsfp] {
        font-size: 0.78rem;
        white-space: normal;
        word-break: break-word;
    }

    .sicherung-card__status-band[b-t6nyddbsfp] {
        padding: 0.6rem 0.75rem;
        border-radius: 12px;
    }

    .sicherung-card__status-band span[b-t6nyddbsfp] {
        font-size: 0.68rem;
    }

    .sicherung-card__status-band strong[b-t6nyddbsfp] {
        font-size: 0.85rem;
    }

    .sicherung-card__chevron[b-t6nyddbsfp] {
        width: 1.8rem;
        height: 1.8rem;
    }

    .quickinfo-pill[b-t6nyddbsfp] {
        font-size: 0.72rem;
        padding: 0.3rem 0.55rem;
    }

    .sicherung-card__body[b-t6nyddbsfp] {
        padding: 0 0.6rem 0.8rem;
    }

    .sicherung-card__header-actions[b-t6nyddbsfp] {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .status-pill[b-t6nyddbsfp] {
        font-size: 0.68rem;
        padding: 0.18rem 0.45rem;
    }

    .toggle-switch[b-t6nyddbsfp] {
        width: 46px;
        height: 28px;
    }

    .slider[b-t6nyddbsfp]::before {
        width: 20px;
        height: 20px;
    }

    .toggle-switch input:checked + .slider[b-t6nyddbsfp]::before {
        transform: translateX(18px);
    }

    .backup-status-card[b-t6nyddbsfp] {
        padding: 0.85rem 0.9rem;
        gap: 0.75rem;
        border-radius: 16px;
    }

    .disk-spinner[b-t6nyddbsfp] {
        width: 2.2rem;
        height: 2.2rem;
    }

    .path-dialog[b-t6nyddbsfp] {
        padding: 0.9rem;
        border-radius: 18px;
    }

    .path-dialog__header h3[b-t6nyddbsfp] {
        font-size: 0.95rem;
    }

    .path-dialog__header p[b-t6nyddbsfp] {
        font-size: 0.8rem;
    }

    .panel-head h2[b-t6nyddbsfp] {
        font-size: 0.95rem;
    }

    .panel-head p[b-t6nyddbsfp] {
        font-size: 0.78rem;
    }

    .alert-error[b-t6nyddbsfp] {
        padding: 0.75rem 0.85rem;
        border-radius: 12px;
        font-size: 0.85rem;
    }
}
/* /Components/Pages/Einstellungen.razor.rz.scp.css */
.settings-content[b-wl3ax5u0w3] {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    border-radius: 22px;
    box-shadow: var(--shadow-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 2rem 2.5rem;
}

.form-section[b-wl3ax5u0w3] {
    margin-bottom: 2.2rem;
}

.form-section-title[b-wl3ax5u0w3] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.6rem;
    letter-spacing: -0.015em;
}

.form-actions[b-wl3ax5u0w3] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.btn-primary[b-wl3ax5u0w3] {
    background: var(--blue-600);
    color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    letter-spacing: 0.01em;
}

.btn-primary:hover[b-wl3ax5u0w3] {
    background: var(--blue-700);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.btn-primary:active[b-wl3ax5u0w3] {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.success-message[b-wl3ax5u0w3] {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #86efac;
    border-radius: 14px;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 480px) {
    .settings-content[b-wl3ax5u0w3] {
        padding: 1.2rem 1rem;
        border-radius: 16px;
    }

    .form-section-title[b-wl3ax5u0w3] {
        font-size: 0.95rem;
    }

    .form-actions[b-wl3ax5u0w3] {
        justify-content: stretch;
    }

    .form-actions .btn-primary[b-wl3ax5u0w3] {
        width: 100%;
    }
}
/* /Components/Pages/Finanzverwaltung.razor.rz.scp.css */
.field-hint[b-iy8pfzrsqv] {
    margin: 0.4rem 0 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.field-hint a[b-iy8pfzrsqv] {
    color: var(--blue-500);
    text-decoration: none;
    font-weight: 500;
}

.field-hint a:hover[b-iy8pfzrsqv] {
    text-decoration: underline;
}

.tabs-container[b-iy8pfzrsqv] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: var(--bg-surface);
    padding: 0.5rem;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
}

.tab-btn[b-iy8pfzrsqv] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover[b-iy8pfzrsqv] {
    color: var(--text-primary);
    background: var(--bg-elevated);
}

.tab-btn--active[b-iy8pfzrsqv] {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue-500);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.main-content[b-iy8pfzrsqv] {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    border-radius: 22px;
    box-shadow: var(--shadow-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 1.6rem 2rem;
    max-width: 1000px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .main-content[b-iy8pfzrsqv] {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transform: none !important;
        max-width: 100%;
    }
}

.form-section[b-iy8pfzrsqv] {
    margin-bottom: 2.2rem;
}

.form-section-title[b-iy8pfzrsqv] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.6rem;
    letter-spacing: -0.015em;
}

.positionen-list[b-iy8pfzrsqv] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.position-card[b-iy8pfzrsqv] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    align-items: flex-end;
}

.position-card-row[b-iy8pfzrsqv] {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: nowrap;
}

.btn-delete-pos[b-iy8pfzrsqv] {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: none;
    border-radius: 10px;
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-bottom: 0.2rem;
}

.btn-delete-pos:hover[b-iy8pfzrsqv] {
    background: rgba(239, 68, 68, 0.15);
    transform: translateY(-1px);
}

.btn-action[b-iy8pfzrsqv] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--blue-500);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-action:hover[b-iy8pfzrsqv] {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.45);
}

.btn-primary[b-iy8pfzrsqv] {
    background: var(--blue-600);
    color: #fff;
    border: none;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    width: 100%;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    letter-spacing: 0.01em;
}

.btn-primary:hover[b-iy8pfzrsqv] {
    background: var(--blue-700);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.btn-primary:active[b-iy8pfzrsqv] {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.btn-primary:disabled[b-iy8pfzrsqv] {
    background: rgba(148, 163, 184, 0.2);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.success-message[b-iy8pfzrsqv] {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #86efac;
    border-radius: 14px;
    font-weight: 500;
    text-align: center;
}

.historie-section[b-iy8pfzrsqv] {
    margin-top: 3.5rem;
}

.historie-title[b-iy8pfzrsqv] {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.historie-list[b-iy8pfzrsqv] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.historie-item[b-iy8pfzrsqv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.historie-item:hover[b-iy8pfzrsqv] {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.historie-item-info[b-iy8pfzrsqv] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.historie-item-type[b-iy8pfzrsqv] {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.historie-item-meta[b-iy8pfzrsqv] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    align-items: center;
}

.historie-amount[b-iy8pfzrsqv] {
    font-weight: 600;
    color: var(--text-primary);
}

.historie-item-actions[b-iy8pfzrsqv] {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.btn-sm[b-iy8pfzrsqv] {
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
    border-radius: 8px;
}

.spinner-inline[b-iy8pfzrsqv] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: inline-spin-b-iy8pfzrsqv 0.8s linear infinite;
    margin-right: 0.5rem;
}

@keyframes inline-spin-b-iy8pfzrsqv {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .position-card[b-iy8pfzrsqv] {
        flex-direction: column;
        align-items: stretch;
    }

    .position-card-row[b-iy8pfzrsqv] {
        justify-content: space-between;
    }

    .main-content[b-iy8pfzrsqv] {
        padding: 1.2rem;
    }

    .historie-item-actions[b-iy8pfzrsqv] {
        width: 100%;
        justify-content: space-between;
    }
}

/* Field width helpers for the positions and discounts area */
.field-w-qty[b-iy8pfzrsqv] { width: 80px; flex: 0 0 80px; }
.field-w-price[b-iy8pfzrsqv] { width: 120px; flex: 0 0 120px; }
.field-w-rab-percent[b-iy8pfzrsqv] { width: 100px; flex: 0 0 100px; }
.field-w-rab-amt[b-iy8pfzrsqv] { width: 120px; flex: 0 0 120px; }
.field-w-total[b-iy8pfzrsqv] { width: 100px; flex: 0 0 100px; }

.position-card-row .btn-delete-pos[b-iy8pfzrsqv] { margin-left: 8px; align-self: center; }

@media (max-width: 640px) {
    .field-w-qty[b-iy8pfzrsqv],
    .field-w-price[b-iy8pfzrsqv],
    .field-w-rab-percent[b-iy8pfzrsqv],
    .field-w-rab-amt[b-iy8pfzrsqv],
    .field-w-total[b-iy8pfzrsqv] {
        width: 100%;
        flex: 1 1 100%;
    }

    .position-card-row[b-iy8pfzrsqv] { flex-wrap: wrap; gap: 8px; }

    .position-card-row .btn-delete-pos[b-iy8pfzrsqv] { margin-left: 0; }
}

@media (max-width: 480px) {
    .main-content[b-iy8pfzrsqv] {
        padding: 0.9rem;
        border-radius: 16px;
    }

    .tabs-container[b-iy8pfzrsqv] {
        gap: 0.3rem;
        padding: 0.35rem;
        border-radius: 12px;
    }

    .tab-btn[b-iy8pfzrsqv] {
        padding: 0.6rem 0.5rem;
        font-size: 0.82rem;
        border-radius: 8px;
    }

    .form-section-title[b-iy8pfzrsqv] {
        font-size: 0.95rem;
    }

    .position-card[b-iy8pfzrsqv] {
        padding: 0.85rem;
        border-radius: 12px;
    }

    .historie-title[b-iy8pfzrsqv] {
        font-size: 1.25rem;
    }

    .historie-item[b-iy8pfzrsqv] {
        padding: 0.85rem;
        gap: 0.75rem;
        border-radius: 12px;
    }

    .historie-item-type[b-iy8pfzrsqv] {
        font-size: 0.92rem;
    }

    .historie-item-meta[b-iy8pfzrsqv] {
        font-size: 0.78rem;
    }

    .btn-action[b-iy8pfzrsqv] {
        padding: 0.5rem 0.9rem;
        font-size: 0.82rem;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ── Layout ────────────────────────────────────────────────── */
.home-wrapper[b-wms7422ey3] {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

/* Floating orbs */
.home-orb[b-wms7422ey3] {
    position: absolute;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform, border-radius;
}

.home-orb--1[b-wms7422ey3] {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.18);
    border-radius: 42% 58% 64% 36% / 47% 34% 66% 53%;
    top: -8%;
    right: -6%;
    animation: homeOrb1-b-wms7422ey3 20s ease-in-out infinite, homeOrbMorph1-b-wms7422ey3 12s ease-in-out infinite;
}

.home-orb--2[b-wms7422ey3] {
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, 0.14);
    border-radius: 52% 48% 38% 62% / 60% 40% 56% 44%;
    bottom: -6%;
    left: -4%;
    animation: homeOrb2-b-wms7422ey3 24s ease-in-out infinite, homeOrbMorph2-b-wms7422ey3 14s ease-in-out infinite;
}

@keyframes homeOrb1-b-wms7422ey3 {
    0%        { transform: translate(0, 0) scale(1) rotate(0deg); }
    20%       { transform: translate(-40px, 50px) scale(1.08) rotate(15deg); }
    40%       { transform: translate(20px, 90px) scale(0.95) rotate(-10deg); }
    60%       { transform: translate(-60px, 30px) scale(1.12) rotate(25deg); }
    80%       { transform: translate(10px, -20px) scale(0.98) rotate(-5deg); }
    100%      { transform: translate(0, 0) scale(1) rotate(0deg); }
}

@keyframes homeOrb2-b-wms7422ey3 {
    0%        { transform: translate(0, 0) scale(1) rotate(0deg); }
    25%       { transform: translate(50px, -40px) scale(1.1) rotate(-20deg); }
    50%       { transform: translate(-30px, -70px) scale(0.94) rotate(15deg); }
    75%       { transform: translate(40px, 20px) scale(1.06) rotate(-10deg); }
    100%      { transform: translate(0, 0) scale(1) rotate(0deg); }
}

@keyframes homeOrbMorph1-b-wms7422ey3 {
    0%, 100%  { border-radius: 42% 58% 64% 36% / 47% 34% 66% 53%; }
    25%       { border-radius: 58% 42% 36% 64% / 34% 66% 34% 66%; }
    50%       { border-radius: 36% 64% 52% 48% / 66% 42% 58% 42%; }
    75%       { border-radius: 64% 36% 42% 58% / 52% 58% 42% 48%; }
}

@keyframes homeOrbMorph2-b-wms7422ey3 {
    0%, 100%  { border-radius: 52% 48% 38% 62% / 60% 40% 56% 44%; }
    33%       { border-radius: 38% 62% 56% 44% / 44% 56% 62% 38%; }
    66%       { border-radius: 62% 38% 48% 52% / 38% 62% 44% 56%; }
}

/* ── Header ────────────────────────────────────────────────── */
.home-header[b-wms7422ey3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    position: sticky;
    top: 0;
    z-index: 10;
}

/* ── Logout ────────────────────────────────────────────────── */
.logout-form[b-wms7422ey3] {
    margin: 0;
}

.logout-btn[b-wms7422ey3] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(148, 163, 184, 0.85);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.logout-btn svg[b-wms7422ey3] {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.logout-btn:hover[b-wms7422ey3] {
    background: rgba(220, 38, 38, 0.12);
    color: #fca5a5;
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.brand[b-wms7422ey3] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
}

.brand-icon[b-wms7422ey3] {
    width: 1.9rem;
    height: 1.9rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.3));
}

.brand-name[b-wms7422ey3] {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.025em;
}

/* ── Main ──────────────────────────────────────────────────── */
.home-main[b-wms7422ey3] {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero[b-wms7422ey3] {
    text-align: center;
    margin-bottom: 3.5rem;
}

.hero-badge[b-wms7422ey3] {
    display: inline-flex;
    align-items: center;
    background: rgba(59, 130, 246, 0.12);
    color: var(--blue-500);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 1.5rem;
}

.hero-title[b-wms7422ey3] {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin: 0 0 1rem;
}

.hero-subtitle[b-wms7422ey3] {
    font-size: 1rem;
    color: rgba(148, 163, 184, 0.85);
    margin: 0;
    line-height: 1.6;
}

/* ── Action Grid ───────────────────────────────────────────── */
.action-grid[b-wms7422ey3] {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 320px));
    gap: 0.875rem;
    justify-content: center;
}

@media (max-width: 580px) {
    .action-grid[b-wms7422ey3] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .home-header[b-wms7422ey3] {
        padding: 0.9rem 1rem;
    }

    .home-main[b-wms7422ey3] {
        padding: 3rem 1rem 2.5rem;
    }

    .hero[b-wms7422ey3] {
        margin-bottom: 2rem;
    }

    .hero-subtitle[b-wms7422ey3] {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .home-header[b-wms7422ey3] {
        padding: 0.75rem 0.85rem;
    }

    .home-main[b-wms7422ey3] {
        padding: 2rem 0.75rem 2rem;
    }

    .hero[b-wms7422ey3] {
        margin-bottom: 1.5rem;
    }

    .hero-badge[b-wms7422ey3] {
        font-size: 0.7rem;
        padding: 0.25rem 0.75rem;
    }

    .action-card[b-wms7422ey3] {
        padding: 1rem 1.1rem;
        border-radius: 14px;
    }

    .action-content h2[b-wms7422ey3] {
        font-size: 0.88rem;
    }

    .action-content p[b-wms7422ey3] {
        font-size: 0.76rem;
    }

    .logout-btn[b-wms7422ey3] {
        font-size: 0.78rem;
        padding: 0.4rem 0.8rem;
    }

    .home-orb--1[b-wms7422ey3] {
        width: 250px;
        height: 250px;
    }

    .home-orb--2[b-wms7422ey3] {
        width: 200px;
        height: 200px;
    }
}

/* ── Action Card ───────────────────────────────────────────── */
.action-card[b-wms7422ey3] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.4rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
}

.action-card:hover[b-wms7422ey3] {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-3px);
}

.action-card:active[b-wms7422ey3] {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* ── Background Icon ─────────────────────────────────────────────── */
.action-bg-icon[b-wms7422ey3] {
    position: absolute;
    right: -1.5rem;
    bottom: -1.5rem;
    width: 6.5rem;
    height: 6.5rem;
    color: rgba(59, 130, 246, 0.08);
    pointer-events: none;
    transition: transform 0.3s ease, color 0.3s ease;
    z-index: 0;
}

    .action-bg-icon svg[b-wms7422ey3] {
        width: 100%;
        height: 100%;
    }

.action-card:hover .action-bg-icon[b-wms7422ey3] {
    transform: scale(1.1) rotate(-8deg);
    color: rgba(59, 130, 246, 0.15);
}

/* ── Card Content ──────────────────────────────────────────── */
.action-content[b-wms7422ey3] {
    flex: 1;
    min-width: 0;
    z-index: 1;
}

    .action-content h2[b-wms7422ey3] {
        font-size: 0.925rem;
        font-weight: 700;
        color: #f1f5f9;
        margin: 0 0 0.2rem;
        letter-spacing: -0.02em;
    }

    .action-content p[b-wms7422ey3] {
        font-size: 0.8rem;
        color: rgba(148, 163, 184, 0.7);
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* ── Arrow ─────────────────────────────────────────────────── */
.action-arrow[b-wms7422ey3] {
    flex-shrink: 0;
    color: rgba(59, 130, 246, 0.35);
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 1;
}

    .action-arrow svg[b-wms7422ey3] {
        width: 1.1rem;
        height: 1.1rem;
        display: block;
    }

.action-card:hover .action-arrow[b-wms7422ey3] {
    color: var(--blue-500);
    transform: translateX(3px);
}

/* ── Footer ────────────────────────────────────────────────── */
.home-footer[b-wms7422ey3] {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.78rem;
    color: rgba(148, 163, 184, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
/* /Components/Pages/Kundenverwaltung.razor.rz.scp.css */
.kunden-content[b-eptgsklacw] {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    border-radius: 22px;
    box-shadow: var(--shadow-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 2rem 2.5rem;
}

.form-section[b-eptgsklacw] {
    margin-bottom: 2.2rem;
}

.form-section-title[b-eptgsklacw] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.6rem;
    letter-spacing: -0.015em;
}

.form-actions[b-eptgsklacw] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.btn-primary[b-eptgsklacw] {
    background: var(--blue-600);
    color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    letter-spacing: 0.01em;
}

.btn-primary:hover[b-eptgsklacw] {
    background: var(--blue-700);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.btn-primary:active[b-eptgsklacw] {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.success-message[b-eptgsklacw] {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #86efac;
    border-radius: 14px;
    font-weight: 500;
    text-align: center;
}

.historie-section[b-eptgsklacw] {
    margin-top: 3.5rem;
}

.historie-title[b-eptgsklacw] {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.historie-list[b-eptgsklacw] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.historie-item[b-eptgsklacw] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.historie-item:hover[b-eptgsklacw] {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.historie-item-info[b-eptgsklacw] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.historie-item-type[b-eptgsklacw] {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.historie-item-meta[b-eptgsklacw] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    align-items: center;
}

.historie-amount[b-eptgsklacw] {
    font-weight: 600;
    color: var(--text-primary);
}

.historie-item-actions[b-eptgsklacw] {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.btn-sm[b-eptgsklacw] {
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
    border-radius: 8px;
}

.btn-action[b-eptgsklacw] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--blue-500);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-action:hover[b-eptgsklacw] {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.45);
}

.btn-delete-pos[b-eptgsklacw] {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: none;
    border-radius: 10px;
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-bottom: 0;
}

.btn-delete-pos:hover[b-eptgsklacw] {
    background: rgba(239, 68, 68, 0.15);
    transform: translateY(-1px);
}

.main-content[b-eptgsklacw] {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    border-radius: 22px;
    box-shadow: var(--shadow-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

@media (max-width: 640px) {
    .historie-item-actions[b-eptgsklacw] {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .kunden-content[b-eptgsklacw] {
        padding: 1.2rem 1rem;
        border-radius: 16px;
    }

    .form-section-title[b-eptgsklacw] {
        font-size: 0.95rem;
    }

    .historie-title[b-eptgsklacw] {
        font-size: 1.25rem;
    }

    .historie-item[b-eptgsklacw] {
        padding: 0.85rem;
        gap: 0.75rem;
        border-radius: 12px;
    }

    .historie-item-type[b-eptgsklacw] {
        font-size: 0.92rem;
    }

    .historie-item-meta[b-eptgsklacw] {
        font-size: 0.78rem;
    }

    .btn-action[b-eptgsklacw] {
        padding: 0.5rem 0.9rem;
        font-size: 0.82rem;
    }

    .form-actions[b-eptgsklacw] {
        justify-content: stretch;
    }

    .form-actions .btn-primary[b-eptgsklacw] {
        width: 100%;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* -- Background ---------------------------------------------- */
.login-wrapper[b-6ywz8eop27] {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

/* Floating gradient orbs */
.login-orb[b-6ywz8eop27] {
    position: absolute;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform, border-radius;
}

.login-orb--1[b-6ywz8eop27] {
    width: 420px;
    height: 420px;
    background: rgba(59, 130, 246, 0.25);
    border-radius: 42% 58% 64% 36% / 47% 34% 66% 53%;
    top: -10%;
    right: -8%;
    animation: loginDrift1-b-6ywz8eop27 22s ease-in-out infinite, loginMorph1-b-6ywz8eop27 13s ease-in-out infinite;
}

.login-orb--2[b-6ywz8eop27] {
    width: 340px;
    height: 340px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 52% 48% 38% 62% / 60% 40% 56% 44%;
    bottom: -8%;
    left: -6%;
    animation: loginDrift2-b-6ywz8eop27 26s ease-in-out infinite, loginMorph2-b-6ywz8eop27 15s ease-in-out infinite;
}

.login-orb--3[b-6ywz8eop27] {
    width: 200px;
    height: 200px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 38% 62% 56% 44% / 44% 56% 62% 38%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: loginDrift3-b-6ywz8eop27 18s ease-in-out infinite, loginMorph3-b-6ywz8eop27 10s ease-in-out infinite;
}

@keyframes loginDrift1-b-6ywz8eop27 {
    0%        { transform: translate(0, 0) scale(1) rotate(0deg); }
    16%       { transform: translate(-50px, 40px) scale(1.1) rotate(12deg); }
    33%       { transform: translate(10px, 80px) scale(0.94) rotate(-8deg); }
    50%       { transform: translate(-70px, 20px) scale(1.14) rotate(20deg); }
    66%       { transform: translate(-20px, -30px) scale(0.97) rotate(-15deg); }
    83%       { transform: translate(30px, 10px) scale(1.05) rotate(6deg); }
    100%      { transform: translate(0, 0) scale(1) rotate(0deg); }
}

@keyframes loginDrift2-b-6ywz8eop27 {
    0%        { transform: translate(0, 0) scale(1) rotate(0deg); }
    20%       { transform: translate(60px, -30px) scale(1.08) rotate(-18deg); }
    40%       { transform: translate(-20px, -80px) scale(0.92) rotate(12deg); }
    60%       { transform: translate(50px, -10px) scale(1.1) rotate(-8deg); }
    80%       { transform: translate(-10px, 40px) scale(0.96) rotate(20deg); }
    100%      { transform: translate(0, 0) scale(1) rotate(0deg); }
}

@keyframes loginDrift3-b-6ywz8eop27 {
    0%        { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    25%       { transform: translate(-55%, -45%) scale(1.18) rotate(-15deg); }
    50%       { transform: translate(-45%, -58%) scale(0.9) rotate(10deg); }
    75%       { transform: translate(-52%, -48%) scale(1.12) rotate(-8deg); }
    100%      { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}

@keyframes loginMorph1-b-6ywz8eop27 {
    0%, 100%  { border-radius: 42% 58% 64% 36% / 47% 34% 66% 53%; }
    25%       { border-radius: 58% 42% 36% 64% / 34% 66% 34% 66%; }
    50%       { border-radius: 36% 64% 52% 48% / 66% 42% 58% 42%; }
    75%       { border-radius: 64% 36% 42% 58% / 52% 58% 42% 48%; }
}

@keyframes loginMorph2-b-6ywz8eop27 {
    0%, 100%  { border-radius: 52% 48% 38% 62% / 60% 40% 56% 44%; }
    33%       { border-radius: 38% 62% 56% 44% / 44% 56% 62% 38%; }
    66%       { border-radius: 62% 38% 48% 52% / 38% 62% 44% 56%; }
}

@keyframes loginMorph3-b-6ywz8eop27 {
    0%, 100%  { border-radius: 38% 62% 56% 44% / 44% 56% 62% 38%; }
    50%       { border-radius: 62% 38% 44% 56% / 56% 44% 38% 62%; }
}

/* -- Glass Card ---------------------------------------------- */
.login-card[b-6ywz8eop27] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.06) inset;
    padding: 2.75rem 2.25rem 2.25rem;
    text-align: center;
    animation: loginCardIn-b-6ywz8eop27 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes loginCardIn-b-6ywz8eop27 {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* -- Brand --------------------------------------------------- */
.login-brand[b-6ywz8eop27] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.login-brand-icon[b-6ywz8eop27] {
    width: auto;
    height: 2.2rem;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.35));
}

.login-brand-name[b-6ywz8eop27] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

/* -- Typography ---------------------------------------------- */
.login-title[b-6ywz8eop27] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.login-subtitle[b-6ywz8eop27] {
    font-size: 0.92rem;
    color: rgba(148, 163, 184, 0.85);
    margin: 0 0 1.75rem;
}

/* -- Error --------------------------------------------------- */
.login-error[b-6ywz8eop27] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 38, 38, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
    text-align: left;
    backdrop-filter: blur(8px);
}

    .login-error svg[b-6ywz8eop27] {
        flex-shrink: 0;
    }

/* -- Form ---------------------------------------------------- */
.login-form[b-6ywz8eop27] {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    text-align: left;
}

.login-field label[b-6ywz8eop27] {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(203, 213, 225, 0.9);
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.login-field input[b-6ywz8eop27] {
    width: 100%;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    font-size: 0.95rem;
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    outline: none;
}

    .login-field input:focus[b-6ywz8eop27] {
        border-color: rgba(59, 130, 246, 0.55);
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 0 20px rgba(59, 130, 246, 0.08);
        background: rgba(255, 255, 255, 0.1);
    }

    .login-field input[b-6ywz8eop27]::placeholder {
        color: rgba(148, 163, 184, 0.5);
    }

/* -- Button -------------------------------------------------- */
.login-btn[b-6ywz8eop27] {
    width: 100%;
    padding: 0.78rem 1.25rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 60%, #1d4ed8 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.4rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35), 0 0 0 1px rgba(59, 130, 246, 0.2) inset;
}

    .login-btn[b-6ywz8eop27]::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 50%);
        border-radius: inherit;
        pointer-events: none;
    }

    .login-btn:hover[b-6ywz8eop27] {
        transform: translateY(-1px);
        box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45), 0 0 0 1px rgba(59, 130, 246, 0.3) inset;
    }

    .login-btn:active[b-6ywz8eop27] {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    }

/* -- Divider ------------------------------------------------- */
.login-divider[b-6ywz8eop27] {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 225, 0.25), transparent);
    margin: 0 auto 1.5rem;
}

/* -- Footer -------------------------------------------------- */
.login-footer[b-6ywz8eop27] {
    position: relative;
    z-index: 1;
    margin-top: 2.5rem;
    font-size: 0.78rem;
    color: rgba(148, 163, 184, 0.45);
}

/* -- Mobile -------------------------------------------------- */
@media (max-width: 480px) {
    .login-card[b-6ywz8eop27] {
        padding: 2rem 1.5rem 1.75rem;
        border-radius: 20px;
    }

    .login-orb--1[b-6ywz8eop27] { width: 260px; height: 260px; }
    .login-orb--2[b-6ywz8eop27] { width: 200px; height: 200px; }
    .login-orb--3[b-6ywz8eop27] { width: 120px; height: 120px; }
}
/* /Components/Pages/QrCode.razor.rz.scp.css */
/* ── Two-column panel ──────────────────────────────────────── */
.qr-panel[b-txy5x3elhl] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: start;
}

@media (max-width: 680px) {
    .qr-panel[b-txy5x3elhl] {
        grid-template-columns: 1fr;
    }
}

/* ── Form ──────────────────────────────────────────────────── */
.qr-form[b-txy5x3elhl] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── Field ─────────────────────────────────────────────────── */
.field[b-txy5x3elhl] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.field-label[b-txy5x3elhl] {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(203, 213, 225, 0.9);
    letter-spacing: -0.005em;
}

.field-optional[b-txy5x3elhl] {
    font-weight: 400;
    color: var(--text-muted);
}

.field-input[b-txy5x3elhl] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: var(--bg-input);
    resize: vertical;
    outline: none;
    backdrop-filter: blur(6px);
    transition: border-color 0.25s, box-shadow 0.25s;
    line-height: 1.55;
}

    .field-input:focus[b-txy5x3elhl] {
        border-color: var(--border-focus);
        box-shadow: var(--shadow-glow);
    }

    .field-input--error[b-txy5x3elhl] {
        border-color: rgba(239, 68, 68, 0.5);
    }

    .field-input--error:focus[b-txy5x3elhl] {
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
    }

.field-error[b-txy5x3elhl] {
    font-size: 0.8rem;
    color: #fca5a5;
}

/* ── Upload area ───────────────────────────────────────────── */
.upload-area[b-txy5x3elhl] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border: 1.5px dashed var(--border-glass);
    border-radius: 10px;
    background: var(--bg-input);
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
    position: relative;
    overflow: hidden;
}

    .upload-area:hover[b-txy5x3elhl] {
        border-color: rgba(59, 130, 246, 0.4);
        background: rgba(59, 130, 246, 0.06);
    }

    .upload-area--filled[b-txy5x3elhl] {
        border-style: solid;
        border-color: rgba(59, 130, 246, 0.25);
        background: rgba(59, 130, 246, 0.06);
    }

.upload-input[b-txy5x3elhl] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.upload-icon[b-txy5x3elhl] {
    width: 1.4rem;
    height: 1.4rem;
    flex-shrink: 0;
    color: var(--text-muted);
}

    .upload-icon--check[b-txy5x3elhl] {
        color: var(--blue-500);
    }

.upload-text[b-txy5x3elhl] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.upload-hint[b-txy5x3elhl] {
    font-size: 0.775rem;
    color: var(--text-muted);
    margin-left: auto;
}

.upload-filename[b-txy5x3elhl] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--blue-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.upload-clear[b-txy5x3elhl] {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0.15rem;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
    position: relative;
    z-index: 1;
}

    .upload-clear:hover[b-txy5x3elhl] {
        color: #fca5a5;
        background: rgba(220, 38, 38, 0.12);
    }

    .upload-clear svg[b-txy5x3elhl] {
        width: 1rem;
        height: 1rem;
    }

/* ── Generate button ───────────────────────────────────────── */
.btn-generate[b-txy5x3elhl] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.5rem;
    background: var(--blue-600);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.925rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    letter-spacing: -0.01em;
}

    .btn-generate svg[b-txy5x3elhl] {
        width: 1.1rem;
        height: 1.1rem;
        flex-shrink: 0;
    }

    .btn-generate:hover:not(:disabled)[b-txy5x3elhl] {
        background: var(--blue-700);
        box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
        transform: translateY(-1px);
    }

    .btn-generate:active:not(:disabled)[b-txy5x3elhl] {
        transform: translateY(0);
        box-shadow: none;
    }

    .btn-generate:disabled[b-txy5x3elhl] {
        opacity: 0.65;
        cursor: not-allowed;
    }

/* ── Spinner ───────────────────────────────────────────────── */
.btn-spinner[b-txy5x3elhl] {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-txy5x3elhl 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes spin-b-txy5x3elhl {
    to { transform: rotate(360deg); }
}

/* ── Error alert ───────────────────────────────────────────── */
.alert-error[b-txy5x3elhl] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 10px;
    font-size: 0.85rem;
    color: #fca5a5;
    line-height: 1.5;
}

    .alert-error svg[b-txy5x3elhl] {
        width: 1rem;
        height: 1rem;
        flex-shrink: 0;
        margin-top: 0.1rem;
    }

/* ── Preview ───────────────────────────────────────────────── */
.qr-preview[b-txy5x3elhl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.preview-frame[b-txy5x3elhl] {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.preview-image[b-txy5x3elhl] {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    image-rendering: pixelated;
    border-radius: 4px;
}

/* ── Download button ───────────────────────────────────────── */
.btn-download[b-txy5x3elhl] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    background: rgba(59, 130, 246, 0.12);
    color: var(--blue-500);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
    letter-spacing: -0.01em;
}

    .btn-download svg[b-txy5x3elhl] {
        width: 1rem;
        height: 1rem;
        flex-shrink: 0;
    }

    .btn-download:hover[b-txy5x3elhl] {
        background: rgba(59, 130, 246, 0.18);
        border-color: rgba(59, 130, 246, 0.35);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    }

/* ── Placeholder ───────────────────────────────────────────── */
.preview-placeholder[b-txy5x3elhl] {
    width: 100%;
    min-height: 280px;
    background: var(--bg-surface);
    border: 1.5px dashed var(--border-glass);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
}

    .preview-placeholder svg[b-txy5x3elhl] {
        width: 4rem;
        height: 4rem;
    }

    .preview-placeholder p[b-txy5x3elhl] {
        margin: 0;
        font-size: 0.875rem;
        color: var(--text-muted);
    }

@media (max-width: 480px) {
    .preview-frame[b-txy5x3elhl] {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .preview-placeholder[b-txy5x3elhl] {
        min-height: 200px;
        border-radius: 12px;
    }

    .btn-generate[b-txy5x3elhl] {
        padding: 0.75rem 1.2rem;
        font-size: 0.88rem;
        border-radius: 10px;
    }

    .btn-download[b-txy5x3elhl] {
        padding: 0.65rem 1.1rem;
        font-size: 0.85rem;
    }

    .upload-area[b-txy5x3elhl] {
        padding: 0.85rem 0.9rem;
    }

    .upload-text[b-txy5x3elhl] {
        font-size: 0.82rem;
    }

    .upload-hint[b-txy5x3elhl] {
        font-size: 0.72rem;
    }
}
