/* Shared pages: auth, contact, tracking, help center */

:root {
	--pages-blue: #334fb4;
	--pages-ink: #1d2128;
	--pages-muted: #6b7280;
	--pages-border: #dadfe3;
	--pages-mint: #d8ebe4;
	--pages-cream: #fff8e8;
}

/* ---- Auth / Login ---- */
.auth-layout {
	margin: 0;

	background: #fff;
	font-family: "Outfit", system-ui, -apple-system, sans-serif;
	color: var(--pages-ink);
}

.auth-page {

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 16px;
	gap: 28px;
}

.ph-purchase-terms {
	font-size: 14px;
	line-height: 1.55;
	margin: 14px 0 0;
	color: #1d2128;
}

.ph-purchase-terms a {
	color: inherit;
	text-decoration: underline;
}

.ph-energy-class {
	display: block;
	width: 100%;
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
	color: #1d2128;
}

.auth-logo img {
	display: block;
	width: min(140px, 44vw);
	height: auto;
}

.auth-card {
	width: 100%;
	max-width: 460px;
	border: 1px solid var(--pages-border);
	border-radius: 4px;
	padding: 36px 40px 40px;
	background: #fff;
}

.auth-card__title {
	margin: 0 0 18px;
	font-size: 1.75rem;
	font-weight: 700;
	text-align: center;
	padding-bottom: 14px;
	border-bottom: 2px solid #111;
}

.auth-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-top: 22px;
}

.auth-field label,
.track-field label,
.contact-field label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.95rem;
	color: var(--pages-ink);
}

.auth-field input,
.track-field input,
.contact-field input,
.contact-field textarea {
	width: 100%;
	box-sizing: border-box;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--pages-border);
	border-radius: 6px;
	font: inherit;
	background: #fff;
}

.contact-field textarea {
	height: auto;
	padding: 12px 14px;
	resize: vertical;
}

.auth-password {
	position: relative;
}

.auth-password input {
	padding-right: 46px;
}

.auth-password__toggle {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	color: #9aa1ab;
	cursor: pointer;
	padding: 4px;
}

.auth-form__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.auth-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.92rem;
}

.auth-link {
	color: var(--pages-ink);
	text-decoration: underline;
	font-size: 0.92rem;
}

.auth-submit,
.track-submit,
.contact-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: 6px;
	background: var(--pages-blue);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.auth-alert,
.pages-alert {
	margin: 16px 0 0;
	padding: 12px 14px;
	border-radius: 6px;
	font-size: 0.92rem;
}

.auth-alert--error,
.pages-alert--error {
	background: #fde8e8;
	color: #9b1c1c;
}

.auth-alert--success,
.pages-alert--success {
	background: #e8f7ef;
	color: #146c43;
}

/* ---- Tracking ---- */
.pages-shell {
	padding: 48px 0 72px;
}

.track-page,
.contact-page {
	max-width: 920px;
	margin: 0 auto;
}

.track-page__title,
.contact-page__title {
	margin: 0 0 18px;
	text-align: center;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	color: var(--pages-ink);
}

.track-page__intro {
	max-width: 760px;
	margin: 0 auto 28px;
	text-align: center;
	color: var(--pages-muted);
	line-height: 1.6;
}

.track-card {
	max-width: 760px;
	margin: 0 auto;
	padding: 28px;
	border: 1px solid var(--pages-border);
	border-radius: 10px;
	background: #fff;
}

.track-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-bottom: 22px;
}

.track-submit {
	max-width: 360px;
	margin: 0 auto;
	display: flex;
}

.track-result {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--pages-border);
}

.track-result__header {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.track-result__status {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: #eef2ff;
	color: var(--pages-blue);
	font-size: 0.85rem;
	font-weight: 600;
}

.track-result__items {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.track-result__items li {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 12px;
	padding: 10px 0;
	border-top: 1px solid #f1f3f5;
}

/* ---- Contact ---- */
.contact-intro {
	max-width: 760px;
	margin: 0 auto 36px;
	text-align: left;
	line-height: 1.65;
}

.contact-intro p {
	margin: 0 0 14px;
}

.contact-info {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin: 0 auto 48px;
	max-width: 900px;
	text-align: center;
}

.contact-info__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.contact-info__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: var(--pages-blue);
	color: #fff;
}

.contact-info a,
.contact-info span {
	color: var(--pages-ink);
	text-decoration: none;
	line-height: 1.45;
	max-width: 220px;
}

.contact-form-wrap {
	max-width: 560px;
	margin: 0 auto;
}

.contact-form-wrap__title {
	margin: 0 0 22px;
	text-align: center;
	font-size: 1.35rem;
	font-weight: 700;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact-submit {
	margin-top: 8px;
}

/* ---- Help Center ---- */
.help-center-page {
	padding: 0;
}

.help-hero {
	background: var(--pages-mint);
	padding: 72px 0 56px;
	text-align: center;
}

.help-hero__title {
	margin: 0 0 12px;
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	color: var(--pages-ink);
}

.help-hero__subtitle {
	margin: 0 0 28px;
	color: #3f474f;
}

.help-search {
	position: relative;
	max-width: 560px;
	margin: 0 auto 22px;
}

.help-search input {
	width: 100%;
	box-sizing: border-box;
	height: 56px;
	padding: 0 52px 0 20px;
	border: 0;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(29, 33, 40, 0.08);
	font: inherit;
}

.help-search button {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	color: #7c818b;
	cursor: pointer;
}

.help-popular {
	margin: 0;
	color: var(--pages-ink);
	font-size: 0.95rem;
}

.help-popular a {
	color: inherit;
	text-decoration: underline;
}

.help-cta {
	background: var(--pages-cream);
	padding: 64px 0 80px;
	text-align: center;
}

.help-cta__eyebrow {
	margin: 0 0 12px;
	color: var(--pages-muted);
}

.help-cta__title {
	margin: 0 0 28px;
	font-size: clamp(1.7rem, 3.5vw, 2.5rem);
	line-height: 1.25;
	font-weight: 700;
	color: var(--pages-ink);
}

.help-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 28px;
	border-radius: 999px;
	background: #2b2f36;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 600;
}

.ph-whatsapp-button {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9998;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	padding: 0;
	border-radius: 999px;
	background: #25d366;
	color: #fff !important;
	text-decoration: none !important;
	box-shadow: none;
	transition: transform 0.18s ease, background-color 0.18s ease;
}

.ph-whatsapp-button:hover,
.ph-whatsapp-button:focus-visible {
	background: #1ebe57;
	color: #fff !important;
	transform: translateY(-2px);
}

.ph-whatsapp-button svg {
	width: 28px;
	height: 28px;
	flex: 0 0 auto;
}

@media (max-width: 768px) {
	.auth-card {
		padding: 28px 20px;
	}

	.track-form__row,
	.contact-info {
		grid-template-columns: 1fr;
	}

	.track-submit {
		max-width: none;
	}

	.ph-whatsapp-button {
		right: 14px;
		bottom: 14px;
		width: 56px;
		height: 56px;
	}
}
