/*
	CSS Stylesheet for Multi-Factor Authentication Login Popups
	Found on Login Page (/np-templates/views/login/welcome.inc)
	Author: Dinah C. - 2022.09.21
 */

/* Auth Popup */
.auth-popup .popup-header__2020, .auth-popup .popup-body__2020 {
	border: none !important;
}

.auth-popup .popup-header__2020 h3 {
	font-weight: normal;
}

.auth-popup .popup-body__2020 {
	padding-top: 0;
	border-radius: 0 0 15px 15px;
}

.auth-popup.login-popup .popup-header-pattern__2020 {
	display: none;
}

.auth-popup {
    margin:auto;
    border-radius:15px;
    padding:10px;
    box-sizing:border-box;
    -webkit-box-shadow: 0 5px 8px 3px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 5px 8px 3px rgba(0,0,0,0.5);
    box-shadow: 0 5px 8px 3px rgba(0,0,0,0.5);
}

.auth-popup label, .auth-popup p {
	display: block;
	text-align: center;
	margin: 10px auto;
	font-family: "Cafeteria", 'Arial Bold', sans-serif;
    letter-spacing: 0.5pt;
    font-size: 14pt;
}

.auth-popup .form__pincode {
	display: flex;
	width: 100%;
	max-width: 450px;
	margin: 10px auto 20px;
	padding: 0;
	justify-content: center;
	gap: 2%;
}

.auth-popup .form__pincode::before, .auth-popup .form__pincode::after {
	display: table;
	content: '';
}

.auth-popup input {
	display: inline-block;
	float: left;
	width: calc(100% / 6);
	height: 60px;
	line-height: 58px;
	text-align: center;
	font-size: 2em;
	border-radius: 15px;
	transition: background-color 0.3s, color 0.3s, opacity 0.3s;
	cursor: default;
	user-select: none;
	padding: 0;
	box-sizing: border-box;
}

.auth-popup button {
	max-width: 150px;
}

.auth-popup .button-grid2__2020 {
	max-width: 360px;
}

.auth-popup .button-grid2__2020 > button {
	margin: 10px auto;
}

.auth-popupErrorMsg {
	color: #570101;
	font-weight: bold;
}

.login-hide {
	display: none;
}

/* Show/Hide Alternate Authentication Codes */
.mfa-code-info {
	display: flex;
	flex-direction: row;
	overflow: hidden;
}
#mfaAuthInfo {
	width: 100%;
	height: fit-content;
	max-height: 250px;
	transition: width .3s ease-in-out;
}
#mfaAuthInfo.hide {
	width: 0;
	opacity: 0;
	height: 0;
}
#mfaBackupInfo {
	display: inline;
	width: 0;
	opacity: 0;
	height: 0;
	transition: width .3s ease-in-out;
}
#mfaBackupInfo.show {
	width: 100%;
	height: fit-content;
	max-height: 250px;
	opacity: 100%;
}

#mfaBackupInfo .form__group.form__pincode > * {
	height: 55px;
	line-height: 53px;
}

@media screen and (max-width: 450px) {
	.auth-popup label, .auth-popup p {
		font-size: 12pt;
	}

	.auth-popup .form__pincode {
		gap: 1%;
	}

	#mfaBackupInfo .form__group.form__pincode > * {
		height: 45px;
		line-height: 43px;
		font-size: 1em;
		font-weight: bold;
	}
}

@media screen and (max-width: 360px) {
	#mfaAuthInfo .form__group.form__pincode > * {
		height: 45px;
		line-height: 43px;
		font-size: 1em;
		font-weight: bold;
	}

	#mfaBackupInfo .auth-popup .form__pincode {
		width: 90%;
	}

	#mfaBackupInfo .form__group.form__pincode > * {
		height: 35px;
		line-height: 33px;
		border-width: 2px;
		border-radius: 10px;
	}
}

/* Birthday Popup */
#dobPopup.auth-popup .popup-body__2020 {
	padding-bottom: 0;
}

.auth-popup select {
	height: 50px;
	font-size: 14pt;
	border-radius: 15px;
	transition: background-color 0.3s, color 0.3s, opacity 0.3s;
	cursor: default;
	user-select: none;
	padding: 5px;
	box-sizing: border-box;
}

/* Login Page Colors */
.auth-popup.login-popup .popup-header__2020 h3, .auth-popup.login-popup p, .auth-popup.login-popup label, .auth-popup.login-popup input,
.auth-popup.login-popup select {
	color: #e8e8e8;
}

.auth-popup.login-bg1, .auth-popup.login-bg1 input, .auth-popup.login-bg1 .popup-header__2020, .auth-popup.login-bg1 .popup-body__2020,
.auth-popup.login-bg1 select {
    background-color: rgba(132,90,178,0.9);
    border:3px solid #4e2e78;
}

.auth-popup.login-bg2, .auth-popup.login-bg2 input, .auth-popup.login-bg2 .popup-header__2020, .auth-popup.login-bg2 .popup-body__2020,
.auth-popup.login-bg2 select {
    background-color: rgba(107,121,131,0.9);
    border:3px solid #414a51;
}

.auth-popup.login-bg3, .auth-popup.login-bg3 input, .auth-popup.login-bg3 .popup-header__2020, .auth-popup.login-bg3 .popup-body__2020,
.auth-popup.login-bg3 select {
    background-color: rgba(49,50,113,0.9);
    border:3px solid #131c43;
}

.auth-popup.login-popup a {
    text-decoration:none;
    color:#fedb29;
    font-family: "Cafeteria", 'Arial Bold', sans-serif; /* PLACEHOLDER */
    letter-spacing: 0.5pt;
}