.sge-gq-notice {
    margin: 1rem 0 0;
    color: inherit;
    font-size: 0.95em;
}

.sge-gq-modal[hidden] {
    display: none !important;
}

.sge-gq-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.sge-gq-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.sge-gq-dialog {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.sge-gq-dialog h2 {
    margin-top: 0;
    padding-right: 2rem;
}

.sge-gq-close {
    position: absolute;
    top: 0.7rem;
    right: 0.8rem;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

body.sge-gq-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .sge-gq-dialog {
        padding: 1.1rem;
    }
}

.sge-gq-form-frame {
    display: block;
    width: 100%;
    min-height: 760px;
    border: 0;
    background: #fff;
}

@media (max-width: 900px) {
    .sge-gq-dialog {
        width: 100%;
    }
}
