#lnsprof_instructor_popup .lnsprof_popup_content {
    flex-direction: column;
    justify-content: stretch;
    max-width: 500px;
    background-color: white;
    padding: 32px;
    border-radius: 16px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;
}

#lnsprof_instructor_popup .lnsprof_wrapper {
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    overflow-x: hidden;
}

#lnsprof_instructor_popup .wpcf7-submit {
    width: 100%;
    margin-bottom: 0;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

#lnsprof_instructor_popup .wpcf7 p {
    position: relative;
}

#lnsprof_instructor_popup .lnsprof_notice {
    color: rgb(177, 0, 0);
}

#lnsprof_instructor_popup .wpcf7-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
}

@media (max-width:640px) {
    #lnsprof_instructor_popup .lnsprof_popup_content {
        padding: 16px;
    }
}