/*
 * 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.
 *
 *= require_tree .
 *= require main
 *= require_self
 *= require dataTables/bootstrap5
 */

/* Import Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Macondo&display=swap" rel="stylesheet');

h1,
h2 {
	font-family: 'Tangerine', 'Times New Roman', serif;
	text-shadow: 4px 4px 4px #aaa;
	font-weight: bolder;
}

h1 {
	font-size: 60px;
}

h1.no-handwrite {
	font-size: 35px;
	font-family: 'Macondo', serif;
}

body {
	font-family: 'Zilla Slab', 'Times New Roman', serif;
	height: 100%;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

header {
	align-items: center;
	padding: 1rem;
	border-bottom: 1px solid #dd3b3b;

	position: fixed;
	width: 100%;
	z-index: 99;
}

nav {
	margin-top: 82px;
}

.alert {
	background-color: #fff0af;
	border-color: #fddb43;
}

.border {
	border: 1px solid black;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.documents-container h1 {
	margin-bottom: 1rem;
}

.flash-container {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 1050;
	width: 50%;
	padding: 15px;
	border-radius: 5px;
	transition: opacity 5s ease-in-out;
}

.footer {
	position: fixed;
	bottom: 0px;
	width: 100%;
	padding: 0.5rem;
}

.footer-text {
	background-color: #e0e0e0;
	font-size: xx-small;
	left: 0px;
	bottom: 0px;
	width: 100%;
	padding: 0.5rem;
	position: absolute;
}

.login-box {
	max-width: 25rem; /* Max width of 4rem */
	width: 100%; /* Ensures responsiveness */
	padding: 1rem;
	border: 1px solid #ccc;
	border-radius: 0.5rem;
	background-color: #fff;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	margin-bottom: 1.5rem;
}

.login-form-container {
	display: flex;
	flex-direction: column;
	position: relative;
	top: 0px;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 1050;
	max-width: 600px;
	width: 100%;
	padding: 20px;
	background-color: #fff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	justify-content: center; /* Horizontal centering */
	align-items: center; /* Vertical centering */
}

.logo {
	max-width: 100%;
	height: auto; /* Maintains aspect ratio */
	display: block;
	margin: 0 auto;
}

.logo-container {
	width: 100%; /* Ensures the container fits inside .login-box */
	margin-bottom: 1rem;
	border: 1px solid rgb(221, 221, 221);
}

.logo-footer {
	bottom: 1rem;
	left: 0px;
	position: absolute;
	padding: 0.5rem;
}

.main-content {
	margin-left: 8.3333333%;
	width: 91.77777% !important;
	padding-top: 6%;
}

.nav-link {
	color: #333;
	font-weight: bold;
}

.nav-link:hover {
	color: #0056b3;
	text-decoration: none;
}

.sidebar {
	height: 100vh;
	padding-top: 6rem;
	border-right: 1px solid #ddd;
	position: fixed;
	min-height: 100vh;
}

#advanced-filters {
	display: block;
}

#advanced-filters.collapse {
	display: none;
}

#app-container {
	height: 100vh;
	top: 0px;
	overflow-y: auto;
	overflow-x: hidden;
}
