/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-2474p3g3cj],
.components-reconnect-repeated-attempt-visible[b-2474p3g3cj],
.components-reconnect-failed-visible[b-2474p3g3cj],
.components-pause-visible[b-2474p3g3cj],
.components-resume-failed-visible[b-2474p3g3cj],
.components-rejoining-animation[b-2474p3g3cj] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-2474p3g3cj],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-2474p3g3cj],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-2474p3g3cj],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-2474p3g3cj],
#components-reconnect-modal.components-reconnect-retrying[b-2474p3g3cj],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-2474p3g3cj],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-2474p3g3cj],
#components-reconnect-modal.components-reconnect-failed[b-2474p3g3cj],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-2474p3g3cj] {
    display: block;
}


#components-reconnect-modal[b-2474p3g3cj] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-2474p3g3cj 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-2474p3g3cj 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-2474p3g3cj 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-2474p3g3cj]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-2474p3g3cj 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-2474p3g3cj {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-2474p3g3cj {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-2474p3g3cj {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-2474p3g3cj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-2474p3g3cj] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-2474p3g3cj] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-2474p3g3cj] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-2474p3g3cj] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-2474p3g3cj] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-2474p3g3cj] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-2474p3g3cj 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-2474p3g3cj] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-2474p3g3cj {
    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/Account/Login.razor.rz.scp.css */
/* ══════════════════════════════════════
   Login-Screen — Scoped CSS
   Spec: docs/superpowers/specs/2026-03-14-login-screen-redesign-design.md
   ══════════════════════════════════════ */

