/* Validation styles - list control body (with frame) */
.lc .lcb input.clsDataError, .lc .lcb select.clsDataError {
	background-color: red;
	color: white;
}

/* Validation styles - list control body (without frame) */
.lc_nf .lcb input.clsDataError, .lc_nf .lcb select.clsDataError {
	background-color: red;
	color: white;
}

/* Validation styles - treelist control body (with frame) */
.tlc .tlcb input.clsDataError, .tlc .tlcb select.clsDataError {
	background-color: red;
	color: white;
}

/* Validation styles - treelist control body (without frame) */
.tlc_nf .tlcb input.clsDataError, .tlc_nf .tlcb select.clsDataError {
	background-color: red;
	color: white;
}

/* Validation styles - form control (with frame) */
.fc .fd input.clsDataError, .fc .fd select.clsDataError {
	background-color: red;
	color: white;
}

/* Validation styles - form control (without frame) */
.fc_nf .fd input.clsDataError, .fc_nf .fd select.clsDataError {
	background-color: red;
	color: white;
}

/* Drilldown Hyperlinks Underlined */
.lc .lcb tr td .drilldownUnderline a {
	align: left;
	text-decoration: underline;
	color: #0000FF;
	padding: 3px;
}

/* Drilldown Hyperlinks No-Underline */
.lc .lcb tr td .drilldownNoUnderline a {
	text-decoration: none;
	color: black;
	align: left;
	padding: 3px;
}

/* Validation styles - data class inside div tag */
div.data {
	color: #185D96;
	font-weight: bold;
}

bodyelement {
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 15px;
}

.container {
	max-width: 420px;
	margin: 60px auto;
	padding: 30px 25px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	font-family: "Segoe UI", sans-serif;
	text-align: center;
}

.logon-input-container {
	max-width: 350px !important;
}

.logo {
	width: 100px;
	margin: 0 auto 20px;
	display: block;
}

.box {
	background: #f3f6fd;
	padding: 25px;
	border-radius: 6px;
	margin-bottom: 30px;
}

.box h2 {
	color: #2d63c7;
	margin-bottom: 8px;
	font-size: 1.5rem;
}

.box p {
	font-size: 0.95rem;
	color: #444;
}

.mfa-input {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-top: 20px;
}

.mfa-input label {
	font-weight: 600;
	font-size: 1rem;
	color: #333;
}

.mfa-input input[type="password"] {
	padding: 10px 12px;
	font-size: 1rem;
	border: 2px solid #ccc;
	border-radius: 5px;
	transition: border-color 0.2s;
}

.mfa-input input[type="password"]:focus {
	outline: none;
	border-color: #2d63c7;
}

.mfa-input .form-control-static {
	font-size: 1rem;
	color: #222;
	font-weight: bold;
}

.mfa-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.trust-device-label {
	margin-top: .5rem;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}

.struts-button, .btn, input[type="submit"], .s:submit {
	padding: 10px 22px;
	font-size: 1rem;
	background-color: #2d63c7;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.2s, box-shadow 0.2s;
}

.struts-button:hover {
	background-color: #1f4ea3;
	box-shadow: 0 0 0 2px rgba(45, 99, 199, 0.2);
}

.mfa-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.95rem;
	color: #444;
	margin-top: 10px;
}

.mfa-input-horizontal {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin-top: 25px;
	flex-wrap: wrap;
}

.mfa-input-horizontal input[type="password"] {
	padding: 10px 12px;
	font-size: 1rem;
	border: 2px solid #ccc;
	border-radius: 5px;
	transition: border-color 0.2s ease;
}

.mfa-input-horizontal input[type="password"]:focus {
	outline: none;
	border-color: #2d63c7;
}

.struts-button {
	padding: 10px 20px;
	font-size: 1rem;
	background-color: #2d63c7;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.struts-button:hover {
	background-color: #1f4ea3;
	box-shadow: 0 0 0 2px rgba(45, 99, 199, 0.2);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

@media ( max-width : 500px) {
	.setup-box {
		flex-direction: column;
		align-items: center;
	}
	.otp-info {
		text-align: center;
	}
}

.mfa-setup-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
	margin-top: 30px;
}

.mfa-label {
	font-weight: 600;
	font-size: 1rem;
	color: #333;
	white-space: nowrap;
}

.mfa-input-box {
	padding: 10px 14px;
	font-size: 1rem;
	border: 2px solid #ccc;
	border-radius: 5px;
	transition: border-color 0.2s ease;
}

.mfa-input-box:focus {
	outline: none;
	border-color: #2d63c7;
}

.mfa-button {
	background-color: #2d63c7;
	color: #fff;
	font-size: 1rem;
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.mfa-button:hover {
	background-color: #1f4ea3;
	box-shadow: 0 0 0 2px rgba(45, 99, 199, 0.15);
}

.login-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 20px;
	align-items: center;
}

.form-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	max-width: 300px;
}

.form-group label {
	font-weight: 600;
	margin-bottom: 6px;
	color: #333;
}

.form-group input {
	padding: 10px 12px;
	font-size: 1rem;
	width: 100%;
	border: 2px solid #ccc;
	border-radius: 5px;
	transition: border-color 0.2s ease;
}

.form-group input:focus {
	border-color: #2d63c7;
	outline: none;
}

.button-row {
	display: flex;
	gap: 15px;
	justify-content: center;
	flex-wrap: wrap;
}

.alt-button {
	background-color: #6c757d; /* Bootstrap gray */
}

.alt-button:hover {
	background-color: #5a6268;
}

.floating-group {
	position: relative;
	margin-bottom: 24px;
	width: 100%;
	max-width: 300px;
}

.floating-group input {
	width: 100%;
	padding: 12px 12px;
	font-size: 1rem;
	border: 2px solid #ccc;
	border-radius: 5px;
	background: none;
	outline: none;
	transition: border-color 0.2s ease;
}

.floating-group input:focus {
	border-color: #2d63c7;
}

.floating-group label {
	position: absolute;
	top: 50%;
	left: 12px;
	color: #666;
	background: white;
	padding: 0 4px;
	transform: translateY(-50%);
	transition: 0.2s ease all;
	pointer-events: none;
	font-size: 1rem;
}

/* Float the label when focused or value is present */
.floating-group input:focus+label, .floating-group input:not(:placeholder-shown)+label
	{
	top: -8px;
	left: 8px;
	font-size: 0.8rem;
	color: #2d63c7;
}

.otp-row {
	display: flex;
	justify-content: center;
	column-gap: 10px;
	margin: .5rem 0;
	margin-bottom: .5rem;
}

.otp-box {
	width: 44px;
	height: 52px;
	text-align: center;
	font-size: 22px;
	border: 2px solid #5bc0de;
	border-radius: 8px;
	background: #f9feff;
	outline: none;
}

.otp-box:focus {
	border-color: #2d5e88;
	box-shadow: 0 0 4px rgba(45, 94, 136, .6);
}