/**
 * HerCreativeLife Access Manager — front-end styles.
 * Palette matches the GeneratePress theme (primary green + gold accent).
 */

:root {
	--hcl-primary: #446435;
	--hcl-primary-2: #5b7e4b;
	--hcl-gold: #c9a66b;
	--hcl-tertiary: #814a68;
	--hcl-ink: #1b1c19;
	--hcl-muted: #43483e;
	--hcl-surface: #fbf9f4;
	--hcl-surface-2: #f5f3ee;
	--hcl-line: #e4e2dd;
	--hcl-red: #ba1a1a;
}

/* ---------- Notice banner (shown after redirect) ---------- */
.hcl-am-notice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	max-width: 1100px;
	margin: 18px auto;
	padding: 16px 22px;
	background: #fff4e5;
	border: 1px solid var(--hcl-gold);
	border-left: 5px solid var(--hcl-gold);
	border-radius: 14px;
	color: #7a5a1a;
	font-size: 16px;
	box-shadow: 0 10px 30px rgba(180, 140, 60, 0.12);
}
.hcl-am-notice__icon { font-size: 20px; }
.hcl-am-notice__text { flex: 1; min-width: 220px; }
.hcl-am-notice__btn {
	background: var(--hcl-primary);
	color: #fff !important;
	text-decoration: none;
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 600;
	white-space: nowrap;
	transition: background 0.25s ease;
}
.hcl-am-notice__btn:hover { background: var(--hcl-primary-2); }

