/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

html {
	height: 100dvh;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Times New Roman", Times, FreeSerif, serif;
	min-width: 960px;
	background-color: #111;
	height: 100%;
	padding: 20px 100px;
	box-sizing: border-box;
	margin: 0;
}

a:link {
	text-decoration: none;
	color: #0c8990;
}

a:visited {
	text-decoration:none;
	color: #0c6f74;
}

a:hover {
	text-decoration:underline;
	color: #00cbcc;
}

div.content {
	padding: 30px;
	padding-top: 15px;
	background-color: #000;
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-flow: column;
}

div.header {
	width: max-content;
	margin-inline: auto;
	margin-bottom: 20px;
	flex: 0 0 auto;

	h1 {
		display: inline-block;
		margin-top: 0;
		text-align: center;
		color: #0c8990;
	}

	nav {
		text-align: center;
		display: flex;
		justify-content: space-around;

		.chosen_date {
			font-weight: bold;
			color: #ccc;
		}

		.disabled {
			visibility: hidden;
		}
	}
}

.calendar {
	flex: 1 0 auto;

	table {
		table-layout: fixed;
		background-color: rgba(0, 0, 0, 0);
		border: 1px solid #404040;
		border-collapse: collapse;
		box-sizing: border-box;
		max-width: 100%;
		width: 100%;
		height: 100%;
	}

	tr {
		border-collapse: collapse;
	}

	th {
		padding: 6px;
		border-collapse: collapse;
		border-bottom: 2px solid #404040;
		border-left: 1px solid #404040;
		border-right: 1px solid #404040;
		border-top: none;
		box-sizing: border-box;
		text-align: left;
		height: 5%;
		color: #ccc;
	}

	td {
		padding: 6px;
		vertical-align: top;
		width: 14%;
		border: 1px solid #404040;
		height: 15%;

		a {
			display: inline-block;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			width: calc(100%);
		}
	}

	.day {
		color: #888;
	}

	.today {
		color: #ccc;
		background-color: #111;
		border: 2px solid #404040;
	}

	.diff_month {
		background: #404040;
	}
}
