/* Schedule Page Styles */

.schedule-container {
	margin: 2em 0;
}

.schedule-table {
	width: 100%;
	border-collapse: collapse;
	margin: 2em 0;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 4px;
	overflow: hidden;
}

.schedule-table th {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	padding: 1em;
	text-align: center;
	font-weight: 600;
	border-bottom: solid 2px rgba(212, 212, 255, 0.1);
}

.schedule-table td {
	padding: 0.75em;
	border: solid 1px rgba(212, 212, 255, 0.1);
	vertical-align: top;
	background: rgba(255, 255, 255, 0.02);
	transition: background-color 0.2s ease;
}

.time-slot {
	background: rgba(255, 255, 255, 0.1) !important;
	font-weight: 600;
	text-align: center;
	white-space: nowrap;
}

.talk-cell {
	cursor: pointer;
	min-height: 60px;
}

.talk-cell:hover,
.talk-cell:focus {
	background: rgba(255, 215, 0, 0.15) !important;
	outline: 2px solid #ffd700;
	outline-offset: 2px;
}

.talk-title {
	font-weight: 600;
	color: #ffffff;
	margin-bottom: 0.25em;
}

.talk-speaker {
	color: #d0d0d0;
	font-size: 0.9em;
}

.day-header {
	background: #812121;
	color: #ffffff;
	text-align: center;
	padding: 1em;
	margin: 2em 0 1em 0;
	border-radius: 4px;
}

.loading {
	text-align: center;
	padding: 2em;
	color: #b0b2b2;
}

/* Schedule Controls */
.cache-status {
	text-align: center;
	color: #b0b2b2;
	font-size: 0.8em;
	margin-top: 1em;
	padding: 0.5em;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 4px;
}

.refresh-btn {
	background: none;
	color: #b0b2b2;
	border: none;
	cursor: pointer;
	font-size: 0.8em;
	text-decoration: underline;
	margin-left: 0.5em;
	padding: 0;
	transition: color 0.2s ease;
}

.refresh-btn:hover,
.refresh-btn:focus {
	color: #ffffff;
	outline: none;
}

/* Modal Styles */
.modal {
	display: none;
	position: fixed;
	z-index: 10001;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
}

.modal-content {
	background-color: #762528;
	margin: 5% auto;
	padding: 2em;
	border-radius: 4px;
	width: 90%;
	max-width: 700px;
	max-height: 80vh;
	overflow-y: auto;
	position: relative;
}

.modal-speaker-section {
	display: flex;
	align-items: flex-start;
	gap: 1.5em;
	margin-bottom: 1.5em;
}

.speaker-image {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #ffd700;
}

.speaker-info {
	flex: 1;
}

.close {
	color: #b0b2b2;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
}

.close:hover,
.close:focus {
	color: #ffffff;
	outline: 2px solid #ffd700;
}

.modal-title {
	color: #ffffff;
	margin-bottom: 0.5em;
}

.modal-speaker {
	color: #ffd700;
	margin-bottom: 1em;
	font-size: 1.1em;
}

.modal-abstract {
	color: #ffffff;
	line-height: 1.6;
	margin-bottom: 1.5em;
}

.modal-bio {
	color: #e0e0e0;
	line-height: 1.6;
	border-top: solid 1px rgba(212, 212, 255, 0.1);
	padding-top: 1em;
}

/* Mobile Responsive */
@media screen and (max-width: 736px) {
	.schedule-table {
		font-size: 0.8em;
	}
	
	.schedule-table th,
	.schedule-table td {
		padding: 0.5em;
	}
	
	.modal-content {
		margin: 10% auto;
		padding: 1.5em;
		max-width: 95%;
	}
	
	.modal-speaker-section {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	
	.speaker-image {
		width: 100px;
		height: 100px;
	}
}