/* ---------- Buttons ---------- */
.hcl-btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all 0.25s ease;
	font-size: 15px;
	line-height: 1.2;
}
.hcl-btn--primary,
.hcl-btn--upgrade {
	background: var(--hcl-primary);
	color: #fff !important;
	box-shadow: 0 10px 26px rgba(68, 100, 53, 0.28);
}
.hcl-btn--primary:hover,
.hcl-btn--upgrade:hover { background: var(--hcl-primary-2); }
.hcl-btn--upgrade {
	background: linear-gradient(135deg, var(--hcl-gold), #b8914f);
	box-shadow: 0 10px 26px rgba(201, 166, 107, 0.35);
}
.hcl-btn--ghost {
	background: #fff;
	border-color: var(--hcl-line);
	color: var(--hcl-primary) !important;
}
.hcl-btn--ghost:hover { border-color: var(--hcl-primary); }

/* ---------- Badges ---------- */
.hcl-badge {
	display: inline-block;
	padding: 7px 16px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.02em;
}
.hcl-badge--lifetime { background: #fbf1d8; color: #8a6a1e; border: 1px solid var(--hcl-gold); }
.hcl-badge--trial { background: #e7f2df; color: var(--hcl-primary); border: 1px solid #b7d3a6; }
.hcl-badge--expired { background: #fde3e3; color: var(--hcl-red); border: 1px solid #f0b7b7; }
.hcl-badge--guest { background: #eceae5; color: var(--hcl-muted); }

/* ---------- Countdown ---------- */
.hcl-countdown {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	font-family: 'Playfair Display', Georgia, serif;
}
.hcl-countdown--lifetime {
	font-family: inherit;
	background: #fbf1d8;
	color: #8a6a1e;
	padding: 10px 18px;
	border-radius: 12px;
	font-weight: 600;
}
.hcl-countdown__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 74px;
	background: #fff;
	border: 1px solid var(--hcl-line);
	border-radius: 14px;
	padding: 12px 6px 8px;
	box-shadow: 0 8px 20px rgba(68, 100, 53, 0.08);
}
.hcl-countdown__unit span {
	font-size: 34px;
	font-weight: 800;
	color: var(--hcl-primary);
	line-height: 1;
}
.hcl-countdown__unit small {
	margin-top: 6px;
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--hcl-muted);
}
.hcl-countdown__sep {
	font-size: 30px;
	font-weight: 800;
	color: var(--hcl-gold);
	line-height: 1.6;
}
.hcl-countdown.is-expired .hcl-countdown__unit span { color: var(--hcl-red); }

/* ---------- Dashboard ---------- */
.hcl-dash {
	max-width: 1100px;
	margin: 0 auto;
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
	color: var(--hcl-ink);
}
.hcl-dash__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 22px;
	margin-bottom: 24px;
	border-bottom: 2px dashed var(--hcl-line);
}
.hcl-dash__eyebrow {
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 13px;
	color: var(--hcl-gold);
	font-weight: 700;
}
.hcl-dash__name {
	margin: 4px 0 0;
	font-family: 'Playfair Display', Georgia, serif;
	color: var(--hcl-primary);
	font-size: clamp(1.7rem, 4vw, 2.6rem);
}
.hcl-dash__trialcard,
.hcl-dash__expiredcard,
.hcl-dash__lifetimecard {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	padding: 24px 26px;
	border-radius: 20px;
	margin-bottom: 28px;
}
.hcl-dash__trialcard { background: linear-gradient(135deg, #eef4e6, #fff); border: 1px solid #d7e4cf; }
.hcl-dash__expiredcard { background: linear-gradient(135deg, #fde3e3, #fff); border: 1px solid #f0b7b7; }
.hcl-dash__lifetimecard { background: linear-gradient(135deg, #fbf1d8, #fff); border: 1px solid var(--hcl-gold); }
.hcl-dash__trialtext h2,
.hcl-dash__expiredtext h2,
.hcl-dash__lifetimecard h2 {
	margin: 0 0 4px;
	font-family: 'Playfair Display', Georgia, serif;
	color: var(--hcl-primary);
	font-size: 1.3rem;
}
.hcl-dash__trialtext p,
.hcl-dash__expiredtext p,
.hcl-dash__lifetimecard p { margin: 0; color: var(--hcl-muted); }
.hcl-dash__trialtext { flex: 1; min-width: 220px; }
.hcl-dash__expiredtext { flex: 1; min-width: 220px; }
.hcl-dash__expiredicon,
.hcl-dash__lifetimeicon { font-size: 42px; }

.hcl-dash__sectiontitle {
	font-family: 'Playfair Display', Georgia, serif;
	color: var(--hcl-primary);
	font-size: 1.4rem;
	margin: 30px 0 16px;
}

/* ---------- Tool grid ---------- */
.hcl-toolgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 18px;
}
.hcl-tool {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px;
	background: #fff;
	border: 1px solid var(--hcl-line);
	border-radius: 18px;
	text-decoration: none !important;
	color: var(--hcl-ink);
	box-shadow: 0 10px 26px rgba(68, 100, 53, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hcl-tool:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(68, 100, 53, 0.12);
}
.hcl-tool__icon { font-size: 34px; }
.hcl-tool__title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.15rem;
	color: var(--hcl-primary);
	font-weight: 700;
}
.hcl-tool__desc { color: var(--hcl-muted); font-size: 14px; }
.hcl-tool__go { color: var(--hcl-gold); font-weight: 700; margin-top: 6px; }
.hcl-tool__lock { color: var(--hcl-red); font-weight: 700; margin-top: 6px; }
.hcl-tool--locked { opacity: 0.72; }

/* ---------- Quick links ---------- */
.hcl-quicklinks {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- Locked dashboard ---------- */
.hcl-dash--locked { display: flex; justify-content: center; padding: 40px 0; }
.hcl-dash__lockcard {
	max-width: 520px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--hcl-line);
	border-radius: 22px;
	padding: 40px 32px;
	box-shadow: 0 20px 50px rgba(68, 100, 53, 0.1);
}
.hcl-dash__lockicon { font-size: 48px; }
.hcl-dash__lockcard h2 {
	font-family: 'Playfair Display', Georgia, serif;
	color: var(--hcl-primary);
	margin: 12px 0 8px;
}
.hcl-dash__lockcard p { color: var(--hcl-muted); margin: 0 0 20px; }
.hcl-dash__lockbtns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 600px) {
	.hcl-dash__header { flex-direction: column; align-items: flex-start; }
	.hcl-countdown__unit { min-width: 60px; }
	.hcl-countdown__unit span { font-size: 26px; }
}
