.memberlist-scroll {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 160px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.memberlist-table thead th {
    position: sticky;
    top: 0;
    background: white;
	padding: 8px;
    z-index: 5;
}
.memberlist-table .memberlist-column {
	background: white;
    padding: 8px;
    text-align: left;
    white-space: nowrap;
}

/* Setting colors on rows with active or passive players */
.memberlist-table tr.activePlayer td {
	background-color: #D8F5BF;
	text-align: left;
	white-space: nowrap;
}
.memberlist-table tr.passivePlayer td {
	background-color: #FCE7B3;
	text-align: left;
	white-space: nowrap;
}

.checkbox-container {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	white-space: nowrap;
}

.newmemberButton {
	display: none;
	float: right;
	margin-left: 5px;
}

.emailallButton {
	display: none;
	float: right;
	margin-left: 5px;
}

/* Dark, half transparent background */
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: flex; /* Centers the form perfectly */
    justify-content: center;
    align-items: center;
}

.form-container input {
    display: block;
    width: 100%;
    box-sizing: border-box;

    margin: 10px 0;
    padding: 10px;

    font-size: 16px;
}

.form-container {
	background: rgba(255,255,255,0.94);
	padding: 25px;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.25);
	width: calc(100% - 40px);
	max-width: 340px;
	box-sizing: border-box;
	text-align: center;
}

.deleteCell {
	font-size: 18px;
	cursor: pointer;
	text-align: center;
}

#newmemberError {
    min-height: 20px;
    margin-top: 12px;
}