html, body {
	position: relative;
	width: 100%;
	height: 100%;
}

body {
	color: #333;
	margin: 0;
	padding: 0px;
	box-sizing: border-box;
	/* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; */
	font-family: 'Outfit', 'Roboto', 'Lato', sans-serif;
}

a {
	/* color: rgb(0,100,200); */
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	/* color: rgb(0,80,160); */
}

label {
	display: block;
}

input, button, select, textarea {
	font-family: inherit;
	font-size: inherit;
	-webkit-padding: 0.4em 0;
	padding: 0.4em;
	margin: 0 0 0.5em 0;
	box-sizing: border-box;
	border: 0px solid #ccc;
	border-radius: 2px;
}

input:disabled {
	color: #ccc;
}

button {
	color: #333;
	background-color: #f4f4f4;
	outline: none;
}

button:disabled {
	color: #999;
}

button:not(:disabled):active {
	background-color: #ddd;
}

button:focus {
	border-color: #666;
}

.container {
	padding: 0px 0px 1em 0px;
	width: 100%;
	/* height: 800px;
	max-height: 800px; */
	/* overflow-y: auto; */
	/* max-height: calc(100vh - 0px); */
	/* overflow-y: auto; */
	display: flex;
	flex-direction: column;
	height: calc(100vh - 78px);	/* 114 if there are bottom-row buttons*/
}

/* For light mode */
.container #title {
	font-size: 1.125rem; /* text-lg */
	font-weight: 600; /* font-normal */
	color: #374151; /* text-gray-700 */
	text-align: left;
}

/* For dark mode, you'll need to use a media query or a class-based approach depending on your setup */
/* @media (prefers-color-scheme: dark) {
	.container #title {
			color: #4b5563; */
			/* dark:text-slate-300 */
	/* }
} */
.dark .container #title {
	color: #cbd5e1 ; /* Adjusted to apply when .dark class is present */
}

/* div[role="alert"] is for flowbite-svelete Toast component */
div[role="alert"] {
	z-index: 100;
	background-color: #f1f5f9;
}

.dark div[role="alert"] {
	color: #cbd5e1;
	background-color: #4b5563; /*4b5563 #374151;#1F2937; */
}

main {
	text-align: center;
	padding: 0px 0px 0px 0px;
	max-width: 100%;
	margin: 0 auto;
	background-color: #f1f5f9;
	height: 100vh;
	/* flex: 1; */
	overflow-y: hidden;	/* this helps to remove the weird tiny vertical scrollbar that appears over the whole app! */
}

.dark main {
	background-color: #374151;
	/* --tw-bg-opacity: 1;
  background-color: rgb(2 6 23 / var(--tw-bg-opacity)) */
}

.active-page-title {
	text-align: left;
}