.pc-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: none;
}

.pc-modal--open {
    display: block;
}

.pc-modal__backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.55);
}

.pc-modal__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 96vw;
    max-width: 1200px;
    height: 92vh;
    max-height: 900px;
    margin: 4vh auto;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.pc-modal__header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    height: 48px;
    padding: 0 10px 0 16px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.pc-modal__title {
    overflow: hidden;
    color: #222;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pc-modal__close {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #666;
    font-size: 28px;
    line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

.pc-modal__close:hover,
.pc-modal__close:focus {
    color: #000;
    background: #f2f2f2;
    outline: none;
}

.pc-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    background: #fff;
}

.pc-modal__frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

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

@media (max-width: 767px) {
    .pc-modal__dialog {
        width: 100vw;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        margin: 0;
        border-radius: 0;
    }
}
