body {
    height: 100vh; /* Ensures the body takes up the full viewport height */
    margin: 0; /* Removes default body margin */
    padding: 0;
    width: 100vw;
    font-family: Arial, Helvetica, sans-serif !important;
}

.responsive-bg {
    display: flex;
    justify-content: center; /* Centers horizontally */
    flex-direction: column;
}

#tdLeft {
    display: none;
}

#lblEventRegistration {
    display: none;
}

#tdStatusMessage {
    padding-top: 10px;
    padding-bottom: 10px;
}

#tblInputs th, #tblInputs td {
    padding: 2px; /* Adds 10 pixels of space on all sides of the content */
}

#btnSave, #btnClose {
    margin-top: 20px;
}

#divFooter {
    margin-top: 125px;
}

.riEmpty {
    color: transparent !important;
}

#trLowerStatusMessage {
    display: none;
}

@media (max-width: 767px) {

    .divMeetingResponseHeader {
        width: 100% !important;
        max-width: 913px !important; /* never scale up past native resolution */
        aspect-ratio: 913 / 155 !important;
        height: auto !important;
        padding: 0 !important; /* remove desktop's 10px padding-bottom — it was adding to the height outside the aspect-ratio box */
        box-sizing: border-box !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
    }

        .divMeetingResponseHeader h1,
        .divMeetingResponseHeader .headerText {
            font-size: 22px !important;
            white-space: normal !important;
            text-align: center !important;
        }

    /* ===== CENTER TABLE: force full width so the black box spans the screen ===== */
    #tblCenter,
    #tblCenter > tbody,
    #tblCenter > tbody > tr {
        width: 100% !important;
    }

    #tdRight {
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    #pnlSenderInfo {
        display: block !important;
        width: 100% !important;
    }

    /* ===== FORM TABLE: force full width ===== */
    #tblInputs {
        width: 100% !important;
    }

        #tblInputs tr {
            display: flex !important;
            flex-direction: column !important;
            width: 100% !important;
        }

        #tblInputs td {
            display: block !important;
            width: 100% !important;
            box-sizing: border-box !important;
            padding-left: 8px !important;
            padding-right: 8px !important;
        }

    /* ===== LABELS ===== */
    #lblFirstNameLabel,
    #lblLastNameLabel,
    #lblEmailAddressLabel {
        display: block !important;
        font-size: 20px !important;
        font-weight: bold !important;
        margin-bottom: 4px !important;
    }

    /* ===== INPUTS ===== */
    #tblInputs input[type="text"],
    #tblInputs .riTextBox,
    #tblInputs .RadInput {
        width: 100% !important;
        font-size: 20px !important;
        height: 48px !important;
        line-height: 48px !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    #rtbFirstName,
    #rtbLastName,
    #rdtxtBxEmailAddress {
        width: 100% !important;
    }

    /* ===== REGISTER BUTTON ===== */
    #btnSave {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 20px !important;
        height: 48px !important;
        padding: 0 24px !important;
        margin-top: 8px !important;
    }

    /* ===== STATUS MESSAGE ===== */
    #lblLowerStatusMessage {
        display: block !important;
        font-size: 17px !important;
        margin-top: 8px !important;
    }
}
