.body-wrapper {
    z-index: 100;
}

.methods-auth {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.auth-btn {
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #EAAB8C;
    background-color: #fff;
    color: #3C3C3B;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.auth-btn:hover {
    background-color: #F5C2A9;
}

.auth-form-container {
    margin-top: 10px;
    display: none;
}

.auth-form-container.active {
    display: block;
}

.form .row {
    margin-bottom: 10px;
}

.form .telephone {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

#submit {
    width: 100%;
    padding: 10px;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

#submit:disabled {
    background: #d0d0d0;
    cursor: not-allowed;
}

.methods-auth {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.auth-btn{
    width: 100%;
    color: #ffffff;
    font-weight: 450;
    font-size: 18px;
    padding: 10px 8px;
    border: unset;
    background: #E20613;
    flex-shrink: 0;
    flex-grow: 1;
    text-decoration: none;
    margin-bottom: 30px;
    cursor: pointer;
}

.card {
    max-width: 375px;
    padding: 30px 20px 30px 20px;
    box-sizing: border-box;
    margin: 0 auto;
}

.card > * {
    width: 100%;
}

.image > svg {
    margin: 0 auto;
    display: block;
}
.image {
    margin-bottom: 31px;
}

.title {
    text-align: center;
    font-size: 36px;
    font-weight: 450;

    margin-bottom: 31px;
}

.info {
    text-align: center;
    font-weight: normal;
    font-size: 24px;

    margin-bottom: 31px;
}
.info.connected {
    margin: 78px 0 109px 0 !important;
}

.form {
    margin-bottom: 127px;
    padding: 0 7px;
}
.form:has(.info) {
    margin-bottom: 0;
}
.form > .row {
    width: 100%;
}
.form > .row:nth-last-child(n+1) {
    margin-bottom: 14px;
}
.form > .row > * {
    text-align: center;
    width: 100%;
}
.form > .row > input[type='tel'] {
    padding: 8px 10px;
    font-size: 18px;

    border: 2px solid #D1D3D4;
    border-radius: 2px;
    transition: 0.3s;
}
.form > .row > input[type='tel']:focus {
    border-color: #E20613;
}
.form > .row > .btn-group > button, .form > .row > .btn-group > .btn, .form > .row >  button, .form > .row >  .btn {
    color: #ffffff;
    height: 45px;
    width: 45px;
    font-weight: 450;
    font-size: 18px;
    padding: 10px 8px;
    border: unset;
    background: #cccccc;
    flex-grow: 1;
    text-decoration: none;
}

/*.btn.client-call {*/
/*    color: #ffffff;*/
/*    font-weight: 450;*/
/*    font-size: 18px;*/
/*    padding: 10px 8px;*/
/*    border: unset;*/
/*    background: #E20613;*/
/*    flex-shrink: 0;*/
/*    flex-grow: 1;*/
/*    text-decoration: none;*/
/*}*/

.btn.client-call {
    color: #E20613;
}

.call-button {
    width: 100% !important;
    color: #ffffff !important;
    font-weight: 450 !important;
    font-size: 18px !important;
    padding: 10px 8px !important;
    border: unset !important;
    background: #E20613 !important;
    flex-grow: 1 !important;
    text-decoration: none !important;
    margin-bottom: 30px !important;
    cursor: pointer !important;
}


/*.form > .row > button[disabled] {*/
/*    background: #cccccc;*/
/*}*/
.form > .row > .btn-group > button:not([disabled]), .form > .row  > button:not([disabled]) {
    cursor: pointer;
    background: #E20613;
}
.form > .row > * {
    text-align: center;
}

.form > .row > .btn-group {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    gap:14px
}

.logo > svg {
    display: block;
    width: 90px;
    margin: 0 auto;
}

.footer, .bg {
    display: none;
}

.footer > a {
    display: block;
    text-align: center;
    color: #FFFFFF;
    text-decoration: underline;
    font-size: 18px;
}
.footer > a:nth-last-child(n-1) {
    margin-top: 25px;
    margin-bottom: 18px;
}

@media (min-width: 1024px) {
    .body-wrapper {
        width: 100%;
        max-width: 870px;
        margin: auto;
        background-color: #ffffff;
        border-radius: 18px;
    }
    .footer {
        display: block;
        margin: 0 auto;
        z-index: 100;
    }
    .flex {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        padding-bottom: 47px;
        padding-top: 47px;
    }

    .flex:has(.info) {
        padding-bottom: 0;
        padding-top: 27px;
    }

    .bg {
        display: block;
        position: fixed;
        width: 100vw;
        height: 100vh;
        background-image: url("../img/bg.png");
        background-position: center;
        background-repeat: no-repeat;
        background-color: #F62B37;
    }
}