@import "variables.css";
@import "../fonts/roboto/font-roboto.css";
@import "../fonts/roboto-slab/font-roboto-slab.css";
@import "../fonts/roboto-condensed/font-roboto-condensed.css";

html {
	font-size: 14px;
	position: relative;
	min-height: 100%;
}

@media (min-width: 768px) {
	html {
		font-size: 16px;
	}
}

html,
body {
	height: 100%;
	margin: 0;
	color-scheme: light;
}

body {
	font-family: Roboto, "Noto Kufi Arabic", Helvetica, Arial, sans-serif;
	/*font-family: "Roboto Slab", Roboto, "Noto Kufi Arabic", Helvetica, Arial, sans-serif;*/
	/*font-family: "Roboto Condensed", Roboto, "Noto Kufi Arabic", Helvetica, Arial, sans-serif;*/
	margin-bottom: 60px;
}

.btn-primary {
	background-color: var(--wvv-primary);
	border-color: var(--wvv-primary);
}

	.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
		background-color: #b80036; /* a darker shade for hover/focus/active */
		border-color: #b80036;
	}

	.btn-primary.disabled, .btn-primary:disabled {
		background-color: var(--wvv-primary);
		border-color: var(--wvv-primary);
	}

input:focus,
select:focus,
textarea:focus,
.form-control:focus,
.form-select:focus,
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.btn:focus-visible,
.form-check-input:focus {
	box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--wvv-blue);
}

.form-control[readonly] {
	background-color: var(--wvv-cold);
}

.text-danger-message {
	color: var(--custom-red);
}

.text-success-message {
	color: var(--wvv-green);
}

.text-wvv-primary {
	color: var(--wvv-primary);
}

.app-header {
	background-color: var(--wvv-warm);
	border-bottom: 1px solid #dee2e6;
	display: flex;
	align-items: center;
	position: relative;
}

.app-header a {
	padding: 0.5rem 1rem;
	color: #000;
	text-decoration: none;
	white-space: nowrap;
}

.app-header a:first-of-type {
	margin-left: auto;
}

.app-header a:hover {
	text-decoration: underline;
}

.logo-wrapper {
	display: flex;
	align-items: center;
	height: 100%;
}

.logo {
	height: var(--header-logo-height);
	margin-top: calc(0.8 * var(--header-logo-height));
	margin-bottom: calc(0.8 * var(--header-logo-height));
	margin-left: calc(0.4 * var(--header-logo-height));
	margin-right: calc(0.4 * var(--header-logo-height));
}

.app-title {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	font-size: 1.5rem;
	font-weight: 500;
	text-align: center;
}

@media (max-width: 480px) {
	:root {
		--header-logo-height: 20px;
	}

	.app-title {
		font-size: 1.25rem;
	}
}

@media (max-width: 330px) {
	:root {
		--header-logo-height: 15px;
	}

	.app-title {
		font-size: 1.1rem;
	}
}


legend {
	font-weight: 700;
}

.text-w-line-breaks {
	white-space: pre-line;
}

#loading-indicator {
	height: 100vh;
	width: 100vw;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	left: 0;
	top: 0;
	background-color: rgb(216, 225, 230, .6);
	z-index: 999999;
}

.spinner-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px black solid;
	background-color: rgb(216, 225, 230);
	padding: 20px;
	border-radius: 15px;
}

.spinner {
	color: var(--wvv-primary);
}

.page-subtitle {
	font-size: 2.2rem;
	color: #808080;
}

.buttons-container{
	width: 25rem;
	max-width: 100%;
	margin: 0 auto;
}
