#generalMassTextMenu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30000000;
    background-color: #030303;
    border: 5px solid #555;
    border-radius: 5px;
    height: 600px;
    width: 800px;
    display: flex;
    flex-direction: column;
    /* opacity: 0.95;   */
    font-family: Consolas, monospace;
}


#generalMassTextMenuHeader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 10%;
    position: relative;
}

#generalMassTextMenuTitle {
    display: flex;
    padding-left: 10px;
    font-size: 24px;
    color: #DDD;
}

#generalMassTextMenuBody {
    display: flex;
    flex-direction: column;
    height: 80%;
    border-top: 5px solid #555;
    border-bottom: 5px solid #555;
}

#generalMassTextMenuFooter {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 10%;
}

#generalMassTextMenuSendButton,
#generalMassTextMenuCancelButton {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 60px;
    padding-left: 10px;
    font-size: 16px;
    cursor: pointer;
}

#generalMassTextMenuSendButton:hover {
    background-color: green;
}


#generalMassTextMenuCancelButton:hover {
    background-color: red;
}

.general-mass-text-search-input {
    margin: 10px;
    padding: 5px;
    background: #222;
    border: 1px solid #555;
    color: #e0e0e0;
    border-radius: 3px;
    width: 150px;
}

.general-mass-text-search-results {
    position: absolute;
    /* top: 100%;  /* Position right below the search input */
    left: 0;
    right: 0;
    overflow-y: auto;
    max-height: 300px;
    width: 100%;
    background-color: #030303;
    border: 1px solid #555;
    display: none;
    z-index: 30000002;
    /* Higher than the menu's z-index */
}


.general-mass-text-content {
    display: flex;
    flex-direction: row;
    height: 100%;
    border-top: 1px solid #555;
}

.general-mass-text-recipients {
    width: 25%;
    background-color: #030303;
    height: 92%;
}

.general-mass-text-menu-recipients-list {
    padding: 10px;
    overflow-y: auto;
    max-height: 100%;
}

.general-mass-text-message {
    width: 75%;
    padding: 10px;
}

#generalMassTextMessageInput {
    width: 100%;
    height: 100%;
    background: #030303;
    border: 1px solid #555;
    color: #e0e0e0;
    padding: 10px;
    resize: none;
    font-family: Consolas, monospace;
    font-size: 20px;
}

.sched-general-mass-text-recipient-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 8px;
    margin-bottom: 5px;
    border-radius: 3px;
    font-family: Consolas, monospace;
}

.general-mass-text-recipient-remove {
    cursor: pointer;
    color: #555;
    font-size: 18px;
    padding: 0 5px;
}

.general-mass-text-recipient-remove:hover {
    color: red;
}

.sched-general-mass-text-recipient-name {
    color: #e0e0e0;
    font-size: 14px;
}

.general-mass-text-search-container {
    display: flex;
    align-items: center;
}

#generalMassTextEventSearchResults {
    position: absolute;
    /* top: 100%;  /* Position right below the search input */
    left: 0;
    right: 0;
    overflow-y: auto;
    max-height: 300px;
    width: 100%;
    background-color: #030303;
    border: 1px solid #555;
    display: none;
    z-index: 30000002;
    /* Higher than the menu's z-index */
}

.search-result-event-name {
    font-size: 16px;
    color: #e0e0e0;
}

.search-result-event-date {
    font-size: 14px;
    color: #BBB;
    margin-top: 2px;
}

.sched-general-mass-text-event-card {
    background: #222;
    border-bottom: 2px solid #555;
    padding: 8px;
    margin-bottom: 5px;
}


.sched-general-mass-text-event-card:last-of-type {}

.sched-general-mass-text-event-card .sched-general-mass-text-recipient-name {
    font-size: 16px;
    color: blue;
    display: block;
}

.sched-general-mass-text-event-card .recipient-date {
    font-size: 14px;
    color: #888;
    display: block;
    margin-top: 2px;
}

.sched-general-mass-text-event-card .general-mass-text-recipient-remove {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}
