#modal-login {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-login-content {
    position: relative;
    width: 500px;
    background: var(--modal-login-background);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.modal-login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-login-title {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--modal-login-text-title);
}

.modal-login-subtitle {
    font-size: 16px;
    font-weight: 400;
    margin-top: 20px;
    color: var(--modal-login-text-title);
}

.modal-login-buttons {
    margin: 30px 30px 30px 30px;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}

.modal-login-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    padding: 12px 5px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

    .modal-login-buttons a.vk {
        color: var(--modal-login-text-button-vk);
        background-color: var(--modal-login-background-vk);
    }

    .modal-login-buttons a.vk:hover {
        color: var(--modal-login-text-button-vk);
        background-color: var(--modal-login-background-vk-hover);
    }

    .modal-login-buttons a.google {
        color: var(--modal-login-text-button-google);
        background-color: var(--modal-login-background-google);
    }

    .modal-login-buttons a.google:hover {
        color: var(--modal-login-text-button-google);
        background-color: var(--modal-login-background-google-hover);
    }

    .modal-login-buttons a.yandex {
        color: var(--modal-login-text-button-yandex);
        background-color: var(--modal-login-background-yandex);
    }

    .modal-login-buttons a.yandex:hover {
        color: var(--modal-login-text-button-yandex);
        background-color: var(--modal-login-background-yandex-hover);
    }

    .modal-login-buttons img {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }

.modal-login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--modal-login-text-footer);
}

    .modal-login-footer img {
        width: 30px;
        height: 30px;
        margin-right: 15px;
    }

    .modal-login-footer span {
        font-size: 12px;
        max-width: 90%;
        text-align: left;
    }

@media (max-width: 1024px) {
    .modal-login-content {
        width: 80%;
    }

    .modal-login-buttons {
        margin: 30px 0px 30px 0px;
    }

    .modal-login-footer span {
        font-size: 10px;
    }

}
