:root {
	--green: #16a34a;
	--green-dark: #047857;
	--mint: #ecfdf5;
	--ink: #111827;
	--muted: #6b7280;
	--line: #e5e7eb;
	--page: #f6f8f7;
}

* {
	box-sizing: border-box;
}

body {
	background: var(--page);
	color: var(--ink);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
	color: var(--green-dark);
}

.app-shell {
	min-height: 100vh;
}

.app-main {
	min-width: 0;
}

.mobile-header {
	align-items: center;
	background: rgba(246, 248, 247, 0.92);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(229, 231, 235, 0.8);
	display: flex;
	justify-content: space-between;
	padding: 14px 18px;
	z-index: 20;
}

.mobile-header h1 {
	font-size: 1.22rem;
	font-weight: 750;
	line-height: 1.2;
	margin: 0;
}

.eyebrow,
.mini-label {
	color: var(--muted);
	display: block;
	font-size: 0.78rem;
	font-weight: 650;
	text-transform: uppercase;
}

.content-wrap {
	margin: 0 auto;
	max-width: 1080px;
	padding: 18px 16px 96px;
}

.desktop-sidebar {
	background: #ffffff;
	border-right: 1px solid var(--line);
	height: 100vh;
	left: 0;
	padding: 24px 18px;
	position: fixed;
	top: 0;
	width: 260px;
}

.brand-mark {
	align-items: center;
	color: var(--ink);
	display: flex;
	font-size: 1.2rem;
	font-weight: 800;
	gap: 10px;
}

.brand-mark img {
	display: block;
	height: 48px;
	max-width: 190px;
	object-fit: contain;
	width: auto;
}

.brand-icon {
	align-items: center;
	background: linear-gradient(135deg, var(--green), var(--green-dark));
	border-radius: 16px;
	color: #ffffff;
	display: flex;
	font-size: 1.4rem;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.desktop-sidebar .nav-link {
	align-items: center;
	border-radius: 8px;
	color: #374151;
	display: flex;
	font-weight: 650;
	gap: 10px;
	min-height: 44px;
	padding: 10px 12px;
}

.desktop-sidebar .nav-link:hover {
	background: var(--mint);
	color: var(--green-dark);
}

.avatar-pill {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--green-dark);
	display: flex;
	font-size: 1.4rem;
	height: 44px;
	justify-content: center;
	text-decoration: none;
	width: 44px;
}

.app-card,
.pickup-card,
.stat-card,
.hero-strip {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
}

.app-card {
	padding: 18px;
}

.hero-strip {
	align-items: center;
	background: linear-gradient(135deg, #047857, #16a34a);
	color: #ffffff;
	display: flex;
	justify-content: space-between;
	margin-bottom: 18px;
	overflow: hidden;
	padding: 22px;
}

.hero-strip h2 {
	font-size: 1.55rem;
	font-weight: 800;
	margin: 0;
	max-width: 560px;
}

.hero-strip i {
	font-size: 4rem;
	opacity: 0.28;
}

.stat-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 112px;
	padding: 16px;
}

.stat-card i,
.stat-card span {
	color: var(--muted);
}

.stat-card strong {
	font-size: 1.45rem;
	font-weight: 800;
}

.metric-list {
	display: grid;
	gap: 10px;
}

.metric-list > div {
	align-items: center;
	border-bottom: 1px solid #f3f4f6;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding-bottom: 10px;
}

.metric-list > div:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.metric-list span {
	color: var(--muted);
	font-weight: 700;
}

.metric-list strong {
	font-weight: 850;
	text-align: right;
}

.section-title {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 20px 0 12px;
}

.section-title h3,
.card-heading {
	font-size: 1.1rem;
	font-weight: 800;
	margin: 0;
}

.card-list {
	display: grid;
	gap: 12px;
}

.pickup-card {
	align-items: flex-start;
	color: var(--ink);
	display: flex;
	gap: 14px;
	justify-content: space-between;
	padding: 16px;
	text-decoration: none;
}

.pickup-card:hover {
	border-color: rgba(22, 163, 74, 0.45);
}

