/* =====================================================
   Client Login – fully isolated under .exo-login-wrapper
   Updated: Logo image + Password toggle eye
   ===================================================== */

.exo-login-wrapper,
.exo-login-wrapper * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.exo-login-wrapper {
	all: initial;
	display: block;
	width: 100%;
	min-height: 70vh;
	background: linear-gradient(145deg, #f6f9fc 0%, #e9f0f5 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.exo-login-card {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 48px;
	box-shadow: 0 30px 60px -20px rgba(0, 20, 40, 0.25),
				0 10px 30px -10px rgba(0, 0, 0, 0.08);
	width: 100%;
	max-width: 440px;
	padding: 2.2rem 2rem 2.5rem;
	border: 1px solid rgba(255, 255, 255, 0.5);
	transition: all 0.2s ease;
}

/* Brand with Logo Image */
.exo-brand {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 2rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid rgba(31, 110, 140, 0.10);
}

.exo-brand img {
	height: 52px;
	width: auto;
	object-fit: contain;
	border-radius: 12px;
	background: rgba(255,255,255,0.3);
	padding: 4px;
}

.exo-brand h1 {
	font-size: 1.7rem;
	font-weight: 600;
	letter-spacing: -0.3px;
	color: #0b1e2e;
	margin: 0;
	line-height: 1.2;
}

.exo-brand h1 .highlight {
	font-weight: 300;
	color: #2c5778;
}

.exo-brand h1 .solutions {
	display: block;
	font-size: 1rem;
	font-weight: 400;
	color: #1f6e8c;
	letter-spacing: 0.5px;
	margin-top: 0.1rem;
}

/* Form fields */
.exo-field {
	margin-bottom: 1.6rem;
}

.exo-field label {
	display: block;
	font-size: 0.85rem;
	font-weight: 500;
	color: #1e3b4f;
	letter-spacing: 0.3px;
	margin-bottom: 0.4rem;
}

.exo-input-wrap {
	display: flex;
	align-items: center;
	background: white;
	border-radius: 40px;
	padding: 0.2rem 1.2rem;
	border: 1.5px solid #dce7ef;
	transition: all 0.2s;
	box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.exo-input-wrap:focus-within {
	border-color: #1f6e8c;
	box-shadow: 0 4px 12px rgba(26, 115, 150, 0.12);
}

.exo-input-wrap i {
	color: #5f7d95;
	font-size: 1.1rem;
	margin-right: 0.7rem;
	width: 1.2rem;
	opacity: 0.7;
}

.exo-input-wrap input {
	width: 100%;
	border: none;
	padding: 0.9rem 0;
	font-size: 1rem;
	background: transparent;
	outline: none;
	color: #0f293b;
	font-weight: 450;
	font-family: inherit;
}

.exo-input-wrap input::placeholder {
	color: #a7bccd;
	font-weight: 350;
}

/* Password Toggle Button */
.exo-toggle-btn {
	background: none;
	border: none;
	color: #5f7d95;
	font-size: 1.2rem;
	cursor: pointer;
	padding: 0.2rem 0.2rem 0.2rem 0.8rem;
	transition: 0.15s;
	opacity: 0.6;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.exo-toggle-btn:hover {
	opacity: 1;
	color: #1f6e8c;
}

/* Actions */
.exo-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 1.8rem 0 2rem;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.exo-remember {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9rem;
	color: #2b4d61;
	cursor: pointer;
}

.exo-remember input {
	accent-color: #1f6e8c;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.exo-forgot-btn {
	background: none;
	border: none;
	color: #1f6e8c;
	font-weight: 550;
	font-size: 0.9rem;
	cursor: pointer;
	padding: 0.3rem 0.8rem;
	border-radius: 30px;
	transition: 0.15s;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(31, 110, 140, 0.04);
	font-family: inherit;
}

.exo-forgot-btn i {
	font-size: 0.8rem;
}

.exo-forgot-btn:hover {
	background: rgba(31, 110, 140, 0.12);
	color: #0d4b62;
}

/* Login Button */
.exo-login-btn {
	width: 100%;
	padding: 0.9rem;
	background: #1f4b66;
	border: none;
	border-radius: 60px;
	color: white;
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0.3px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	cursor: pointer;
	transition: 0.2s;
	box-shadow: 0 10px 18px -8px rgba(26, 75, 100, 0.3);
	margin-top: 0.5rem;
	font-family: inherit;
}

.exo-login-btn i {
	font-size: 1.1rem;
}

.exo-login-btn:hover {
	background: #143b50;
	transform: scale(1.01);
	box-shadow: 0 14px 22px -10px #123b4e;
}

.exo-login-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

/* Modal */
.exo-modal-overlay {
	display: none;
	position: fixed;
	top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(8, 25, 38, 0.5);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 1.5rem;
	animation: exoFadeIn 0.2s ease;
}

.exo-modal-overlay.active {
	display: flex;
}

.exo-modal-card {
	background: white;
	max-width: 420px;
	width: 100%;
	border-radius: 48px;
	padding: 2.2rem 2rem 2.5rem;
	box-shadow: 0 40px 80px -20px rgba(0,0,0,0.3);
	position: relative;
	animation: exoSlideUp 0.25s ease;
	font-family: 'Inter', sans-serif;
}

@keyframes exoFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes exoSlideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.exo-modal-close {
	position: absolute;
	top: 1.2rem;
	right: 1.5rem;
	font-size: 1.6rem;
	color: #7f9aad;
	background: none;
	border: none;
	cursor: pointer;
	transition: 0.15s;
}

.exo-modal-close:hover { color: #1f3b4e; transform: rotate(90deg); }

.exo-modal-title {
	font-size: 1.6rem;
	font-weight: 600;
	color: #0b2638;
	margin-bottom: 0.3rem;
	display: flex;
	align-items: center;
	gap: 10px;
}

.exo-modal-title i { color: #1f6e8c; font-size: 1.8rem; }

.exo-modal-sub {
	color: #4d6b7e;
	margin-bottom: 1.8rem;
	font-size: 0.95rem;
}

.exo-modal-field {
	margin-bottom: 1.4rem;
}

.exo-modal-field label {
	display: block;
	font-weight: 500;
	color: #1a3b4f;
	font-size: 0.85rem;
	margin-bottom: 0.3rem;
}

.exo-modal-field input {
	width: 100%;
	padding: 0.9rem 1.2rem;
	border: 1.5px solid #dce7ef;
	border-radius: 60px;
	font-size: 1rem;
	background: #f9fcff;
	transition: 0.2s;
	outline: none;
	font-family: inherit;
}

.exo-modal-field input:focus {
	border-color: #1f6e8c;
	background: white;
	box-shadow: 0 0 0 4px rgba(31, 110, 140, 0.08);
}

.exo-modal-actions {
	display: flex;
	gap: 12px;
	margin-top: 1.8rem;
	flex-wrap: wrap;
}

.exo-modal-actions button {
	flex: 1;
	padding: 0.8rem 0.4rem;
	border-radius: 60px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: 0.15s;
	background: #e6edf4;
	color: #1b4057;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 120px;
	font-family: inherit;
}

.exo-modal-actions .exo-primary-btn {
	background: #1f4b66;
	color: white;
	box-shadow: 0 6px 14px rgba(26, 75, 100, 0.2);
}

.exo-modal-actions .exo-primary-btn:hover {
	background: #123a4f;
}

.exo-modal-actions .exo-secondary-btn {
	background: #e2ecf3;
}

.exo-modal-actions .exo-secondary-btn:hover {
	background: #d0dfea;
}

.exo-otp-message {
	margin: 1rem 0 0.5rem;
	padding: 0.7rem 1rem;
	background: #e6f4f0;
	border-radius: 40px;
	font-size: 0.9rem;
	color: #146454;
	display: none;
	align-items: center;
	gap: 8px;
}

.exo-otp-message.show {
	display: flex;
}

/* Responsive */
@media (max-width: 480px) {
	.exo-login-card { padding: 1.8rem 1.3rem; border-radius: 32px; }
	.exo-brand h1 { font-size: 1.4rem; }
	.exo-brand h1 .solutions { font-size: 0.9rem; }
	.exo-brand img { height: 42px; }
	.exo-modal-card { padding: 1.8rem 1.3rem; }
	.exo-actions { flex-direction: column; align-items: flex-start; }
	.exo-forgot-btn { padding-left: 0; }
}