/* Layout glue for Starlink-only elements on top of the shared site design */

html,
body {
    max-width: none;
    width: 100%;
}

/* Два ползунка не должны заходить под медведя */
@media (min-width: 992px) {
    .calc__form--period {
        grid-template-columns: repeat(2, 320px);
        column-gap: 40px;
    }
}

/* Starlink footer data in the shared footer layout */
.footer__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 60px;
    margin-top: -16px;
    margin-bottom: 40px;
}

.footer__contacts-item {
    color: #000000;
}

.footer__text p {
    margin-bottom: 8px;
}

.footer__text strong {
    font-weight: 600;
}

.footer__header-item a,
.footer__header-item span {
    white-space: nowrap;
}

/* Starlink SMS code modal (separate digit inputs) in the shared modal look */
.sms-modal {
    display: grid;
    grid-template-columns: 1fr;
}

.sms-modal p {
    margin: 0;
    line-height: 1.5;
}

.sms-modal .form-phone {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 15px 0;
}

.sms-modal .sms-code-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.sms-modal .sms-code-inputs .sms-digit-input {
    width: 48px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 7px;
    outline: none;
    background-color: #f6f6f6;
    font-size: 18px;
    text-align: center;
}

.sms-modal .-error .sms-digit-input {
    box-shadow: inset 0 0 0 1px #FF473E;
}

.sms-modal .btn.js-sms-confirm {
    display: block;
    width: 100%;
    padding: 13px 60px;
    border: none;
    border-radius: 7px;
    background: #ff7912;
    color: #ffffff;
    font-size: 20px;
}

.sms-modal .btn.js-sms-confirm:hover {
    background: #2D3033;
    color: #ffffff;
}
