:root {

    --auth-app-color: #fff;


    --auth-context-btn-bg: #212121;
    --auth-context-btn-color: #e5e5e5;
    --auth-context-btn-hover: #363535;

    --auth-context-btn-bg-active: #fff;
    --auth-context-btn-active-color: #000;

}


.auth-app {
    height: 100svh;
    width: 100%;
    color: var(--auth-app-color);
    background-image: url('/resources/images/svg/forbg.svg');
    background-repeat: no-repeat;
    background-size: cover; /* или contain, в зависимости от задачи */
    background-position: center;
}


.auth-app-container {
    width: 100%;
    max-width: 380px;
    background-color: var(--surface-secondary);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, .05);
    overflow-x: hidden;
    border-radius: 1.5rem;
    padding: 2.3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.auth-app-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-app-title {
    color: #fff;
    font-size: clamp(1.125rem, 1.5vw + 0.875rem, 1.3rem);
    line-height: 1.3;
    letter-spacing: -0.2px;
    font-weight: 600;
}

.auth-app-info {
    line-height: 1.4;
    color: var(--text-muted-500);
    font-size: 0.9rem;
    letter-spacing: -0.25px;
}


.auth-context {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    background-color: var(--surface-secondary);
}

.auth-context-btn {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    color: var(--auth-context-btn-color);
    background-color: var(--auth-context-btn-bg);
    font-weight: 500;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
}



.auth-context-btn:hover {
    background-color: var(--auth-context-btn-hover);
    color: var(--auth-context-btn-color);
}

.auth-context-btn.active {
    background-color: var(--auth-context-btn-bg-active);
    color: var(--auth-context-btn-active-color);
}


.auth-container {
    padding: 3rem 0;
    overflow-x: auto;
}
.auth-container-blur {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.auth-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1.75rem;
}

.auth-logo {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}
.auth-logo a {
    color: #fff;
}


.auth-content--sm {
    width: 100%;
    max-width: none;
}

/* ===== Для экранов >= 992px ===== */
@media (min-width: 992px) {
    .auth-container {
        height: 100svh;
    }

    .auth-content--sm {
        width: 30rem;
    }
}

.auth-info {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-muted-500);
    max-width: 85%;
}


.toast-cont {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 8;
    top: 1rem;
    right: 1rem;
}