.order-form {
    display: grid;
    gap: 30px;
    background: #f5fcff;
    padding: 35px;
    width: 400px;
    border-radius: 30px;
    overflow-y: auto;
    max-height: calc(100vh - 80px);
}

.order-form form {
    display: grid;
    gap: 14px;
}

.order-form h2 {
    text-align: center;
    margin: 0;
    margin-top: 45px;
}

.order-form__field input {
    box-sizing: border-box;
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #8bc9ec;
    border-radius: 16px;
    font-size: 16px;
    outline: none;
    background: #fff;
}

.order-form__field input:focus {
    border-color: var(--company-color);
    box-shadow: 0 0 0 3px rgba(35, 178, 243, 0.18);
}

.order-form__submit {
    width: 100%;
    padding: 16px 20px;
    background: var(--company-color);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 10px;
}

.order-form__submit:hover {
    transform: translateY(-1px);
}

.order-form__agree {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #48443e;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.order-form__checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid var(--company-color);
    border-radius: 4px;
    flex-shrink: 0;
}

.order-form__agree a {
    color: inherit;
}

.order-form__agree input:checked+.order-form__checkbox {
    background: var(--company-color);
}

.order-form__agree input {
    opacity: 0;
    margin: 0;
    position: absolute;
    top: 5px;
    left: 0;
    z-index: 1;
    width: 20px;
    height: 20px;
}

.order-form__close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: none;
    font-size: 30px;
    cursor: pointer;
    border: none;
    background: transparent;
}

@media (max-width: 768px) {
    .order-form {
        width: 100%;
        box-sizing: border-box;
    }
}