/* Inlogpagina van het portaal. Kleuren uit de huisstijl van het thema. */

.cobs-portaal .section {
	padding: 3rem 0 5rem;
}

.cobs-portaal__kaart {
	padding: 2rem 1.5rem;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 4px 30px rgba(7, 37, 65, 0.1);
}

@media (min-width: 768px) {
	.cobs-portaal__kaart {
		padding: 2.5rem;
	}
}

.cobs-portaal__titel {
	margin-bottom: 1rem;
	font-size: 2rem;
}

.cobs-portaal__formulier label {
	display: block;
	margin-bottom: 0.4rem;
	font-weight: bold;
}

.cobs-portaal__formulier input {
	width: 100%;
	height: 52px;
	padding: 0 1rem;
	border: 1px solid #c9b3dc;
	border-radius: 7px;
	background: #fff;
	color: #1d1d1d;
	font-size: 16px;
}

.cobs-portaal__formulier input:focus-visible {
	outline: 2px solid #1d1d1d;
	outline-offset: 1px;
}

.cobs-portaal__knop {
	width: 100%;
	justify-content: center;
	min-height: 48px;
}

.cobs-portaal__keuze {
	display: grid;
	gap: 0.75rem;
}

/* Omgeving waar het wachtwoord afweek: naam met daaronder "met ander wachtwoord" */
.cobs-portaal__knop--ander {
	flex-direction: column;
	line-height: 1.3;
}

.cobs-portaal__knop--ander span {
	font-size: 14px;
	font-weight: normal;
}

.cobs-portaal__link {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

.cobs-portaal__melding {
	margin: 0 0 1.25rem;
	padding: 0.75rem 1rem;
	border-left: 4px solid #b32d2e;
	border-radius: 4px;
	background: #fcf0f1;
	color: #1d1d1d;
}

.cobs-portaal__voetnoot {
	margin: 1rem 0 0;
	font-size: 14px;
}

/* Knop Inloggen in de header (via de action cobs_header_knoppen van het thema) */

.cobs-portaal-knop.btn {
	border-color: #fff;
	background: transparent;
	color: #fff;
}

.cobs-portaal-knop.btn:hover,
.cobs-portaal-knop.btn:focus-visible {
	border-color: #fff;
	background: #fff;
	color: #8421d1;
}

.offcanvas-button .cobs-portaal-knop.btn {
	width: 100%;
	justify-content: center;
}

.cobs-portaal-knop--icoon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: #fff;
	font-size: 26px;
	line-height: 1;
}

.cobs-portaal-knop--icoon:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.15);
}

/* Op de smalste telefoons past de demoknop niet naast het inlogicoon; hij staat ook in het menu */
@media (max-width: 374.98px) {
	.mobile-nav-extra .nav-button--mobile {
		display: none;
	}
}

/* Modal */

.cobs-portaal-modal {
	width: calc(100% - 32px);
	max-width: 440px;
	max-height: calc(100% - 32px);
	padding: 0;
	border: 0;
	background: transparent;
	overflow: auto;
}

.cobs-portaal-modal::backdrop {
	background: rgba(29, 29, 29, 0.6);
}

.cobs-portaal-modal .cobs-portaal__kaart {
	position: relative;
}

.cobs-portaal-modal .cobs-portaal__titel {
	padding-right: 44px;
}

.cobs-portaal-modal__sluit {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #1d1d1d;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.cobs-portaal-modal__sluit:hover {
	background: #f0e3f9;
}

.cobs-portaal__knop[aria-busy="true"] {
	opacity: 0.6;
	cursor: progress;
}
