

/* ---------- Page / stage ------------------------------------------------- */

.login-stage {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding: 32px 16px;
	box-sizing: border-box;
}

/* ---------- Card --------------------------------------------------------- */

.login-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 30px;
	width: 305px;
	background: var(--white);
	border-radius: 12px;
	border: 1px solid rgba(11, 12, 13, 0.10);
	box-shadow: 0 6px 25px 0 rgba(0, 0, 0, 0.12);
	padding: 30px;
	box-sizing: border-box;
}

/* ---------- Brand row ---------------------------------------------------- */

.login-brand {
	display: flex;
	align-items: flex-start;
	gap: 0;
}

.login-brand__logo {
	display: inline-block;
	font-family: 'bell-icon';
	font-size: 44px;
	color: var(--primary-blue);
	line-height: 1;
	flex-shrink: 0;
	align-self: flex-end;
}
.login-brand__logo::before {
	content: "\e600";
}

.login-brand__sep {
	width: 1px;
	height: 46px;
	background: var(--grey);
	align-self: flex-end;
	flex-shrink: 0;
	margin-left: 10px;
	margin-right: 10px;
}

.login-brand__sub {
	display: flex;
	flex-direction: column;
	font-family: 'bellslim_font_black', 'BellSlimSemiBoldRegular', Arial, sans-serif;
	font-size: 26px;
	font-style: normal;
	font-weight: 900;
	color: var(--black);
	line-height: 28px;
	letter-spacing: -0.4px;
	align-self: flex-end;
	margin-bottom: -5px;
}

/* ---------- Title -------------------------------------------------------- */

.login-title {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 15px;
	align-self: stretch;
	font-family: 'bellslim_font_black', 'BellSlimSemiBoldRegular', Arial, sans-serif;
	font-size: 26px;
	font-style: normal;
	font-weight: 900;
	color: var(--black);
	line-height: 28px;
	letter-spacing: -0.4px;
}

/* ---------- Universal Access button (internal only) ---------------------- */

#buiContainer,
#buaContainer {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 30px;
	align-self: stretch;
	width: 100%;
}

.btn-universal-access {
	-webkit-appearance: none;
	appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	align-self: stretch;
	width: auto;
	height: 56px;
	margin: 0;
	padding: 18px 32px;
	background: var(--white);
	border: 1px solid var(--blue-grey);
	border-radius: 40px;
	color: var(--primary-blue);
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 100%;
	cursor: pointer;
	box-sizing: border-box;
}

.btn-universal-access__icon {
	display: inline-block;
	font-family: 'bell-icon';
	width: 22.277px;
	height: var(--button-icon-size, 12px);
	font-size: var(--button-icon-size, 12px);
	color: var(--primary-blue);
	line-height: 1;
	flex-shrink: 0;
}
.btn-universal-access__icon::before {
	content: "\e600";
}

.btn-universal-access__label {
	font-weight: 400;
}

/* ---------- Divider (internal only) -------------------------------------- */

.divider {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	align-self: stretch;
	margin: 0;
}

.divider__line {
	flex: 1;
	height: 1px;
	background: var(--medium-grey);
}

.divider__label {
	color: var(--dark-grey);
	text-align: center;
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 14px;
	letter-spacing: 0;
	flex-shrink: 0;
}

/* ---------- Spacing ------------------------------------------------------- */

.login-card--external .login-title {
	margin-bottom: 0;
}

.login-card form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
	align-self: stretch;
	margin: 0;
	padding: 0;
}

/* ---------- Info message -------------------------------------------------- */

.authentication-info {
	position: fixed;
	top: 34px;
	right: 28px;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 15px;
	width: 278px;
	min-height: 56px;
	padding: 10px 14px;
	background: var(--white);
	border-radius: 8px;
	border-bottom: 2px solid var(--green);
	box-shadow: 0 10px 28px 0 rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
}

.authentication-info__icon {
	display: inline-block;
	font-family: 'bell-bbm';
	font-size: 28px;
	line-height: 1;
	color: var(--green);
	-webkit-font-smoothing: antialiased;
	flex-shrink: 0;
}

.authentication-info__icon::before {
	content: "\e94d";
}

.authentication-info__text {
	flex: 1;
	color: var(--dark-grey);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 14px;
}

.authentication-info__close {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--secondary-blue);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
}
/* ---------- Inline authentication message --------------------------------- */

.authentication-message,
.authentication-error {
	display: flex;
	align-items: flex-start;
	gap: 5px;
	align-self: stretch;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 14px;
	text-align: left;
	box-sizing: border-box;
}

