#missionary-reports-content > div > div:nth-child(3) > span {
	display: inline-block;
	width: 140px;
	text-align: center;
}

.rightinfobutton {
	position: relative;
	left: calc(100% - 105px);
	top: -50px;
}

.highlightupdate {
	background-color: #fff3cd !important;
	transition: background-color 1s;
}

.filledslotbutton {
	background-color: #5f5;
}

.headerleft, .headerright {
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
}

.headerleft {
	padding-right: 20px;
	height:	124px;
}

.headerright {
	font-size: 0.875rem; /* Smaller text */
	float: right;
}

.compcard {
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 12px;
	padding: 1rem 1rem 0.75rem;
	margin-bottom: 0.75rem;
	position: relative;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	height: 60px;
}

.comptitle {
	position: absolute;
	top: -12px;
	left: 12px;
	background: white;
	padding: 0 8px;
	font-weight: bold;
	font-size: 1rem;
	color: #333;
	margin: 0;
}

.complinkcell {
	font-size: 0.875rem;
	color: #444;
	position: absolute;
	top: 5px;
	left: 235px;
}

.compcell {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: #444;
	position: relative;
	top: -14px;
	margin-left: 8px;
}

@media (max-width: 1065px) {
	.headerright {
		float: none;
	}
}

@media (max-width: 768px) {
	.headerleft, .headerright {
		display: block;
		width: 100%;
		text-align: left;
	}
	.headerleft {
		padding-right: 0;
		margin-bottom: 1rem;
		height: unset;
	}
	.headerright {
		float: unset;
	}
	.compcell {
		display: inline;
		margin-left: 0px;
		margin-right: 5px;
	}
	.compcard {
		height: 70px;
	}
	#unit-select {
		width: 70px;
	}
}



#showpastvisitscheck {
	display: inline-block;
	position: relative;
	width: 20px !important;
	margin-left: 20px;
}

.disablevisitweek h3 {
	pointer-events: none !important;
	opacity: 0.5 !important;
	cursor: not-allowed !important;
}

.disablevisit * {
	pointer-events: none !important;
	opacity: 0.5 !important;
	cursor: not-allowed !important;
}

.user-unit-row {
	background-color: #e6f3ff; /* Light blue highlight for user's units */
	font-weight: bold;
}
#missionary-schedule.tab-content {
	background-color: white;
}

#visit-filters label {
	margin-left: 10px;
	margin-right: 4px;
}

.visit-tabs {
	display: none;
	margin-bottom: 10px;
}
.visit-tabs button {
	margin-right: 10px;
	padding: 5px 10px;
	background: #eee;
	border: 1px solid #ddd;
	cursor: pointer;
}
.visit-columns {
	display: flex;
	/* gap: 20px; */
}
.visit-column {
	flex: 1;
	padding: 10px;
	border: 1px solid #ddd;
	background: #fff;
}
.visit-card {
	font-size: 0.85rem;
	margin-bottom: 20px;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
}
.visit-table-wrapper {
	overflow-x: auto;
	width: 100%;
}
.visit-table {
	width: 100%;
	min-width: 600px;
}
.visit-table .table-cell {
	min-width: 120px;
	/* display: flex !important; */
}
.visit-table .table-cell.col-1 {
	min-width: 180px;
}
.visit-table .table-cell.col-5 {
	min-width: 80px;
}

#member-messages .visit-card {
	background-color: #f0f8ff;
}
#feed-missionaries .visit-card {
	background-color: #f5f5dc;
}
#accompany-missionaries .visit-card {
	background-color: #f5fffa;
}

#member-messages.tab-content {
	background-color: white;
}
#feed-missionaries.tab-content {
	background-color: white;
}
#accompany-missionaries.tab-content {
	background-color: white;
}

.visit-card textarea, input {
	/* max-width: 150px !important; */
	width: 100% !important;
}

@media (max-width: 1000px), (max-width: 800px), (max-width: 600px) {
	.visit-table .table-row:not(:has(.fixed-last-col)) .table-cell:last-child,
	.visit-table .table-row:has(.fixed-last-col) .table-cell:nth-last-child(2),
	.visit-table .table-row:not(:has(.fixed-last-col)) .table-cell:nth-last-child(2),
	.visit-table .table-row:has(.fixed-last-col) .table-cell:nth-last-child(3),
	.visit-table .table-row:not(:has(.fixed-last-col)) .table-cell:nth-last-child(3),
	.visit-table .table-row:has(.fixed-last-col) .table-cell:nth-last-child(4) {
		display: flex !important; /* Ensure all columns remain visible */
	}
	.visit-table .table-cell {
		flex: 1 0 auto; /* Allow cells to size naturally within min-width */
		min-width: 120px; /* Maintain minimum width */
	}
	.visit-table .table-cell.col-1 {
		min-width: 180px;
	}
	.visit-table .table-cell.col-5 {
		min-width: 80px;
	}
}

