body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #001f5a;
    background: url(/background-05792f7b57541dd39fcf049da7e56b41.jpg), rgba(0,31,90,.5);
    background-size: cover;
    background-blend-mode: overlay;
}

.header {
    width: 100%;
    height: 55px;
    background-color: white;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.header img {
    height: 35px;
}

.header img.tagline {
    height: 18px;
    padding-top: 8px;
    padding-left: 80px;
}

.login-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px;
    margin-top: 20px;
    text-align: center;
}

.login-input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    outline: 1px solid #888888;
}

.login-input:focus {
    outline: 2px solid #ff8c00;
}

.login-button, .forgot-password-button {
	display: block;
	position: relative;
    background-color: #001f5a;
    color: white;
    padding: 10px;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
}

.login-button:hover:not(:disabled), .forgot-password-button:hover:not(:disabled) {
    background-color: #2662fc;
}

.login-button:disabled, .forgot-password-button:disabled {
	cursor: not-allowed;
    background-color: #ccc;
}

.spin .spinner {
	left: -.6em;
	top: .3em;
	width: 2.5em;
	display: block;
	position: absolute;
}

@keyframes spinner {
	0% {
    	transform: rotate(0deg);
	}
  	100% {
		transform: rotate(360deg);
	}
}

.spin .spinner::before {
	content: "";
	width: 1.5em;
	height: 1.5em;
	position: absolute;
	top: 50%;
	left: 50%;
	border-radius: 50%;
	border: solid .35em #999;
	border-bottom-color: #001f5a;
	animation: .8s linear infinite spinner;
	transform: translate(-50%, -50%);
	will-change: transform;
}

h3 {
    font-size: 12px;
    color: #c80000;
    margin-bottom: 0px;
    text-wrap: balance;
}

.field-error {
    font-size: 13px;
    color: #c80000;
    margin: 6px 0 0;
    line-height: 1.4;
}

.field-error ul {
    margin: 4px 0 0;
    padding-left: 18px;
}

h3.success {
	font-size: 16px;
    color: #006400;
    margin-bottom: 0px;
}

footer {
    display: flex;
    margin-top: 20px;
    color: white;
    background-color: #2d2d2d;
    font-size: 12px;
    text-align: center;
    justify-content: center;
}

footer .disclaimer {
    width: 75%;
}

/* ===== Create Password / Confirmation experience ===== */

.page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    width: 100%;
    padding: 24px 16px;
    box-sizing: border-box;
}

.page-title {
    color: #ffffff;
    font-size: 28px;
    margin: 0 0 8px;
    text-align: center;
}

.page-subtitle {
    color: #e3eaf5;
    font-size: 14px;
    margin: 0 0 8px;
    text-align: center;
}

.login-container.create-password {
    width: 340px;
    text-align: left;
}

.userid-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f1f5fb;
    border: 1px solid #dbe4f0;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 18px;
}

.userid-info {
    display: flex;
    flex-direction: column;
}

.userid-label {
    font-size: 12px;
    color: #5a6b80;
}

.userid-value {
    font-size: 16px;
    font-weight: 700;
    color: #001f5a;
    letter-spacing: 1px;
}

.userid-hint {
    font-size: 12px;
    color: #5a6b80;
}

.field-group {
    margin-bottom: 14px;
}

.field-label {
    display: block;
    font-size: 13px;
    color: #33414f;
    margin-bottom: 4px;
}

.password-field {
    position: relative;
}

.password-field .login-input {
    padding-right: 40px;
    margin: 0;
}

.toggle-visibility {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #5a6b80;
    cursor: pointer;
    padding: 0;
}

.toggle-visibility:hover {
    color: #001f5a;
}

.toggle-visibility:focus-visible {
    outline: 2px solid #ff8c00;
    outline-offset: -2px;
}

.toggle-visibility .icon-eye-slash {
    display: none;
}

.toggle-visibility.revealed .icon-eye {
    display: none;
}

.toggle-visibility.revealed .icon-eye-slash {
    display: block;
}

.requirements {
    background-color: #f7f9fc;
    border: 1px solid #e3e9f2;
    border-radius: 6px;
    padding: 12px 14px;
    margin: 4px 0 16px;
}

.requirements-title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #001f5a;
}

.requirements ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.requirements li {
    position: relative;
    padding-left: 22px;
    margin: 4px 0;
    font-size: 13px;
    color: #6b7785;
}

.requirements li::before {
    content: "\25CB";
    position: absolute;
    left: 0;
    top: 0;
    color: #c2cad4;
    font-weight: 700;
}

.requirements li.valid {
    color: #2e9e5b;
}

.requirements li.valid::before {
    content: "\2713";
    color: #2e9e5b;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.create-password .h-captcha {
    /* hCaptcha renders a fixed-width iframe; just center it in the card. */
    display: flex;
    justify-content: center;
    margin: 8px 0 16px;
}

.create-password .login-button {
    margin-top: 6px;
}

/* Success / confirmation card */

.login-container.success-card {
    width: 360px;
    text-align: center;
    padding: 48px 40px;
}

.success-icon, .error-icon {
    margin-bottom: 12px;
}

.success-title {
    color: #001f5a;
    font-size: 20px;
    margin: 0 0 10px;
}

.success-text {
    color: #33414f;
    font-size: 14px;
    margin: 0 0 6px;
}

.redirect-status {
    color: #001f5a;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 18px;
}

.redirect-status .countdown-number {
    font-weight: 700;
}

.login-button.link-button {
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.login-button.link-button:hover {
    color: white;
}

a:focus-visible,
.login-button:focus-visible,
.login-input:focus-visible {
    outline: 2px solid #ff8c00;
    outline-offset: 1px;
}

