body.tsp-clean-form-view {
    background: transparent !important;
    margin: 0;
    padding: 0;
    overflow: visible !important;
}

/* Ensure the theme's #app background doesn't cover the modal */
#app {
    background: transparent !important;
    min-height: 0 !important;
}

.tsp-clean-form-view .gform_wrapper.gravity-theme {
    margin-top: 0;
}

/* Hide things that might bleed in from theme */
#wpadminbar,
header,
footer,
.header,
.footer,
.topology {
    display: none !important;
}

.gform_wrapper.gravity-theme .gform_footer,
.gform_wrapper.gravity-theme .gform_page_footer {
    padding: 20px 0;
}

.tsp-event-form-price-display {
    display: inline-block;
    margin-left: 20px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    vertical-align: middle;
}

.gform_footer {
    display: flex;
    align-items: center;
}

@media (max-width: 640px) {
    .gform_footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .tsp-event-form-price-display {
        margin-left: 0;
        margin-top: 15px;
    }
}