.authentication-message::before,
.authentication-error::before {
	content: "!";
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	color: var(--white);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 14px;
	text-align: center;
	-webkit-font-smoothing: antialiased;
	flex-shrink: 0;
}

.authentication-message--error,
.authentication-error {
	color: var(--red);
}

.authentication-message--error::before,
.authentication-error::before {
	background: var(--red);
}

.authentication-message--warning {
	color: var(--dark-grey);
}

.authentication-message--warning::before {
	background: var(--yellow);
}


#loginContainer,
#mfaContainer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
	align-self: stretch;
	width: 100%;
}

#mfaMessage {
	align-self: stretch;
	margin: 0;
	color: var(--black);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px;
}

#mfaMessage p {
	margin: 0;
}

#mfaMessage a {
	color: var(--secondary-blue) !important;
	text-decoration: underline;
}

#mfaMessage a:hover {
	color: var(--primary-blue) !important;
}

/* ---------- Form fields -------------------------------------------------- */

.field + .field {
	margin-top: 0;
}

.field {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	width: 241px;
}

.field__label {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	color: var(--black);
	line-height: 18px;
	letter-spacing: 0;
	margin-bottom: 0;
}

.field__control {
	display: flex;
	height: 36px;
	padding: 8px 5px;
	align-items: center;
	align-self: stretch;
	border-radius: 4px;
	border: 1px solid rgba(11, 12, 13, 0.40);
	background: var(--white);
	box-sizing: border-box;
}

.field__input {
	-webkit-appearance: none;
	appearance: none;
	flex: 1 0 0;
	overflow: hidden;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	outline: none;
	color: var(--black);
	text-overflow: ellipsis;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px;
	letter-spacing: 0;
	box-sizing: border-box;
}

.field__input:focus {
	outline: none;
}

.field__control:focus-within {
	border-color: var(--primary-blue);
	box-shadow: 0 0 0 2px rgba(0, 84, 159, 0.12);
}

/* ---------- GetAccess-rendered form fields -------------------------------- */

.ga-dyn-table,
.ga-dyn-table .field__control > div,
.ga-dyn-table .field__control .inner-addon {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	width: 100%;
}

.ga-dyn-table {
	gap: 15px;
}

.ga-dyn-table .field__control .glyphicon {
	display: none;
}

.ga-dyn-table input:not([type="hidden"]) {
	-webkit-appearance: none;
	appearance: none;
	flex: 1 0 0;
	overflow: hidden;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	outline: none;
	color: var(--black);
	text-overflow: ellipsis;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px;
	letter-spacing: 0;
	box-sizing: border-box;
}

/* ---------- Primary button ---------------------------------------------- */

.btn-primary {
	-webkit-appearance: none;
	appearance: none;
	display: flex;
	height: 56px;
	padding: 18px 32px;
	justify-content: center;
	align-items: center;
	align-self: stretch;
	margin-top: 0;
	background: var(--electric-blue);
	color: var(--white);
	border: 0;
	border-radius: 40px;
	font-family: 'BellSlimSemiBoldRegular', 'BellSlimMediumRegular', Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-sizing: border-box;
}

.btn-primary:hover {
	background: var(--primary-blue);
}

/* ---------- Secondary links --------------------------------------------- */

.login-links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	margin-top: 0;
	align-self: stretch;
}

.login-links:empty {
	display: none;
}

.login-links a {
	color: var(--secondary-blue) !important;
	text-align: right;
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px;
	letter-spacing: 0;
	text-decoration: underline;
}

.login-links a:hover {
	color: var(--primary-blue) !important;
	text-decoration: underline;
}

/* ---------- Language toggle (outside card) ------------------------------- */

.lang-toggle {
	margin-top: 28px;
	font-size: 13px;
	color: var(--dark-grey);
	line-height: 1;
}

.lang-toggle a {
	color: var(--dark-grey) !important;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
}

.lang-toggle a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 767px) {
	.login-card {
		width: 90%;
		max-width: 301px;
	}
	.field {
		width: 100%;
	}
	.authentication-info {
		top: 16px;
		right: 16px;
		left: 16px;
		width: auto;
	}
}

@media (max-width: 479px) {
	html {
		min-width: 299px;
	}
	body {
		background-color: var(--white);
	}
	.login-stage {
		justify-content: center;
		align-items: center;
		width: 100%;
		min-width: 0;
		min-height: 100vh;
		padding: 32px 0;
		background-color: var(--white);
	}
	.login-card {
		width: 100%;
		max-width: 299px;
		margin: 0 auto;
		border: none;
		box-shadow: none;
	}
	.field {
		width: 100%;
	}
	.lang-toggle {
		display: flex;
		justify-content: center;
		align-items: center;
	}
}