.pickup-card div {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.pickup-card span:not(.badge) {
	color: var(--muted);
	font-size: 0.92rem;
}

.badge {
	border-radius: 999px;
	font-weight: 700;
	white-space: nowrap;
}

.form-control,
.form-select,
.btn {
	border-radius: 8px;
	min-height: 44px;
}

.btn-success {
	background: var(--green);
	border-color: var(--green);
	font-weight: 750;
}

.btn-success:hover {
	background: var(--green-dark);
	border-color: var(--green-dark);
}

.auth-panel {
	margin: 28px auto;
	max-width: 460px;
}

.brand-center {
	text-align: center;
}

.auth-logo {
	display: block;
	height: auto;
	margin: 0 auto 14px;
	max-width: 220px;
	width: 72%;
}

.brand-center h2 {
	font-size: 1.55rem;
	font-weight: 850;
	margin-top: 14px;
}

.brand-center p {
	color: var(--muted);
	margin-bottom: 0;
}

.bottom-nav {
	background: rgba(255, 255, 255, 0.96);
	border-top: 1px solid var(--line);
	bottom: 0;
	display: grid;
	grid-auto-flow: column;
	left: 0;
	padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
	position: fixed;
	right: 0;
	z-index: 30;
}

.bottom-nav a {
	align-items: center;
	color: #4b5563;
	display: flex;
	flex-direction: column;
	font-size: 0.72rem;
	font-weight: 700;
	gap: 2px;
	min-height: 52px;
	justify-content: center;
	text-decoration: none;
}

.bottom-nav form {
	margin: 0;
}

.bottom-nav button,
.logout-button {
	background: transparent;
	border: 0;
	font: inherit;
}

.bottom-nav button {
	align-items: center;
	color: #4b5563;
	display: flex;
	flex-direction: column;
	font-size: 0.72rem;
	font-weight: 700;
	gap: 2px;
	justify-content: center;
	min-height: 52px;
	width: 100%;
}

.bottom-nav i {
	font-size: 1.25rem;
}

.fab {
	align-items: center;
	background: var(--green);
	border-radius: 999px;
	bottom: 86px;
	box-shadow: 0 16px 32px rgba(4, 120, 87, 0.28);
	color: #ffffff;
	display: flex;
	font-size: 1.45rem;
	height: 58px;
	justify-content: center;
	position: fixed;
	right: 18px;
	text-decoration: none;
	width: 58px;
	z-index: 25;
}

.sticky-action {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 28%);
	bottom: 68px;
	margin: 10px -18px -18px;
	padding: 22px 18px 18px;
	position: sticky;
}

.image-preview,
.photo-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, 1fr);
}

.image-preview img,
.photo-grid img {
	aspect-ratio: 1;
	border-radius: 8px;
	object-fit: cover;
	width: 100%;
}

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

.detail-grid div {
	background: var(--page);
	border-radius: 8px;
	padding: 12px;
}

.detail-grid span {
	color: var(--muted);
	display: block;
	font-size: 0.82rem;
}

.detail-grid strong {
	font-weight: 800;
}

.contact-card {
	align-items: center;
	display: flex;
	gap: 14px;
	justify-content: space-between;
}

.contact-card > div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.contact-card strong {
	font-weight: 800;
	overflow-wrap: anywhere;
}

.contact-card small {
	color: var(--muted);
	font-weight: 650;
}

.contact-card .btn {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	gap: 8px;
	justify-content: center;
	white-space: nowrap;
}

.profile-summary {
	align-items: center;
	display: flex;
	gap: 14px;
}

.profile-avatar {
	align-items: center;
	background: var(--mint);
	border-radius: 8px;
	color: var(--green-dark);
	display: flex;
	flex: 0 0 auto;
	font-size: 2rem;
	height: 64px;
	justify-content: center;
	width: 64px;
}

.profile-summary p {
	color: var(--muted);
	margin: 4px 0 0;
	overflow-wrap: anywhere;
}

