/* HHC tokens copied from index.css */
:root {
	--color-background: #ede8e2;
	--color-heading-primary: #4a5c4e; /* HHC brand green */
	--color-heading-secondary: #2c2825;
	--color-text-primary: #333c36;
	--color-border: #d1cec9;
	--color-nav-item: #6b7c6b;
	--color-card-stripe: #3c493f;
	--color-card-flower: #597060;
	--color-text-inverse: #ffffff;
	--shadow-soft: 0 2px 15px rgba(0, 0, 0, 0.1);
	--font: "Poppins", sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: var(--font);
}

body {
	background: var(--color-background);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 1rem;
}

#card {
	width: 100%;
	max-width: 420px;
}

.card {
	width: 100%;
	border-radius: 32px;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	background: #fbfaf8;
}

.hero {
	background: var(--color-heading-primary); /* HHC brand green — matches the logo's background */
	color: var(--color-text-inverse);
	padding: 2.75rem 2.5rem 2.25rem;
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.hero .logo-img {
	height: 80px;
	width: auto;
	display: block;
	flex-shrink: 0;
}
.hero .name {
	font-size: 2.1rem;
	font-weight: 600;
	line-height: 1.15;
}
.hero .title {
	font-size: 1.1rem;
	opacity: 0.9;
	margin-top: 0.4rem;
}
.hero .company {
	font-size: 0.85rem;
	opacity: 0.7;
	margin-top: 0.3rem;
}

.body {
	padding: 2rem 2.5rem 2.5rem;
}

.row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--color-border);
}
.row:last-of-type {
	border-bottom: none;
}
.row .label {
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-nav-item);
}
.row a {
	font-size: 0.95rem;
	color: var(--color-heading-secondary);
	text-decoration: none;
	font-weight: 500;
}
.row a:hover {
	color: var(--color-heading-primary);
}

.actions {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.25rem;
}
.ghost {
	flex: 1;
	text-align: center;
	padding: 0.7rem;
	border-radius: 14px;
	border: 1px solid var(--color-border);
	color: var(--color-heading-primary);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9rem;
}
.ghost:hover {
	background: rgba(0, 0, 0, 0.03);
}

.save {
	display: block;
	width: 100%;
	margin-top: 0.75rem;
	text-align: center;
	padding: 0.95rem;
	background: var(--color-heading-primary);
	color: var(--color-text-inverse);
	border: none;
	border-radius: 14px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	font-family: var(--font);
	cursor: pointer;
}
.save:hover {
	background: var(--color-card-flower);
}

.load-error {
	text-align: center;
	color: var(--color-text-primary);
	padding: 2rem;
}
