.auth-login-page {
    padding: 2.5rem 1rem;
}

.auth-login-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid #e3e7ed;
    border-radius: 1rem;
    box-shadow: 0 1rem 2.5rem rgba(32, 44, 64, .1);
}

.auth-login-header {
    max-width: 610px;
    margin: 0 auto 2rem;
    text-align: center;
}

.auth-login-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
    background: #345995;
    border-radius: 50%;
    font-size: 1.35rem;
}

.auth-login-title {
    margin: 0 0 .65rem;
    color: #202c40;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.auth-login-description {
    margin: 0;
    color: #687386;
    font-size: 1rem;
    line-height: 1.55;
}

.auth-login-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    max-width: 650px;
    margin: 0 auto;
}

.auth-provider {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) 1rem;
    gap: .85rem;
    align-items: center;
    min-height: 4.5rem;
    padding: .75rem 1rem;
    color: #202c40;
    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: .75rem;
    text-align: left;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.auth-provider:hover {
    color: #202c40;
    border-color: #9cabc0;
    box-shadow: 0 .4rem 1rem rgba(32, 44, 64, .11);
    text-decoration: none;
    transform: translateY(-1px);
}

.auth-provider:focus {
    color: #202c40;
    border-color: #345995;
    box-shadow: 0 0 0 .2rem rgba(52, 89, 149, .2);
    outline: 0;
    text-decoration: none;
}

.auth-provider__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    color: #345995;
    background: #f2f5f9;
    border-radius: .65rem;
    font-size: 1.3rem;
}

.auth-provider__content {
    min-width: 0;
}

.auth-provider__label,
.auth-provider__hint {
    display: block;
}

.auth-provider__label {
    color: #202c40;
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.25;
}

.auth-provider__hint {
    margin-top: .2rem;
    color: #778297;
    font-size: .78rem;
    line-height: 1.25;
}

.auth-provider__arrow {
    color: #a5adba;
    font-size: .75rem;
    text-align: right;
}

.auth-provider--vk .auth-provider__icon {
    color: #0077ff;
    background: #edf5ff;
}

.auth-provider--yandex .auth-provider__icon {
    color: #fc3f1d;
    background: #fff1ee;
}

.auth-provider--google .auth-provider__icon {
    color: #4285f4;
    background: #eef4ff;
}

.auth-provider--joinrpg .auth-provider__icon {
    color: #6f42c1;
    background: #f4effc;
}

@media (max-width: 767.98px) {
    .auth-login-page {
        padding: 1.5rem .75rem;
    }

    .auth-login-card {
        padding: 2rem 1.25rem;
    }

    .auth-login-services {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 359.98px) {
    .auth-login-card {
        padding: 1.5rem .85rem;
    }

    .auth-login-title {
        font-size: 1.65rem;
    }

    .auth-provider {
        grid-template-columns: 2.5rem minmax(0, 1fr);
        gap: .7rem;
        padding: .7rem .8rem;
    }

    .auth-provider__icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .auth-provider__arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-provider {
        transition: none;
    }
}