.status-timeline {
	display: grid;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.status-timeline li {
	display: grid;
	gap: 12px;
	grid-template-columns: 42px minmax(0, 1fr);
	min-height: 72px;
	position: relative;
}

.status-timeline li:not(:last-child)::before {
	background: var(--line);
	bottom: 0;
	content: "";
	left: 20px;
	position: absolute;
	top: 42px;
	width: 2px;
}

.status-timeline li.is-done:not(:last-child)::before {
	background: rgba(22, 163, 74, 0.42);
}

.timeline-icon {
	align-items: center;
	background: #f3f4f6;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
	display: flex;
	height: 42px;
	justify-content: center;
	position: relative;
	width: 42px;
	z-index: 1;
}

.status-timeline li.is-done .timeline-icon {
	background: var(--mint);
	border-color: rgba(22, 163, 74, 0.28);
	color: var(--green-dark);
}

.status-timeline li.is-current .timeline-icon {
	background: var(--green);
	border-color: var(--green);
	color: #ffffff;
}

.status-timeline li.is-cancelled .timeline-icon {
	background: #fee2e2;
	border-color: #fecaca;
	color: #dc2626;
}

.status-timeline strong {
	display: block;
	font-weight: 800;
	line-height: 1.25;
}

.status-timeline p {
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.45;
	margin: 3px 0 0;
}

.status-timeline small {
	color: var(--green-dark);
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	margin-top: 6px;
}

.receipt-card {
	overflow: hidden;
}

.receipt-head,
.receipt-total,
.receipt-lines div {
	align-items: center;
	display: flex;
	gap: 14px;
	justify-content: space-between;
}

.receipt-head {
	border-bottom: 1px dashed var(--line);
	margin: -2px 0 12px;
	padding-bottom: 14px;
}

.receipt-head > i {
	color: var(--green);
	font-size: 1.8rem;
}

.receipt-lines {
	display: grid;
	gap: 10px;
}

.receipt-lines div {
	border-bottom: 1px solid #f3f4f6;
	padding-bottom: 10px;
}

.receipt-lines span,
.receipt-total span {
	color: var(--muted);
	font-size: 0.9rem;
}

.receipt-lines strong {
	font-weight: 750;
	text-align: right;
}

.receipt-total {
	background: var(--mint);
	border-radius: 8px;
	margin-top: 14px;
	padding: 14px;
}

.receipt-total strong {
	color: var(--green-dark);
	font-size: 1.28rem;
	font-weight: 850;
	text-align: right;
}

.empty-state {
	color: var(--muted);
	padding: 32px 18px;
	text-align: center;
}

.empty-state i {
	color: var(--green);
	font-size: 2rem;
}

.responsive-table {
	overflow: hidden;
}

.table {
	--bs-table-bg: #ffffff;
}

@media (max-width: 767.98px) {
	.contact-card {
		align-items: stretch;
		flex-direction: column;
	}

	.responsive-table table,
	.responsive-table thead,
	.responsive-table tbody,
	.responsive-table tr,
	.responsive-table th,
	.responsive-table td {
		display: block;
	}

	.responsive-table thead {
		display: none;
	}

	.responsive-table tr {
		border-bottom: 1px solid var(--line);
		padding: 12px 14px;
	}

	.responsive-table td {
		align-items: center;
		border: 0;
		display: flex;
		justify-content: space-between;
		padding: 6px 0;
		text-align: right;
	}

	.responsive-table td::before {
		color: var(--muted);
		content: attr(data-label);
		font-weight: 700;
		padding-right: 16px;
		text-align: left;
	}
}

@media (min-width: 992px) {
	.app-shell {
		padding-left: 260px;
	}

	.mobile-header {
		padding: 20px 32px;
	}

	.content-wrap {
		padding: 28px 32px 48px;
	}

	.sticky-action {
		bottom: 0;
	}
}

.landing-page {
	background: #f7faf8;
}

.landing-nav {
	align-items: center;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid var(--line);
	display: flex;
	gap: 18px;
	justify-content: space-between;
	left: 0;
	padding: 12px 16px;
	position: sticky;
	right: 0;
	top: 0;
	z-index: 50;
}

.landing-nav nav {
	align-items: center;
	display: flex;
	gap: 10px;
}

.landing-nav nav a:not(.btn) {
	color: #374151;
	display: none;
	font-weight: 700;
	text-decoration: none;
}

.landing-hero {
	align-items: center;
	background:
		linear-gradient(90deg, rgba(5, 46, 43, 0.94) 0%, rgba(5, 46, 43, 0.78) 42%, rgba(5, 46, 43, 0.22) 100%),
		url("../img/landing-recycle-hero.jpg");
	background-position: center right;
	background-size: cover;
	color: #ffffff;
	display: grid;
	gap: 28px;
	min-height: calc(92vh - 73px);
	padding: 38px 16px 46px;
}

.hero-copy {
	max-width: 680px;
}

.hero-copy .eyebrow {
	color: rgba(255, 255, 255, 0.82);
}

.hero-copy h1 {
	font-size: 3.2rem;
	font-weight: 900;
	line-height: 0.95;
	margin: 8px 0 18px;
}

.hero-copy p:not(.eyebrow) {
	font-size: 1.08rem;
	line-height: 1.7;
	max-width: 620px;
}

.hero-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 24px;
	max-width: 360px;
}

