.checkout__modal--auth {
    width: 540px;
    max-width: 100%;
}

.auth {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.auth__title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 35px;
    text-align: center;
    color: #000;
    line-height: 1.2;
    margin: 0 0 42px;
}

.auth__hint {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.54);
    margin: -16px 0 24px;
}

/* Socials */
.auth__socials {
    display: flex;
    gap: 30px;
    margin-bottom: 52px;
}

.auth__social {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: none;
    transition: background 0.2s;
}

.auth__social:hover {
    background: #ebebeb;
}

.auth__social img {
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Button */
.auth__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 465px;
    min-height: 61px;
    padding: 8px 26px 8px 25px;
    border-radius: 45px;
    border: none;
    background: linear-gradient(90deg, #ed3953 0%, #a1171b 100%);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.auth__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth__btn:not(:disabled):hover {
    opacity: 0.9;
}

/* Form */
.auth__form {
    width: 100%;
    max-width: 465px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.auth__input {
    width: 100%;
    min-height: 61px;
    padding: 8px 26px;
    border: 1px solid #b5b5b5;
    border-radius: 45px;
    font-size: 18px;
    color: #000;
    outline: none;
    transition: border-color 0.2s;
}

.auth__input:focus {
    border-color: #ed3953;
}

/* SMS code */
.auth__code {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 8px 0 20px;
}

.auth__code-input {
    width: 88px;
    height: 96px;
    padding: 8px 26px;
    border: 1px solid #b5b5b5;
    border-radius: 30px;
    font-size: 30px;
    text-align: center;
    color: rgba(0, 0, 0, 0.42);
    outline: none;
    transition: border-color 0.2s;
}

.auth__code-input::placeholder {
    color: rgba(0, 0, 0, 0.2);
}

.auth__code-input:focus {
    border-color: #ed3953;
}

/* Back */
.auth__back {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.54);
    transition: color 0.2s;
}

.auth__back:hover {
    color: #000;
}

/* Mobile */
@media (max-width: 900px) {
    .checkout__modal--auth {
        width: 100%;
    }

    .auth__title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .auth__socials {
        gap: 14px;
        margin-bottom: 24px;
    }

    .auth__social {
        width: 48px;
        height: 48px;
    }

    .auth__code {
        gap: 10px;
    }

    .auth__code-input {
        width: 60px;
        height: 70px;
        font-size: 24px;
        padding: 8px 12px;
    }
}