/* EPPTS-1673: the password card shared by the screens where a user sets a new password, the same card as HOAIC
   (SI-618), Gulf States (GST-5059) and RHP (RHP-2213), in Evergreen's sign-in grays:
   - Forgot your password? (/users/passwordCode/Request.cfm and Change.cfm);
   - the change password screen (users/ChangePasswordMaint.cfm, the forced change included).
   A plain card, not the fixed-height sign-in panel: these screens list the password requirements and are taller than
   that image. Everything is scoped to .passwordCodeCard so the page around it is left alone. */
div.passwordCodeCard {
	width: 420px;
	margin: 0 auto;
	padding: 28px 34px 26px;
	background-color: #fff;
	border: 7px solid;
	border-color: #b1b3b5 #5f6163 #5f6163 #b1b3b5;
	text-align: left;
	font-family: Arial, sans-serif;
}

div.passwordCodeCard img.passwordCodeLogo {
	display: block;
	margin: 0 auto 18px;
}

div.passwordCodeCard .passwordCodeTitle {
	margin: 0 0 12px;
	color: #5f6163;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
}

div.passwordCodeCard .passwordCodeText {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.5;
	color: #2b2b2b;
}

div.passwordCodeCard .passwordCodeLabel {
	display: block;
	margin-top: 12px;
	color: #5f6163;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 200%;
}

div.passwordCodeCard input[type="text"],
div.passwordCodeCard input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	padding: 7px 8px;
	font-size: 14px;
	color: #2b2b2b;
	border: 1px solid #9aa5aa;
	border-radius: 3px;
}

div.passwordCodeCard button.passwordCodeButton {
	width: 100%;
	margin-top: 20px;
	padding: 8px 12px;
	cursor: pointer;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	background-color: #5f6163;
	border: 0;
	border-radius: 5px;
}

div.passwordCodeCard button.passwordCodeButton[disabled],
div.passwordCodeCard button.passwordCodeSendButton[disabled] {
	cursor: default;
	opacity: 0.6;
}

/* The code box with its Email Me a Code button beside it (change password screen) */
div.passwordCodeCard .passwordCodeRow {
	display: flex;
	gap: 8px;
}

div.passwordCodeCard .passwordCodeRow input[type="text"] {
	flex: 1;
}

div.passwordCodeCard button.passwordCodeSendButton {
	flex: none;
	padding: 7px 12px;
	cursor: pointer;
	color: #5f6163;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	background-color: #fff;
	border: 1.5px solid #5f6163;
	border-radius: 5px;
}

div.passwordCodeCard .passwordCodeSent {
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.4;
	color: #1b6e3c;
}

div.passwordCodeCard .passwordCodeSent.passwordCodeSentFailed {
	color: #b00020;
	font-weight: bold;
}

div.passwordCodeCard .passwordCodeLinks {
	display: flex;
	justify-content: center;
	gap: 28px;
	margin-top: 16px;
	font-size: 13px;
}

div.passwordCodeCard .passwordCodeLinks a:link,
div.passwordCodeCard .passwordCodeLinks a:visited,
div.passwordCodeCard .passwordCodeLinks a:active {
	color: #5f6163;
	font-weight: bold;
	text-decoration: none;
}

div.passwordCodeCard .passwordCodeLinks a:hover {
	text-decoration: underline;
}

div.passwordCodeCard .passwordCodeError {
	margin-top: 14px;
	color: #b00020;
	font-size: 13px;
	font-weight: bold;
	line-height: 1.4;
}

div.passwordCodeCard .passwordCodeNotice {
	margin: 0 0 14px;
	padding: 8px 10px;
	color: #8a4b00;
	background-color: #fff4e0;
	border: 1px solid #f0c987;
	border-radius: 3px;
	font-size: 13px;
	line-height: 1.45;
}

div.passwordCodeCard .passwordCodeValue {
	font-size: 14px;
	color: #2b2b2b;
}

/* Password requirements: each line has a box that ticks when the typed password meets it */
div.passwordCodeCard .passwordRequirements ul {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
}

div.passwordCodeCard .passwordRequirements li {
	position: relative;
	margin: 0 0 7px;
	padding-left: 26px;
	font-size: 13px;
	line-height: 1.4;
	color: #46555a;
}

div.passwordCodeCard .passwordRequirements li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 15px;
	height: 15px;
	box-sizing: border-box;
	border: 1.5px solid #9aa5aa;
	border-radius: 4px;
	background: #fff;
}

div.passwordCodeCard .passwordRequirements li.met {
	color: #1b6e3c;
}

div.passwordCodeCard .passwordRequirements li.met::before {
	border-color: #1b6e3c;
	background: #1b6e3c;
}

div.passwordCodeCard .passwordRequirements li.met::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 3px;
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

div.passwordCodeCard .passwordRequirementsNote {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.45;
	color: #6b777c;
}

/* The page around the card: the sign-in page's background, so these read as the same screens as the sign-in page
   rather than as a form inside the application's white content panel. */
div.passwordCodePage {
	min-height: 100vh;
	margin: 0;
	padding: 60px 0 40px;
	box-sizing: border-box;
	background-color: #fff;
	background-image: url("/images/login/ptsidea2.jpg");
	background-position: top;
	background-repeat: repeat-x;
	text-align: center;
}
