/**
 * Course Login Page Styles
 *
 * Styles for the course-login.php template, used to display the login
 * form for LearnDash courses. Initially hides the login form until
 * JavaScript has loaded to prevent a flash of unstyled content (FOUC).
 * The course-login.js script will make the form visible once it's
 * determined whether to display the login or registration form based
 * on the URL parameters.
 *
 * @package dmc-bridge-child
 * @see     templates/course-login.php
 */

.course-login {
    /*
     * Hide the login form until JavaScript has loaded to prevent a flash of
     * unstyled content (FOUC). The course-login.js script will make the form
     * visible once it's determined whether to display the login or registration
     * form based on the URL parameters.
     */
    .ld-registration__form {
        visibility: hidden;
    }

    /*
     * After a user registors for a course, the 'success' page will display a
     * Enroll in Group button that links to the course page. We will replace this
     * with our own 'Continue to Checkout' button.
     */
    .ld-registration-order {
        .btn-join,
        form {
            display: none;
        }
    }
}
