.ps-gf-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .2);
    display: none;
    opacity: 0;
    transition: opacity .2s ease;
    z-index: 9998;
    margin-bottom: 0px;
}

.ps-gf-modal-backdrop.is-open {
    display: block;
    opacity: 1;
}

.ps-gf-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.ps-gf-modal.is-open {
    display: flex;
}

.ps-gf-modal__dialog {
    background: #fff;
    max-width: 800px;
    width: 92%;
    max-height: 85vh;
    overflow: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    position: relative;
    outline: none;
}

.ps-gf-modal__x {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    background: none;
}

.ps-gf-modal__x:hover {
    color: inherit;
}

.ps-gf-modal__header {
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ps-gf-modal__title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.ps-gf-modal__close {
    background: transparent;
    border: 0;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0px;
}

.ps-gf-modal__body {
    padding: 18px;
}

.ps-gf-note {
    margin: 0;
    padding: 12px 0;
    color: #777;
    font-size: 14px;
}