
  /* Session/Staff Summary Page */

.summary-container {
    margin-bottom: 2rem;
    border: 2px solid #f1f1f1;
    background-color: #fcfcfc;
    padding: .5rem 1rem;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.summary-header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

.summary-header h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: left;
}

.summary-header div {
    min-width: 230px;
}

.summary-section-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-section {
    padding: .5rem 1rem;
    border-bottom: 1px solid #e1e1e1;
}

.summary-section:not(.summary-incomplete):last-child {
    border-bottom: none;
}

.summary-section-container .summary-label {
    font-weight: 700;
    margin-bottom: .5rem;
    font-size: 1.35rem;
}

.summary-incomplete {
    border: 2px solid var(--alert);
}

.summary-value p {
    margin-top: 1rem;
}


@media screen and (max-width: 900px) {
    .summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .summary-header h2 {
        font-size: 1.75rem;
    }
}

/* Email History */
#viewEmailPopup table {
    width: 100%;
}

.email-history-headers div {
    font-weight: 600;
    font-size: 1.2rem;
}
.email-history-headers, .email-history-rows {
    display: grid;
    grid-template-columns: .25fr 1fr 5fr 1fr;
    border-bottom: 1px solid #f1f1f1;
    padding-top: .5rem;
    padding-bottom: .5rem;
    place-items: center;
    column-gap: 1rem;
    padding-bottom: 1rem;
}

.email-history-rows:nth-child(odd) {
    background-color: #f7f7f7;
}
@media screen and (max-width: 650px) {
    .viewEmailDialog {
        width: 90% !important;
    }
    #viewEmailPopup {
        padding: .5em;
    }
    .email-history-headers {
        grid-template-columns: .25fr 2fr 5fr;
    }
    .email-history-rows {
        grid-template-columns: .25fr 1fr 5fr;
        row-gap: 1rem;
      }
      .email-history-rows > :nth-child(4n) {
        grid-column: 1 / -1;   /* make the “last column” items span underneath */
      }
    
}
  