
input,
select,
textarea {
	font-family: 'Baloo';
	font-size: 100%;
    background-color: #fff;
	border: 1px solid #d3d3d3;
	transition: 0.22s;
	box-sizing: border-box;
}

select {
	background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
	background-repeat: no-repeat;
	background-position-x: 100%;
	background-position-y: 50%;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

button {
	display: flex;
	justify-content: center;
    align-items: center;
    gap: 10px; /* Adds spacing between text and icon */
	transition: background-color 0.3s ease;
	font-size: 100%;
    font-family: 'Baloo';
	background-color: #000;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    padding: 10px;
    width: 100%;
	border: 0 solid;
	text-align: left; /* Takes the lead on small screens, but text content requires mutiple lines */
}

button[process=loading]::after {
    content: '';
    position: absolute;
    right: 20px;
    width: 28px;
    height: 28px;
    animation: spin 1.5s linear infinite;
    background-image: url(/core/gui/img/design/loading_120x120.webp);
    background-repeat: no-repeat;
    background-size: 28px 28px;
    background-position: center center;
}

button[process=success]::after {
    content: '';
    position: absolute;
    right: 20px;
    width: 30px;
    height: 30px;
    background-image: url(/core/gui/img/icons/button_success.webp);
    background-repeat: no-repeat;
    background-size: 30px 30px;
    background-position: center center;
}

button[process=failure]::after {
    content: '';
    position: absolute;
    right: 20px;
    width: 30px;
    height: 30px;
    background-image: url(/core/gui/img/icons/button_failure.webp);
    background-repeat: no-repeat;
    background-size: 30px 30px;
    background-position: center center;
}

.label {
    width: 100%;
    position: relative;
    display: inline-block;
    margin-top: 28px;
}

.body .label:first-of-type {
    margin-top: 14px;
}


/*.label:first-child {*/
/*	margin-top: 14px;*/
/*}*/

.label > .label_title {
    position: absolute;
    top: -14px;
    background-color: white;
    padding: 0 8px;
    color: rgba(0, 0, 0, 0.8);
    font-size: 90%;
    z-index: 1;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    border-left: 1px solid #d3d3d3;
	border-radius: 0 0 10px 0;
}

.scroll-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.scroll-label {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
}



.label[doNotAsk] {
	display: none;
}

/* Used in revenue */
.label .label_text {
    padding: 10px;
    box-sizing: none;
    background-color: #FFF;
    border: 1px solid #d3d3d3;
}

.label input {
	font-family: 'Baloo';
	font-size: 100%;
	border-radius: 0 10px 10px 10px;
	padding: 10px;
	width: 100%;
}

.label input[disabled] {
	color: grey;
    background-color: white;
}

.label select {
    padding: 10px;
   	border-radius: 0px 10px 10px 10px;
	width: 100%;
}

.requiredInformationNote {
	padding: 0 10px 6px 10px;
	font-size: 90%;
}

textarea {
	width: 100%;
	height: 200px;
	border-radius: 0 10px 10px 10px;
	padding: 8px;
}

.content button {
	margin-top: 10px;
	text-align: center;
}

.checkboxContainer {
    width: 100%;
    text-align: justify;
    display: flex;
    align-items: center;
    text-align: left;
    user-select: none;
    margin-top: 10px;
    font-size:90%;
}

.checkboxContainer:first-child {
    margin-top: 0;
}

.checkboxContainer input[type=checkbox]{
	margin: 0; /* Remove default/native margins */
	/* min and max usage required for correct size */
	min-width:20px;
	max-width:20px;
	max-height:20px;
	min-height:20px;
}

.checkboxContainer .checkboxText {
    cursor: pointer;
    padding-left: 8px;
}

.checkboxContainer label {
    cursor: pointer;
    padding-left: 8px;
}

.checkboxContainer .checkboxTextDisabled {
    padding-left: 8px;
}

/* / Content Forms */

.notificationBasic {
	position: relative; 
    padding: 0 0 0 6px;
    color: red;
    width: 100%;
    display: none;
    margin-top: 4px;
    font-size: 90%;
    text-align: left;
    box-sizing: border-box;
}

.notificationCheckboxBasic {
	margin-left: 6px;
	padding: 0 0 0 6px;
	color: red;
	display: none;
	border-left: 1px solid red;
	white-space: nowrap;
}

.notification {
    position: relative;
    padding: 2px 8px 2px 8px;
    border-radius: 8px;
    background-color: #d9343b;
    color: #FFF;
    width: 100%;
    margin: auto;
    display: none;
    margin-top: 6px;
    text-align: center;
    box-sizing: border-box;
}


.notification:after, .notification:before {
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.notification:after {
	border-color: rgba(11, 70, 53, 0);
	border-bottom-color: #d9343b;
	border-width: 12px;
	margin-left: -12px;
}

/* Use case : error when trying to remove slots over a 3 month timeframe, display link to default/weekly agenda */
.notification a {
	font-weight: 700;
    color: #FFF;
}

.notification:before {
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #FFF;
}

.notification[#0d755b] {
    background-color: #04AA6D;
    color: #fff;
}

.notification[#0d755b]:after {
	border-bottom-color: #04AA6D;
}

.notification span.button {
    background-color: red;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, .52);
    padding: 0 6px 0 6px;
    color: white;
    cursor: pointer;
    user-select: none;
}

.notificationCheckbox {
	margin-left: 6px;
	padding: 0 4px 0 4px;
	border-radius: 8px;
	background-color: #d9343b;
	color: #FFF;
	display: none;
	white-space: nowrap; /* Avoid line-break on small/mobile screens */
}

/* Handle lost password feature */
.password_withLostPasswordFeature {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #FFF;
	border-radius: 8px;
	position: relative;
}

.password_withLostPasswordFeature input {
    flex-grow: 1;
    border: 1px solid #d3d3d3;
    padding: 10px;
}

.password_withLostPasswordFeature .passwordToggle {
	cursor: pointer;
	margin-left: 10px;
	color: grey;
	font-size: 22px;
	transition: color 0.2s ease;
	user-select: none; 
}

.password_withLostPasswordFeature .passwordToggle:hover {
	color: #000;
}

.password_withLostPasswordFeature .sendNotifButton {
	min-width: 90px;
	text-align: center;
	cursor: pointer;
	padding: 10px;
	margin-left: 10px;
	color: grey;
	background: #f0f0f0;
	border-radius: 8px;
	border: 1px solid #f0f0f0;
}

.password_withLostPasswordFeature .sendNotifButton:hover {
	border: 1px solid grey;
}

/* Handle lost password feature */
#password_withLostPasswordFeatureReservationForm {
	display: flex;
	align-items: center;
	margin-top: 0; 
	background-color: #FFF; 
	border-radius: 8px;
	box-shadow: 0 0 24px rgb(74 85 95 / 10%);
}

#password_withLostPasswordFeatureReservationForm input {
	margin-top: 0 !important;
	box-shadow: 0 0 0 0 red !important;
}

#password_withLostPasswordFeatureReservationForm #trigger {
	min-width: 90px;
    text-align: center;
    cursor: pointer;
    padding: 4px;
    margin-left: 6px;
    margin-right: 6px;
    color: grey;
    background: #f0f0f0;
	border: 1px solid #f0f0f0;
    border-radius: 8px;
}

#password_withLostPasswordFeatureReservationForm #trigger:hover {
	background-color: #fff;
	border: 1px solid #000;
}

.formRadioRow {
	display: flex;
	flex-direction: row;
	width: 100%;
	margin-top: 10px;
	user-select: none;
}

.formRadioRow input {
	width: 20px;
	height: 20px;
	margin-right: 10px;
}

.formRadioRow label {
	width: 100%;
}