@font-face {
	font-family: poppins;
	src: url("../fonts/Poppins-Regular.otf") format("opentype");
}

* {
	font-family: poppins, sans-serif;
	margin: 0;
	padding: 0;
	outline: 0;
	border: 0;
	vertical-align: baseline;
}

html {
	font-size: 16px;
	line-height: 1.3;
}

.alert {
	border-width: 1px;
	border-radius: 2px;
	padding: 16px;
	margin: 8px;
}

.error {
	border-color: #f5c6cb;
	background-color: #f8d7da;
	color: #721c24;
}

.success {
	border-color: #c3e6cb;
	background-color: #d4edda;
	color: #155724;
}

label > span {
	padding-left: 14px;
}

button {
	font-size: 1em;
	width: 100%;
	padding: 0.9em 1em;
	cursor: pointer;
	border: 0;
	border-radius: calc((1.3em + 14px * 2) / 2);
}

.btn-primary {
	background-color: #8351CF;
	color: white;
}

.btn-link {
	color: #007bff;
	background-color: transparent;
}
.btn-link:hover {
	text-decoration: underline;
}

form > div {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

input {
	padding: 0.9em 1em;
	border-radius: calc((1.3em + 14px * 2) / 2);
	border: gray solid 1px;
	font-size: 1em;
	box-sizing: border-box;
	width: 100%;
}

input:focus {
	outline: none;
	border-color: #8351CF;
	border-width: 2px;
	/* keep total size consistent after increasing border-width */
	padding: calc(0.9em - 1px) calc(1em - 1px);
}

.text-muted {
	color: #6c757d;
}

.text-center {
	text-align: center;
}

/* styling for confirmation_modal.html.twig */
.modal-backdrop {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0); /* fallback color */
	background-color: rgba(0,0,0,0.4);
}

.modal-content {
	background-color: #fefefe;
	margin: 15% auto; /* 15% from the top and centered */
	padding: 20px;
	border: 1px solid #888;
	width: 600px;
	max-width: 90%;
}

.modal .close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.modal .close:hover,
.modal .close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
