/* Pantalla de login — Marfil Oceanico */
html,
body.mo-sistema-body {
	margin: 0 !important;
	padding: 0 !important;
	min-height: 100%;
	background: #f3f4f6 !important;
}

body.mo-sistema-body .mo-theme-sistema,
body.mo-sistema-body #page,
body.mo-sistema-body site-main {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: none !important;
}

.mo-login-screen {
	box-sizing: border-box;
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 20px;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(182, 141, 44, 0.07), transparent 55%),
		linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
}

.mo-login-card {
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	background: #ffffff;
	border: 1px solid #e8eaed;
	border-radius: 20px;
	padding: 40px 36px 32px;
	box-shadow:
		0 1px 2px rgba(16, 24, 40, 0.04),
		0 12px 40px rgba(16, 24, 40, 0.08);
	text-align: center;
}

.mo-login-card__logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 8px;
	padding: 12px 8px 4px;
}

.mo-login-card__logo {
	display: block;
	width: 100%;
	max-width: 252px;
	height: auto;
	object-fit: contain;
}

.mo-login-card__brand-line {
	width: 48px;
	height: 3px;
	background: linear-gradient(90deg, transparent, #b68d2c, transparent);
	border-radius: 999px;
	margin: 0 auto 20px;
}

.mo-login-card__title {
	margin: 0 0 6px;
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #111111;
}

.mo-login-card__subtitle {
	margin: 0 0 28px;
	font-family: Inter, "Segoe UI", system-ui, sans-serif;
	font-size: 0.875rem;
	color: #6b7280;
	line-height: 1.45;
}

.mo-login-form {
	text-align: left;
}

.mo-login-form label {
	display: block;
	margin-bottom: 16px;
}

.mo-login-form label span {
	display: block;
	margin-bottom: 6px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #374151;
}

.mo-login-form input {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	background: #fafafa;
	color: #111827;
	font-size: 0.9375rem;
	font-family: Inter, "Segoe UI", system-ui, sans-serif;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.mo-login-form input:focus {
	outline: none;
	border-color: #b68d2c;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(182, 141, 44, 0.15);
}

.mo-login-form input::placeholder {
	color: #9ca3af;
}

.mo-login-form__error {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	font-size: 0.875rem;
	text-align: left;
}

.mo-login-form__submit {
	box-sizing: border-box;
	width: 100%;
	height: 50px;
	margin-top: 4px;
	border: none;
	border-radius: 999px;
	background: linear-gradient(180deg, #c49838 0%, #b68d2c 45%, #9a7524 100%);
	color: #ffffff;
	font-size: 0.9375rem;
	font-weight: 600;
	font-family: Inter, "Segoe UI", system-ui, sans-serif;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(182, 141, 44, 0.35);
	transition: transform 0.15s, box-shadow 0.15s;
}

.mo-login-form__submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(182, 141, 44, 0.4);
}

.mo-login-card__legal {
	margin: 20px 0 0;
	font-size: 0.75rem;
	color: #9ca3af;
	line-height: 1.4;
}

@media (max-width: 480px) {
	.mo-login-card {
		padding: 32px 24px 28px;
		border-radius: 16px;
	}

	.mo-login-card__logo {
		max-width: 210px;
	}
}
