.cqas-q {
    background: #fff;
    padding: 8px;
    border-radius: 4px;
}

/* Backdrop */
.cqas-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
}

/* Modal window */
.cqas-modal-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 90%;
    max-width: 480px;        /* desktop limit */
    padding: 16px;
    border-radius: 8px;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    max-height: 90vh;       /* fit small screens */
    overflow-y: auto;      /* scroll if needed */
    box-sizing: border-box;
}

/* Labels */
.cqas-modal-content label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
}
/* Remove big gap between header and content */
.wp-site-blocks {
    padding-top: 0 !important;
}

/* Remove top margin from main content group */
main.wp-block-group {
    margin-top: 0 !important;
}


/* Small screen tweaks */
@media (max-width: 480px) {
    .cqas-modal-window {
        padding: 12px;
        border-radius: 6px;
    }
}
