:root {
	--md-cellera-navy: #4a556e;
	--md-cellera-yellow: #ffdf59;
	--md-cellera-light-yellow: #fff3c2;
	--md-cellera-gray: #e9ecf1;
}

.md-cellera-layout {
	font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	min-height: 100vh;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: url("https://metadoctors.com.br/app/wp-content/uploads/2026/04/background.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.md-cellera-grid {
	max-width: 1200px;
	width: min(1200px, 100%);
	margin: 0;
	display: grid;
	grid-template-columns: minmax(320px, 1fr) minmax(320px, 460px);
	gap: 56px;
	align-items: center;
}

.md-cellera-left {
	color: var(--md-cellera-navy);
}

.md-cellera-logo-main {
	height: 112px;
	max-width: 100%;
	object-fit: contain;
}

.md-cellera-title {
	margin: 83px 0 35px;
    font-family: "brother-xs", sans-serif !important;
    font-weight: normal;
    font-size: 65px;
    line-height: 1.15;
    color: #4C546F;
}

.md-cellera-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.md-cellera-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--md-cellera-navy);
	color: #fff;
	border-radius: 999px;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 700;
}

.md-cellera-badge-icon {
	display: block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	object-fit: contain;
}

.md-cellera-partners {
	margin-top: 84px;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
}

.md-cellera-partner {
	height: 30px;
	width: auto;
	opacity: 0.85;
}

.md-cellera-right {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.md-cellera-card {
	background: #fff;
	border-radius: 32px;
	padding: 36px 32px;
	width: 100%;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.md-cellera-card-title {
	color: var(--md-cellera-navy);
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 28px;
}

.md-cellera-field {
	margin-bottom: 14px;
}

.md-cellera-field input {
	width: 100%;
	background: var(--md-cellera-gray);
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 14px 20px;
	font-size: 16px;
	color: var(--md-cellera-navy);
}

.md-cellera-field input:focus {
	outline: none;
	border-color: var(--md-cellera-yellow);
	box-shadow: 0 0 0 2px rgba(255, 223, 89, 0.25);
}

.md-cellera-forgot-wrap {
	margin-top: 6px;
}

.md-cellera-forgot {
	color: rgba(74, 85, 110, 0.75);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.md-cellera-forgot:hover {
	color: var(--md-cellera-navy);
}

.md-cellera-actions {
	margin-top: 24px;
}

.md-cellera-submit {
	background: var(--md-cellera-yellow);
	color: var(--md-cellera-navy);
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	padding: 12px 32px;
	cursor: pointer;
}

.md-cellera-submit:hover {
	filter: brightness(0.97);
}

.md-cellera-message {
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14px;
}

.md-cellera-message.success {
	background: #d4edda;
	color: #155724;
}

.md-cellera-message.error {
	background: #f8d7da;
	color: #721c24;
}

.md-field-error {
	color: #d32f2f;
	font-size: 12px;
	display: block;
	margin-top: 6px;
	margin-left: 14px;
}

.md-cellera-register {
	margin-top: 24px;
	text-align: center;
}

.md-cellera-register p {
	color: rgba(74, 85, 110, 0.75);
	margin-bottom: 12px;
}

.md-cellera-register-link {
	display: inline-block;
	border: 1px solid var(--md-cellera-navy);
	border-radius: 999px;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--md-cellera-navy);
	text-decoration: none;
	background: rgba(255, 243, 194, 0.3);
}

.md-cellera-register-link:hover {
	background: rgba(255, 243, 194, 0.6);
}

#md-loading {
	position: fixed;
	inset: 0;
	background: rgba(255, 255, 255, 0.85);
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.md-loading-content {
	text-align: center;
	background: #fff;
	padding: 28px;
	border-radius: 12px;
}

.md-loading-spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid var(--md-cellera-navy);
	border-radius: 50%;
	width: 38px;
	height: 38px;
	animation: md-cellera-spin 1s linear infinite;
	margin: 0 auto 10px;
}

@keyframes md-cellera-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

@media (max-width: 900px) {
	.md-cellera-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.md-cellera-partners {
		margin-top: 32px;
	}

	.md-cellera-card {
		padding: 28px 22px;
	}
}