.hero-visual {
	align-items: end;
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 1fr);
}

.pickup-phone,
.recycle-stack > div,
.price-card,
.step-card,
.landing-cta {
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 8px;
	box-shadow: 0 20px 48px rgba(4, 120, 87, 0.18);
}

.pickup-phone {
	background: rgba(255, 255, 255, 0.96);
	color: var(--ink);
	display: grid;
	gap: 12px;
	max-width: 340px;
	padding: 18px;
}

.phone-bar {
	background: #d1d5db;
	border-radius: 999px;
	height: 8px;
	width: 72px;
}

.phone-card {
	align-items: center;
	background: #f3f4f6;
	border-radius: 8px;
	display: flex;
	font-weight: 750;
	gap: 10px;
	min-height: 58px;
	padding: 12px;
}

.phone-card i,
.price-icon {
	align-items: center;
	background: var(--mint);
	border-radius: 8px;
	color: var(--green-dark);
	display: flex;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.phone-card.active {
	background: var(--mint);
}

.phone-total {
	background: var(--green-dark);
	border-radius: 8px;
	color: #ffffff;
	display: flex;
	justify-content: space-between;
	padding: 14px;
}

.recycle-stack {
	display: grid;
	gap: 10px;
	max-width: 340px;
}

.recycle-stack > div {
	align-items: center;
	background: rgba(255, 255, 255, 0.18);
	display: flex;
	font-weight: 800;
	gap: 12px;
	padding: 14px;
}

.recycle-stack i {
	font-size: 1.35rem;
}

.landing-section {
	margin: 0 auto;
	max-width: 1120px;
	padding: 58px 16px 8px;
}

.section-heading {
	margin-bottom: 22px;
	max-width: 680px;
}

.section-heading h2,
.landing-cta h2 {
	font-size: clamp(1.8rem, 5vw, 3rem);
	font-weight: 900;
	line-height: 1.05;
	margin: 4px 0 12px;
}

.section-heading p:not(.eyebrow),
.landing-cta p,
.step-card p {
	color: var(--muted);
}

.price-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
}

.price-card {
	align-items: center;
	background: #ffffff;
	display: flex;
	gap: 14px;
	padding: 16px;
}

.price-card h3,
.step-card h3 {
	font-size: 1rem;
	font-weight: 850;
	margin: 0 0 3px;
}

.price-card strong {
	color: var(--green-dark);
}

.steps-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
}

.faq-list {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
}

.step-card {
	background: #ffffff;
	padding: 18px;
}

.faq-card {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(17, 24, 39, 0.04);
	padding: 18px;
}

.faq-card h3 {
	font-size: 1.05rem;
	font-weight: 850;
	margin-bottom: 8px;
}

.faq-card p {
	color: var(--muted);
	margin: 0;
}

.step-card span {
	align-items: center;
	background: var(--green);
	border-radius: 999px;
	color: #ffffff;
	display: flex;
	font-weight: 900;
	height: 38px;
	justify-content: center;
	margin-bottom: 14px;
	width: 38px;
}

.landing-cta {
	background: #ffffff;
	margin: 58px 16px;
	padding: 28px 20px;
	text-align: center;
}

@media (min-width: 768px) {
	.landing-nav {
		padding: 14px 32px;
	}

	.landing-nav nav a:not(.btn) {
		display: inline-flex;
	}

	.landing-hero {
		grid-template-columns: minmax(0, 720px);
		padding: 58px 48px;
	}

	.hero-copy h1 {
		font-size: 5.6rem;
	}

	.hero-actions {
		flex-direction: row;
		max-width: none;
	}

	.price-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.steps-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.faq-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.landing-cta {
		margin-left: auto;
		margin-right: auto;
		max-width: 920px;
		padding: 42px;
	}
}

@media (min-width: 1100px) {
	.price-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
