/* Manor Heights Enhancements — front-end styles
   Scoped under .mhr-* so nothing leaks into the Nestin theme. */

/* ---- Pre-leasing form wrapper ---- */
.mhr-preleasing {
	max-width: 640px;
	margin: 2rem auto;
	padding: 1.75rem;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
}

.mhr-preleasing__title {
	margin: 0 0 .5rem;
}

.mhr-preleasing__intro {
	margin: 0 0 1.25rem;
	opacity: .85;
}

.mhr-preleasing__notice {
	margin-top: 1rem;
	padding: .5rem .75rem;
	background: #fff7e6;
	border: 1px dashed #e0a800;
	font-size: 14px;
}

/* ---- Unit comparison table ---- */
.mhr-units-table {
	width: 100%;
	overflow-x: auto;
	margin: 1.5rem 0;
}

.mhr-units-table table {
	width: 100%;
	border-collapse: collapse;
	min-width: 640px;
}

.mhr-units-table th,
.mhr-units-table td {
	padding: .75rem 1rem;
	text-align: left;
	border-bottom: 1px solid #e6e6e6;
	vertical-align: middle;
}

.mhr-units-table thead th {
	background: #1f3a5f;
	color: #fff;
	font-weight: 600;
	white-space: nowrap;
}

.mhr-units-table tbody tr:nth-child(even) {
	background: #f7f9fc;
}

.mhr-units-table a {
	font-weight: 600;
	white-space: nowrap;
}

/* ---- Sticky CTA bar ---- */
.mhr-sticky-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .75rem 1.25rem;
	background: #1f3a5f;
	color: #fff;
	box-shadow: 0 -4px 18px rgba(0, 0, 0, .18);
}

.mhr-sticky-cta.is-hidden {
	display: none;
}

.mhr-sticky-cta__text {
	font-weight: 600;
	margin-right: auto;
}

.mhr-sticky-cta__btn,
.mhr-sticky-cta__call {
	display: inline-block;
	padding: .55rem 1.1rem;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.mhr-sticky-cta__btn {
	background: #e0a800;
	color: #1f1f1f;
}

.mhr-sticky-cta__call {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .6);
}

.mhr-sticky-cta__close {
	background: none;
	border: 0;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0 .25rem;
}

@media (max-width: 600px) {
	.mhr-sticky-cta__text {
		font-size: 14px;
	}
	.mhr-sticky-cta__call {
		display: none; /* keep the bar compact on phones */
	}
}
