/* The popup that holds a form. The box is the existing .kairos-popup-container, and the form follows its width */
.kairos-popup-container.kairos-form-popup {
    position: relative;                                     /* so that the close button can sit in the corner of the box                */
    width: 95%;                                             /* nearly the whole screen on a phone                                       */
    max-width: 700px;                                       /* never wider than 700px on a large screen. The form follows this width    */
    max-height: 90vh;                                       /* never taller than 90% of the screen                                      */
    overflow-y: auto;                                       /* a scroll bar appears on the right when the form is taller than the box   */
    box-sizing: border-box;
}

.kairos-popup-close {                                       /* the X in the top-right corner of the popup                               */
    position: absolute;
    top: 8px;
    right: 14px;
    z-index: 1;
    background: transparent;
    border: 0;
    color: var(--kairos-gold);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.kairos-popup-close:hover {
    color: var(--kairos-white);
}
