/* Page Layout */
.navbar {
	margin-bottom: 0 !important;
}

.login-page-wrap {
	min-height: calc(100vh - 65px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: #f9fafb;
}

.login-card {
	width: 100%;
	max-width: 880px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-top: 3px solid var(--bpi-red);
	border-radius: 10px;
	overflow: hidden;
	box-sizing: 0 5px 12px rgba(0, 0, 0, 0.30);
}

.login-card-header {
	padding: 16px 32px;
	border-bottom: 1px solid #e5e7eb;
	background: #ffffff;
}

.login-card-header h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--content-text);
	margin: 0;
}

.login-card-body {
	display: flex;
}

.login-left {
	flex: 0 0 45%;
	padding: 28px 32px;
	border-right: 1px solid #e5e7eb;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	gap: 14px;
}


.login-left em {
	font-style: italic;
	font-size: 14px;
	line-height: 1.8;
	color: #6b7280;
	display: block;
	text-align: justify;
}

.login-right {
	flex: 1;
	padding: 28px 32px;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: center;
}


/* Forms */
.login-input-wrap {
	position: relative;
}

.login-input-wrap i {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #6b7280;
	font-size: 12px;
}

.login-input-wrap .form-control {
	padding-left: 30px;
}

.form-control:focus {
	border-color: var(--bpi-red);
	box-shadow: 0 0 0 3px rgba(177, 17, 22, 0.10);
	outline: none;
}


/* ReCapthca */
.recaptcha {
	margin-top: 6px;
	margin-bottom: 6px;
	overflow: hidden;
}


/* Submit Button */
#login-submit-btn {
	width: 100% !important;
	margin-top: 8px;
	letter-spacing: 0.06em;
}

/* Otp Modal */
#email-login-modal .modal-content {
	border-top: 3px solid var(--bpi-red);
	border-radius: 6px;
	overflow: hidden;
}

#email-login-modal .modal-header {
	background-image: none !important;
	background-color: #ffffff !important;
	border-bottom: 1px solid #e5e7eb;
	border-radius: 0;
}

#email-login-modal .modal-header .modal-title {
	color: var(--content-text) !important;
	font-weight: 600;
}

#email-login-modal .modal-header .close {
	color: #6b7280 !important;
	opacity: 0.80;
	text-shadow: none;
}

#email-login-modal .modal-header .close:hover {
	color: var(--content-text) !important;
	opacity: 1;
}


/* OPT Section */
#otp-section {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #e5e7eb;
	font-size: 12px;
}

#otp-section b {
	font-size: 13px;
	display: block;
	margin-bottom: 6px;
}

#otp-section p {
	color: #6b7280;
	line-height: 1.5;
	margin-bottom: 10px;
}

/*
#otp-section a.send-otp {
	color: var(--bpi-red);
	font-weight: 600;
	text-decoration: none;
}

#otp-section a.send-otp:hover {
	text-decoration: underline;
}
*/

/* OTP Modal */
.otp-container {
	text-align: center;
	margin: 0 auto;
	max-width: 400px;
}

.otp-container > p {
	font-size: 13px;
	margin-bottom: 16px;
}

.otp-inputs {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-bottom: 18px;
}

.otp-inputs input {
	width: 38px;
	height: 46px;
	font-size: 20px;
	text-align: center;
	border: 1px solid #e5e7eb;
	border-radius: 5px;
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15;
}

.otp-inputs input:focus {
	border-color: var(--bpi-red);
	box-shadow: 0 0 0 3px rgba(177, 17, 22, 0.10);
	
}

.resend-container {
	text-align: center;
	font-size: 12px;
	color: #6b7280;	
}

.resend-container a {
	color: var(--bpi-red);
	font-weight: 600;
	text-decoration: none;
}

.resend-container a:hover {
	text-decoration: underline;
}

/* Troubleshooting Tips */
.troubleshooting-tips {
	margin-top: 14px;
}

.troubleshooting-tips details {
	background: #f9f9f9;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 6px;
}

.troubleshooting-tips summary {
	font-size: 12px;
	cursor: pointer;
	user-select: none;
	display: flex;
	align-items: center;
	gap: 6px;
	color: #6b7280;
	list-style: none;
}

.troubleshooting-tips summary .fa-lightbulb-o {
	color: #f59e0b;
}

.troubleshooting-tips summary::-webkit-details-marker {
	display: none;
}

.troubleshooting-tips summary::before {
	content: "▶";
	font-size: 9px;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.troubleshooting-tips details[open] summary::before {
	transform: rotate(90deg);
}

.troubleshooting-tips p,
.troubleshooting-tips ol {
	margin-top: 10px;
	font-size: 11px;
	color: #6b7280;
}

.troubleshooting-tips ol {
	padding-left: 18px;
	line-height: 1.9;
}

.troubleshooting-tips a {
	/* color: var(--bpi-red); */
	text-decoration: none;
}


.troubleshooting-tips a:hover {
	/* color: var(--bpi-red); */
	font-weight: inherit;
	text-decoration: underline;
}

/* Page Footer */
.login-page-footer {
	width: 100%;
	max-width: 880px;
	margin-top: 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 10px;
	color: #6b7280;
	padding: 0 2px;
}

.login-page-footer a {
	color: #6b7280;
	text-decoration: none;
}

.login-page-footer a:hover {
	text-decoration: underline;
}

/* Disable Link */
.disabled-link {
	pointer-events: none;
	color: gray;
	text-decoration: none;
	cursor: not-allowed;
}

/* Responsive */
@media (max-width: 640px) {
	.login-page-wrap 	{ padding: 20px 12px 12px }
	.login-card-body 	{ flex-direction: column }
	.login-card-header 	{ padding: 14px 20px; }
	.login-left {
		flex			: none; 
		border-right	: none; 
		border-bottom	: 1px solid #e5e7eb; 
		padding			: 24px 20px;	
	}
	.login-right { padding: 24px 20px; }
}

@media (max-width: 480px) {
	.login-page-wrap {
		padding: 12px 10px 10px;
		align-items: stretch;
		 
	}
	.login-card			{ border-radius: 6px }
	.login-card-header 	{ padding: 12px 16px; }
	.login-left 		{ padding: 18px 16px; }
	.login-right 		{ padding: 18px 16px; }
	.login-page-footer {
		flex-direction	: column; 
		gap				: 6px; 
		text-align		: center;
	}
	.otp-inputs input {
		width			: 32px !important; 
		height			: 40px !important; 
		font-size		: 16px; 
	}
}
























