.opentable-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
}

.opentable-modal.is-open {
    display: flex;
}

.opentable-modal__panel {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 48px 24px 24px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.opentable-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #222;
    font-size: 30px;
    font-weight: 300;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
}

.opentable-modal__close:focus {
    outline: 2px solid #222;
    outline-offset: 2px;
}

.opentable-modal__widget {
    min-height: 260px;
    text-align: center;
}

body.opentable-modal-open {
    overflow: hidden;
}

@media only screen and (max-width: 480px) {
    .opentable-modal {
        padding: 10px;
    }

    .opentable-modal__panel {
        max-height: calc(100vh - 20px);
        padding-right: 15px;
        padding-left: 15px;
    }
}
