/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-34s1vs0et9] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-34s1vs0et9] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-a1f4o3jsma],
.components-reconnect-repeated-attempt-visible[b-a1f4o3jsma],
.components-reconnect-failed-visible[b-a1f4o3jsma],
.components-pause-visible[b-a1f4o3jsma],
.components-resume-failed-visible[b-a1f4o3jsma],
.components-rejoining-animation[b-a1f4o3jsma] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-a1f4o3jsma],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-a1f4o3jsma],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-a1f4o3jsma],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-a1f4o3jsma],
#components-reconnect-modal.components-reconnect-retrying[b-a1f4o3jsma],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-a1f4o3jsma],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-a1f4o3jsma],
#components-reconnect-modal.components-reconnect-failed[b-a1f4o3jsma],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-a1f4o3jsma] {
    display: block;
}


#components-reconnect-modal[b-a1f4o3jsma] {
    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-a1f4o3jsma 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-a1f4o3jsma 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-a1f4o3jsma 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-a1f4o3jsma]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-a1f4o3jsma 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-a1f4o3jsma {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-a1f4o3jsma {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-a1f4o3jsma {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-a1f4o3jsma] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-a1f4o3jsma] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-a1f4o3jsma] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-a1f4o3jsma] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-a1f4o3jsma] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-a1f4o3jsma] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-a1f4o3jsma] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-a1f4o3jsma 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-a1f4o3jsma] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-a1f4o3jsma {
    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/Login.razor.rz.scp.css */
.login-container[b-m0dvef49fb] {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #0f172a; /* Глубокий темно-синий фон */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 0;
    width:100vw;
}

.login-card[b-m0dvef49fb] {
    background-color: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform:translateY(-60px);
}

.login-header[b-m0dvef49fb] {
    text-align: center;
    margin-bottom: 30px;
}

    .login-header h2[b-m0dvef49fb] {
        color: #1e293b;
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .login-header p[b-m0dvef49fb] {
        color: #64748b;
        font-size: 14px;
    }

/* Формы */
.form-group[b-m0dvef49fb] {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label[b-m0dvef49fb] {
    font-size: 16px;
    font-weight: 500;
    color: #475569;
}
.form-input[b-m0dvef49fb], .form-group input[b-m0dvef49fb] {
    width: 100%;
    padding: 10px 14px !important;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 19px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .form-input:focus[b-m0dvef49fb] {
        outline: none;
        border-color: #0284c7;
        box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
    }

/* Ошибки валидации */
.validation-error[b-m0dvef49fb] {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
}

.alert[b-m0dvef49fb] {
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
}

.alert-danger[b-m0dvef49fb] {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Чекбокс и ссылки */
.form-actions[b-m0dvef49fb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 13px;
}

.remember-me[b-m0dvef49fb] {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #475569;
}

.forgot-link[b-m0dvef49fb] {
    color: #0284c7;
    text-decoration: none;
}

    .forgot-link:hover[b-m0dvef49fb] {
        text-decoration: underline;
    }

/* Кнопка отправки */
.btn-submit[b-m0dvef49fb] {
    width: 100%;
    background-color: #0284c7;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

    .btn-submit:hover[b-m0dvef49fb] {
        background-color: #0369a1;
    }

    .btn-submit:disabled[b-m0dvef49fb] {
        background-color: #94a3b8;
        cursor: not-allowed;
    }

/* Анимация загрузки (Spinner) */
.spinner[b-m0dvef49fb] {
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: rotation-b-m0dvef49fb 1s linear infinite;
}

@keyframes rotation-b-m0dvef49fb {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
