.social-auth {
    display: grid;
    gap: 10px;
    margin: 0 auto;
}
.social-auth--3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 360px;
}
.social-auth--2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 260px;
}
.social-auth--1 {
    grid-template-columns: 1fr;
    max-width: 140px;
}
.social-auth--4 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 460px;
}
.social-auth-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: box-shadow .15s ease, transform .15s ease;
}
.social-auth-btn:hover,
.social-auth-btn:focus {
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.18);
    transform: translateY(-2px);
}
.social-auth-icon {
    display: inline-flex;
    line-height: 0;
}
.social-auth-btn--google {
    background: #fff;
    color: #3c4043 !important;
    border-color: #dadce0;
}
.social-auth-btn--vk {
    background: #0077ff;
    color: #fff !important;
}
.social-auth-btn--vk:hover { background: #0066dd; }
.social-auth-btn--apple {
    background: #000;
    color: #fff !important;
}
.social-auth-btn--apple:hover { background: #222; }
.social-auth-tg {
    background: #29a9eb;
    color: #fff !important;
}
.social-auth-tg:hover { background: #1e93d4; }

@media (max-width: 480px) {
    .social-auth--3,
    .social-auth--4 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 260px;
    }
    .social-auth--3 > :last-child {
        grid-column: 1 / span 2;
    }
}