/* ── Variablen (auf .login-page, nicht :root) ── */
.login-page[b-ichgofj3xl] {
    --login-bg-deep:      #0D3347;
    --login-bg-mid:       #124560;
    --login-wave1:        rgba(30, 95, 120, 0.35);
    --login-wave2:        rgba(46, 127, 160, 0.25);
    --login-wave3:        rgba(13, 79, 110, 0.55);
    --login-copper:       var(--ek-kupfer, #C4622D);
    --login-copper-hover: var(--ek-kupfer-hell, #D4845A);
    --login-text-muted:   #8A9BAA;

    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    background-color: var(--login-bg-deep);
}

/* ── Hintergrund-Scene ── */
.bg-scene[b-ichgofj3xl] {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-scene[b-ichgofj3xl]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(175deg, #0a2a3f 0%, #0D3347 40%, #124560 70%, #1a5878 100%);
}

/* Kupfer-Lichtschimmer */
.shimmer[b-ichgofj3xl] {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(196, 98, 45, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* Hafen-Silhouette */
.skyline[b-ichgofj3xl] {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0.12;
}

/* ── Animierte Wellen ── */
.waves-wrap[b-ichgofj3xl] {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.wave[b-ichgofj3xl] {
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 180px;
    border-radius: 50% 50% 0 0;
    animation: waveroll-b-ichgofj3xl linear infinite;
}

.wave-1[b-ichgofj3xl] {
    background: var(--login-wave1);
    animation-duration: 10s;
    height: 140px;
    bottom: 30px;
}

.wave-2[b-ichgofj3xl] {
    background: var(--login-wave2);
    animation-duration: 14s;
    animation-direction: reverse;
    height: 120px;
    bottom: 10px;
}

.wave-3[b-ichgofj3xl] {
    background: var(--login-wave3);
    animation-duration: 8s;
    height: 100px;
    bottom: 0;
}

@keyframes waveroll-b-ichgofj3xl {
    0%   { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* ── Dekorative Kupfer-Kreise ── */
.deco-dot[b-ichgofj3xl] {
    position: fixed;
    border-radius: 50%;
    background: var(--login-copper);
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}

.d1[b-ichgofj3xl] { width: 300px; height: 300px; top: -80px; right: -80px; }
.d2[b-ichgofj3xl] { width: 180px; height: 180px; bottom: 80px; left: -60px; }
.d3[b-ichgofj3xl] { width: 80px;  height: 80px;  top: 40%;  right: 12%; }

/* ── Login Card Container ── */
.login-wrap[b-ichgofj3xl] {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    padding: 1.5rem;
    animation: fadeUp-b-ichgofj3xl 0.6s ease both;
}

@keyframes fadeUp-b-ichgofj3xl {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Login Card ── */
.login-card[b-ichgofj3xl] {
    background: var(--login-bg-deep);
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.login-card-header[b-ichgofj3xl] {
    background: var(--login-bg-deep);
    border-bottom: 3px solid var(--login-copper);
    padding: 2rem 2rem 1.75rem;
    text-align: center;
}

.logo-img[b-ichgofj3xl] {
    width: 130px;
    height: auto;
    display: block;
    margin: 0 auto 0.5rem;
}

.login-card-header p[b-ichgofj3xl] {
    color: var(--login-text-muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.4rem;
    margin-bottom: 0;
}

.login-card-body[b-ichgofj3xl] {
    padding: 2rem 2rem 1.5rem;
    background: #ffffff;
}

/* ── Formular-Elemente ── */
.form-group[b-ichgofj3xl] {
    margin-bottom: 1.1rem;
}

.form-group > label[b-ichgofj3xl] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #5a6470;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.input-wrap[b-ichgofj3xl] {
    position: relative;
}

.input-icon[b-ichgofj3xl] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0bec5;
    display: flex;
    align-items: center;
}

.form-group input[type="email"][b-ichgofj3xl],
.form-group input[type="password"][b-ichgofj3xl] {
    width: 100%;
    padding: 0.6rem 0.75rem 0.6rem 2.4rem;
    border: 1px solid #dce3ea;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    color: #2d3a45;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus[b-ichgofj3xl] {
    border-color: var(--ek-elb-blau, #2E7FA0);
    box-shadow: 0 0 0 3px rgba(42, 141, 181, 0.12);
    background: #fff;
}

/* Zeile: Checkbox + Passwort vergessen */
.row-between[b-ichgofj3xl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.check-label[b-ichgofj3xl] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7a89;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.check-label input[type="checkbox"][b-ichgofj3xl] {
    accent-color: var(--ek-elb-blau, #2E7FA0);
    width: 14px;
    height: 14px;
    color-scheme: light;
}

.forgot[b-ichgofj3xl] {
    font-size: 12px;
    color: var(--ek-elb-blau, #2E7FA0);
    text-decoration: none;
    transition: color 0.2s;
}

.forgot:hover[b-ichgofj3xl] {
    color: var(--ek-elb-dunkel, #1E5F78);
}

/* Anmelden-Button */
.btn-login[b-ichgofj3xl] {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: var(--login-copper);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-login:hover[b-ichgofj3xl] {
    background: var(--login-copper-hover);
}

.btn-login:active[b-ichgofj3xl] {
    transform: scale(0.98);
}

/* Fehler-Alert */
.login-alert[b-ichgofj3xl] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
    color: #991b1b;
    font-size: 13px;
}

.login-alert svg[b-ichgofj3xl] {
    flex-shrink: 0;
}

/* Copyright */
.copyright[b-ichgofj3xl] {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.04em;
}

/* ── Accessibility: Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    .wave[b-ichgofj3xl] {
        animation: none;
    }

    .login-wrap[b-ichgofj3xl] {
        animation: none;
    }
}

/* ── Responsive: Mobile ── */
@media (max-width: 420px) {
    .login-wrap[b-ichgofj3xl] {
        padding: 1rem;
    }

    .logo-img[b-ichgofj3xl] {
        width: 100px;
    }

    .waves-wrap[b-ichgofj3xl] {
        height: 150px;
    }

    .shimmer[b-ichgofj3xl],
    .deco-dot[b-ichgofj3xl] {
        display: none;
    }
}
