:root {
	--mma-blue: #294a9b;
	--mma-accent: #6b7cff;
	--mma-accent-dark: #5365f5;
	--mma-soft: #dce5f2;
	--mma-text: #1d2c4d;
	--mma-hospital: #875a7b;
	--mma-teal: #00a09d;
}

body:has(.mma-login-shell),
body:has(.mma-home-shell) {
	background: #7282f7;
	min-height: 100vh;
}

html:has(.mma-login-shell),
body:has(.mma-login-shell) {
	height: 100vh;
	overflow: hidden;
}

body:has(.mma-login-shell) .web-footer,
body:has(.mma-home-shell) .web-footer {
	display: none;
}

body:has(.mma-login-shell) .login-left,
body:has(.mma-login-shell) .login-left-side,
body:has(.mma-login-shell) .login-branding,
body:has(.mma-login-shell) .login-sidebar,
body:has(.mma-login-shell) .brand-section,
body:has(.mma-login-shell) .welcome-section {
	display: none !important;
}

.mma-login-shell {
	align-items: center;
	background: linear-gradient(135deg, #7382f7 0%, #6678f4 100%);
	display: flex;
	justify-content: center;
	min-height: 100vh;
	padding: 0 24px;
}

.mma-login-card {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 28px 55px rgba(33, 45, 125, 0.28);
	max-width: 480px;
	min-height: auto;
	overflow: hidden;
	padding: 30px 32px;
	width: 100%;
}

.mma-login-brand {
	color: var(--mma-blue);
	font-size: 16px;
	font-weight: 800;
	padding: 0 0 18px;
	text-align: center;
}

.mma-login-panel {
	align-items: stretch;
	display: grid;
	gap: 30px;
	grid-template-columns: 1fr;
	min-height: auto;
}

.mma-login-form-wrap {
	align-items: center;
	display: flex;
}

.mma-login-box {
	background: var(--mma-soft);
	border-radius: 18px;
	min-height: auto;
	padding: 74px 52px 40px;
	width: 100%;
}

.mma-login-box h1 {
	color: var(--mma-blue);
	font-size: 30px;
	font-weight: 900;
	letter-spacing: 0.14em;
	margin: 0 0 34px;
	text-align: center;
	text-transform: uppercase;
}

.mma-field-group {
	margin-bottom: 25px;
}

.mma-field-group label {
	color: var(--mma-blue);
	display: block;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.22em;
	margin-bottom: 7px;
}

.mma-field-group .form-control {
	background: transparent;
	border: 0;
	border-bottom: 2px solid var(--mma-blue);
	border-radius: 0;
	box-shadow: none;
	color: var(--mma-text);
	font-size: 14px;
	letter-spacing: 0.12em;
	padding: 5px 0 7px;
}

.mma-field-group .form-control:focus {
	border-color: var(--mma-accent-dark);
	box-shadow: none;
}

.mma-login-tools {
	align-items: center;
	display: flex;
	font-size: 12px;
	justify-content: space-between;
	margin: 5px 0 24px;
}

.mma-login-tools a,
.mma-remember {
	color: var(--mma-blue);
	font-weight: 600;
}

.mma-remember {
	align-items: center;
	display: flex;
	gap: 8px;
	margin: 0;
}

.mma-remember input {
	accent-color: var(--mma-blue);
}

.mma-login-submit {
	background: linear-gradient(90deg, #7889ff, #5e6dff);
	border: 0;
	border-radius: 0;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: 0.22em;
	padding: 15px 20px;
	text-transform: uppercase;
}

.mma-login-submit:hover,
.mma-login-submit:focus {
	background: linear-gradient(90deg, #6578ff, #4d5df2);
}

.mma-login-visual {
	align-items: center;
	display: none !important;
	justify-content: center;
	position: relative;
}

.mma-visual-icons {
	color: #d9e2f1;
	display: flex;
	font-size: 43px;
	gap: 34px;
	left: 50%;
	position: absolute;
	top: 50px;
	transform: translateX(-50%);
}

.mma-browser-art {
	background: linear-gradient(180deg, #7585ff, #5f70f0);
	border-radius: 5px;
	box-shadow: 0 18px 35px rgba(38, 62, 142, 0.2);
	height: 223px;
	margin-top: 60px;
	position: relative;
	width: min(100%, 340px);
}

.mma-browser-top {
	background: #1e55a0;
	border-radius: 4px 4px 0 0;
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	padding: 8px 20px;
}

.mma-browser-top i {
	background: #fff;
	border-radius: 50%;
	height: 5px;
	width: 5px;
}

.mma-lock {
	font-size: 40px;
	left: 50%;
	position: absolute;
	top: 46px;
	transform: translateX(-50%);
}

.mma-art-form {
	left: 50%;
	position: absolute;
	top: 110px;
	transform: translateX(-50%);
	width: 118px;
}

.mma-art-form span {
	background: rgba(255,255,255,0.72);
	display: block;
	height: 28px;
	margin-bottom: 12px;
}

.mma-person {
	background: #ffc928;
	bottom: -48px;
	height: 112px;
	position: absolute;
	width: 36px;
}

.mma-person-left {
	border-radius: 20px 20px 8px 8px;
	left: 28px;
	transform: rotate(7deg);
}

.mma-person-right {
	background: #fff;
	border-radius: 8px 8px 20px 20px;
	right: 48px;
	transform: rotate(-7deg);
}

.mma-forgot-section {
	display: none;
}

.mma-home-shell {
	background: radial-gradient(circle at 18% 12%, rgba(255,255,255,0.16) 0%, transparent 26%), linear-gradient(135deg, #875a7b 0%, #a7748f 48%, #00a09d 100%);
	color: #fff;
	height: 100vh;
	overflow: hidden;
	padding: 24px clamp(18px, 5vw, 56px);
}

.mma-home-nav {
	align-items: center;
	display: flex;
	justify-content: space-between;
	position: relative;
	z-index: 2;
}

.mma-home-logo {
	color: #fff;
	font-size: 23px;
	font-weight: 900;
	text-decoration: none;
}

.mma-home-links {
	display: flex;
	gap: 28px;
}

.mma-home-links a {
	color: rgba(255,255,255,0.86);
	font-weight: 700;
	text-decoration: none;
}

.mma-home-hero {
	align-items: center;
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
	min-height: calc(100vh - 132px);
	padding: 28px 0 20px;
}

.mma-eyebrow {
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0.18em;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.mma-hero-copy h1 {
	font-size: clamp(42px, 6.2vw, 72px);
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 0.98;
	margin: 0 0 18px;
	max-width: 680px;
}

.mma-hero-text {
	color: rgba(255,255,255,0.86);
	font-size: clamp(16px, 1.6vw, 20px);
	line-height: 1.45;
	max-width: 560px;
}

.mma-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 24px;
}

.mma-primary-action,
.mma-secondary-action {
	border-radius: 999px;
	font-weight: 900;
	padding: 15px 25px;
	text-decoration: none;
}

.mma-primary-action {
	background: #fff;
	color: #875a7b;
}

.mma-secondary-action {
	border: 1px solid rgba(255,255,255,0.55);
	color: #fff;
}

.mma-hero-showcase {
	background: rgba(255,255,255,0.14);
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: 32px;
	box-shadow: 0 30px 74px rgba(47, 36, 49, 0.24);
	padding: clamp(18px, 3vw, 34px);
}

.mma-app-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mma-app-card {
	background: rgba(255,255,255,0.94);
	border-radius: 22px;
	box-shadow: 0 18px 32px rgba(24, 23, 82, 0.12);
	color: #372d61;
	min-height: 104px;
	padding: 18px;
}

.mma-app-card span {
	background: linear-gradient(135deg, #875a7b, #00a09d);
	border-radius: 14px;
	color: #fff;
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	margin-bottom: 16px;
	padding: 8px 12px;
}

.mma-app-card strong {
	display: block;
	font-size: 19px;
}

.mma-home-strip {
	background: rgba(255,255,255,0.16);
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: 22px;
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, 1fr);
	padding: 16px 18px;
}

.mma-home-strip div {
	display: grid;
	gap: 5px;
}

.mma-home-strip strong {
	font-size: 20px;
}

.mma-home-strip span {
	color: rgba(255,255,255,0.78);
}

@media (max-width: 900px) {
	.mma-login-card {
		min-height: auto;
		padding: 24px;
	}

	.mma-login-brand {
		padding-left: 0;
	}

	.mma-login-panel,
	.mma-home-hero {
		grid-template-columns: 1fr;
	}

	.mma-login-visual {
		display: none;
	}

	.mma-login-box {
		min-height: auto;
		padding: 48px 32px;
	}

	.mma-home-hero {
		min-height: auto;
	}
}

@media (max-width: 640px) {
	.mma-login-shell {
		padding: 18px;
	}

	.mma-login-card {
		border-radius: 18px;
		padding: 18px;
	}

	.mma-login-box {
		padding: 38px 22px;
	}

	.mma-login-box h1 {
		font-size: 25px;
	}

	.mma-login-tools,
	.mma-home-nav,
	.mma-home-links {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.mma-home-shell {
		padding: 22px 18px 30px;
	}

	.mma-app-grid,
	.mma-home-strip {
		grid-template-columns: 1fr;
	}

	.mma-hero-copy h1 {
		font-size: 42px;
	}
}
