/* My Account → Websites / Emails.
   Colors and fonts follow the site's Elementor global variables (--hs-*), with fallbacks so the
   area still looks right if the theme changes. Previous version: account.css.bak-2026-10-23. */
.hc-account {
	--hc-ink: var(--hs-ink, #0D1F1A);
	--hc-muted: var(--hs-muted, #53635D);
	--hc-border: var(--hs-line, #DCE4E0);
	--hc-paper: var(--hs-paper, #FFFFFF);
	--hc-bg: var(--hs-bg, #F6F8F6);
	--hc-accent: var(--hs-green, #0A7A5A);
	--hc-accent-deep: var(--hs-green-deep, #065A42);
	--hc-mint: var(--hs-mint, #E3F2EB);
	--hc-mint-2: var(--hs-mint-2, #C7E6D7);
	--hc-coral: var(--hs-coral, #F2552C);
	--hc-coral-soft: var(--hs-coral-soft, #FDE9E2);
	--hc-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--hc-body: "Figtree", "Segoe UI", system-ui, sans-serif;
	--hc-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
	display: grid;
	gap: 20px;
	font-family: var(--hc-body);
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--hc-ink);
}
.hc-account [hidden] { display: none !important; }
.hc-account p { margin: 0; }
.hc-account h2 {
	margin: 0 !important;
	font-family: var(--hc-display) !important;
	font-size: 28px !important;
	font-weight: 800 !important;
	letter-spacing: -.02em;
	color: var(--hc-ink) !important;
}
.hc-account .hc-muted { color: var(--hc-muted); font-size: 14.5px; }
.hc-account a { color: var(--hc-accent); font-weight: 600; text-decoration: none; }
.hc-account a:hover { text-decoration: underline; }

/* Buttons */
.hc-account .hc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	border: 1.5px solid var(--hc-accent);
	border-radius: 10px;
	background: var(--hc-accent);
	box-shadow: 0 10px 24px -14px rgba(10, 122, 90, .8);
	color: #fff !important;
	font-family: var(--hc-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.1;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .2s, background-color .2s, border-color .2s;
}
.hc-account .hc-btn:hover { background: var(--hc-accent-deep); border-color: var(--hc-accent-deep); transform: translateY(-1px); }
.hc-account .hc-btn--ghost { background: var(--hc-paper); border-color: var(--hc-border); box-shadow: none; color: var(--hc-ink) !important; }
.hc-account .hc-btn--ghost:hover { background: var(--hc-paper); border-color: var(--hc-accent); }
.hc-account .hc-link {
	padding: 4px 6px;
	border: 0;
	border-radius: 6px;
	background: none !important;
	color: var(--hc-accent) !important;
	font-family: var(--hc-body);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}
.hc-account .hc-link:hover { background: var(--hc-mint) !important; }
.hc-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Plan card */
.hc-plan, .hc-empty {
	display: grid;
	gap: 16px;
	padding: 26px;
	background: var(--hc-paper);
	border: 1px solid var(--hc-border);
	border-radius: 20px;
}
.hc-plan__head { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; justify-content: space-between; }
.hc-plan__info { display: grid; gap: 8px; min-width: 0; }
.hc-plan__head h3 {
	margin: 0 !important;
	font-family: var(--hc-display);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.15;
	color: var(--hc-ink);
}
.hc-plan__text { font-size: 15px; color: var(--hc-muted); }
.hc-plan__text strong { color: var(--hc-ink); }
.hc-empty { justify-items: start; }

/* Website slots drawn as server blades (same as the dashboard) */
.hc-blades { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hc-blades i { position: relative; width: 30px; height: 10px; border-radius: 3px; background: var(--hc-accent); }
.hc-blades i::after { content: ""; position: absolute; top: 3px; right: 4px; width: 4px; height: 4px; border-radius: 50%; background: #7CE0B5; }
.hc-blades i.is-pending { background: #9DB8E8; }
.hc-blades i.is-pending::after { background: #fff; }
.hc-blades i.is-free { background: transparent; border: 1.5px dashed var(--hc-mint-2); }
.hc-blades i.is-free::after { display: none; }

/* Website card */
.hc-wsite {
	display: grid;
	gap: 16px;
	min-width: 0;
	padding: 20px;
	background: var(--hc-paper);
	border: 1px solid var(--hc-border);
	border-radius: 18px;
	scroll-margin-top: 24px;
}
.hc-wsite:target { border-color: var(--hc-mint-2); box-shadow: 0 0 0 3px var(--hc-mint); }
.hc-wsite--cancelled { opacity: .65; }
.hc-wsite__head { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; }
.hc-wsite__name { display: flex; gap: 14px; align-items: center; min-width: 0; }
.hc-wsite__avatar {
	flex: none;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--hc-accent);
	color: #fff;
	font-family: var(--hc-display);
	font-size: 20px;
	font-weight: 800;
}
.hc-wsite__avatar--1 { background: var(--hc-ink); }
.hc-wsite__avatar--2 { background: var(--hc-coral); }
.hc-wsite__name h4 {
	margin: 0 !important;
	font-family: var(--hc-display);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--hc-ink);
	overflow-wrap: anywhere;
}
.hc-wsite__name h4 a { color: inherit !important; }
.hc-wsite__name h4 a:hover { color: var(--hc-accent) !important; text-decoration: none; }
.hc-wsite__sub { font-size: 14px; color: var(--hc-muted); }
.hc-wsite__text { font-size: 16.5px; color: var(--hc-muted); }
.hc-wsite__note { margin-top: 12px !important; font-size: 14px; color: var(--hc-muted); }
.hc-wsite__change { justify-self: start; padding: 0 !important; font-size: 15px !important; text-decoration: underline !important; text-underline-offset: 3px; }
.hc-wsite__change:hover { background: none !important; }

/* Status pills */
.hc-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 11px;
	border-radius: 999px;
	font-family: var(--hc-mono);
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .05em;
	text-transform: uppercase;
	white-space: nowrap;
}
.hc-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hc-pill--ok { background: var(--hc-mint); color: var(--hc-accent-deep); }
.hc-pill--work { background: #EAF0FB; color: #2A4D8F; }
.hc-pill--wait { background: #FFF8EA; color: #A86A00; }
.hc-pill--bad { background: var(--hc-coral-soft); color: #B13A17; }
.hc-pill--off { background: var(--hc-bg); color: var(--hc-muted); }

/* Setup progress (inline steps, same language as checkout) */
.hc-account .hc-progress {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
.hc-progress li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	font-family: var(--hc-mono);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--hc-muted);
}
.hc-progress li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--hc-border); }
.hc-progress li.is-done { color: var(--hc-accent); }
.hc-progress li.is-done::before { background: var(--hc-accent); }
.hc-progress li.is-current { color: var(--hc-ink); }
.hc-progress li.is-current::before { background: var(--hc-coral); box-shadow: 0 0 0 4px var(--hc-coral-soft); }
.hc-wsite--active .hc-progress { display: none !important; }

/* Login details: four cards */
.hc-creds { display: grid; gap: 14px; }
@media (min-width: 760px) { .hc-creds { grid-template-columns: 1fr 1fr; } }
.hc-cred { min-width: 0; overflow: hidden; background: var(--hc-paper); border: 1px solid var(--hc-border); border-radius: 14px; }
.hc-cred__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 16px;
	background: var(--hc-bg);
	border-bottom: 1px solid var(--hc-border);
}
.hc-cred__head h5 {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 !important;
	font-family: var(--hc-display);
	font-size: 15.5px;
	font-weight: 700;
	color: var(--hc-ink);
}
.hc-cred__head a { font-size: 14px; white-space: nowrap; }
.hc-cred__icon {
	flex: none;
	width: 18px;
	height: 18px;
	background-color: var(--hc-accent);
	-webkit-mask: var(--hc-icon) center / contain no-repeat;
	mask: var(--hc-icon) center / contain no-repeat;
}
.hc-cred__icon--wp { --hc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M4.5 8.5l4.5 11 3-8 3 8 4.5-11M3.5 8.5h5M15.5 8.5h5'/%3E%3C/svg%3E"); }
.hc-cred__icon--mail { --hc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.hc-cred__icon--ftp { --hc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.hc-cred__icon--dns { --hc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
.hc-cred dl { display: grid; margin: 0 !important; }
.hc-cred__row {
	display: grid;
	grid-template-columns: 100px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	padding: 11px 16px;
	border-top: 1px solid var(--hc-border);
}
.hc-cred__row:first-child { border-top: 0; }
.hc-cred dt { margin: 0; font-size: 14px; font-weight: 400; color: var(--hc-muted); }
.hc-cred dd { min-width: 0; margin: 0 !important; }
.hc-cred code {
	padding: 0 !important;
	background: none !important;
	font-family: var(--hc-mono);
	font-size: 14px;
	color: var(--hc-ink);
	overflow-wrap: anywhere;
}
.hc-cred__secret { display: flex; align-items: center; justify-content: space-between; gap: 10px; grid-column: 2 / -1; }
.hc-cred__secret .hc-secret { letter-spacing: .12em; }

/* Alerts */
.hc-alert { padding: 14px 16px; border: 1px solid; border-radius: 12px; font-size: 15px; }
.hc-alert--info { background: var(--hc-mint); border-color: var(--hc-mint-2); color: var(--hc-accent-deep) !important; }
.hc-alert--warn { background: #FFF8EA; border-color: #F0D9A8; color: #6E4700 !important; }
.hc-alert--error { background: var(--hc-coral-soft); border-color: #F6C5B5; color: #8E2E12 !important; }
.hc-alert a { color: inherit !important; text-decoration: underline; }

/* Forms (setup details, change details, request new website) */
.hc-form {
	display: grid;
	gap: 14px;
	max-width: 560px;
	padding: 20px;
	background: var(--hc-bg);
	border: 1px solid var(--hc-border);
	border-radius: 14px;
}
.hc-form h4 { margin: 0 !important; }
.hc-form .hc-field { display: grid; gap: 6px; margin: 0 !important; }
.hc-form label { margin: 0; font-size: 15px; font-weight: 600; color: var(--hc-ink); }
.hc-form input[type=text], .hc-form input[type=email], .hc-form input[type=password] {
	width: 100%;
	box-sizing: border-box;
	min-height: 46px;
	padding: 11px 14px !important;
	border: 1.5px solid var(--hc-border) !important;
	border-radius: 10px !important;
	background: var(--hc-paper) !important;
	font-family: var(--hc-body);
	font-size: 16px !important;
	color: var(--hc-ink) !important;
	box-shadow: none !important;
}
.hc-form input:focus { border-color: var(--hc-accent) !important; outline: 0; box-shadow: 0 0 0 3px rgba(10, 122, 90, .12) !important; }
.hc-form small { font-size: 13px; color: var(--hc-muted); }
.hc-form .hc-btn { justify-self: start; }

/* Emails tab (uses .hc-site + .hc-table) */
.hc-site {
	display: grid;
	gap: 14px;
	padding: 20px;
	background: var(--hc-paper);
	border: 1px solid var(--hc-border);
	border-radius: 18px;
}
.hc-site__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.hc-site__name { display: flex; gap: 12px; align-items: center; min-width: 0; font-size: 17px; }
.hc-site__name strong, .hc-site__name a { font-weight: 700; color: var(--hc-ink); overflow-wrap: anywhere; }
.hc-site__icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--hc-mint);
	color: var(--hc-accent-deep);
	font-size: 20px;
}
.hc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hc-table th, .hc-table td { padding: 10px 14px !important; border: 1px solid var(--hc-border) !important; text-align: left; vertical-align: middle; }
.hc-table th { width: 34%; background: var(--hc-bg); font-weight: 600; color: var(--hc-muted); }
.hc-table code { padding: 0; background: none; font-family: var(--hc-mono); font-size: 13.5px; overflow-wrap: anywhere; }
.hc-table .hc-table__group { background: var(--hc-ink) !important; color: #fff !important; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 600px) {
	.hc-plan, .hc-empty { padding: 18px; }
	.hc-wsite { padding: 16px; }
	.hc-cred__row { grid-template-columns: minmax(0, 1fr) auto; }
	.hc-cred dt { grid-column: 1 / -1; }
	.hc-cred__secret { grid-column: 1 / -1; }
	.hc-table th { width: 40%; }
}

/* "Request new website" popup (native <dialog>) */
.hc-modal {
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	padding: 0;
	border: 0;
	border-radius: 18px;
	box-shadow: 0 24px 60px -12px rgba(13, 31, 26, .35);
	overflow: auto;
}
.hc-modal::backdrop { background: rgba(13, 31, 26, .55); }
.hc-modal[open] { animation: hc-pop .2s ease-out; }
@keyframes hc-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hc-modal[open] { animation: none; } }
.hc-modal .hc-form { max-width: none; margin: 0; padding: 26px; border: 0; border-radius: 0; background: var(--hc-paper); }
.hc-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hc-modal__head h4 { margin: 0 !important; font-family: var(--hc-display); font-size: 22px; font-weight: 800; color: var(--hc-ink); }
.hc-modal__close { padding: 4px 10px !important; border: 0 !important; border-radius: 8px; background: none !important; color: var(--hc-muted) !important; font-size: 28px; line-height: 1; cursor: pointer; }
.hc-modal__close:hover, .hc-modal__close:focus-visible { background: var(--hc-bg) !important; color: var(--hc-ink) !important; }
.hc-modal__errors { margin: 0 !important; padding: 12px 16px !important; list-style: none; }
.hc-modal__errors li { margin: 0; }
.hc-modal__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* Emails tab */
.hc-plan__head > .hc-muted { font-size: 15px; }
.hc-mailbox { gap: 14px; }
.hc-mailbox .hc-cred__row { grid-template-columns: 110px minmax(0, 1fr) auto; }
.hc-settings-wrap { overflow-x: auto; border: 1px solid var(--hc-border); border-radius: 14px; }
.hc-account .hc-settings { width: 100%; min-width: 560px; margin: 0 !important; border: 0 !important; border-collapse: collapse; font-size: 15.5px; }
.hc-account .hc-settings th, .hc-account .hc-settings td {
	padding: 15px 20px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--hc-border) !important;
	background: none !important;
	text-align: left;
	vertical-align: middle;
	color: var(--hc-ink) !important;
}
.hc-account .hc-settings tbody tr:last-child th, .hc-account .hc-settings tbody tr:last-child td { border-bottom: 0 !important; }
.hc-account .hc-settings thead th { font-family: var(--hc-mono); font-size: 12.5px !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hc-muted) !important; }
.hc-account .hc-settings tbody th { font-weight: 600; }
.hc-account .hc-settings td { font-family: var(--hc-mono); font-size: 14.5px; }
.hc-account .hc-settings code { padding: 0; background: none; font-family: var(--hc-mono); font-size: 14.5px; color: var(--hc-ink); }
@media (max-width: 600px) { .hc-mailbox .hc-cred__row { grid-template-columns: minmax(0, 1fr) auto; } }

/* The Elementor My Account widget styles h2–h3 and links inside the tab; keep the design's type. */
.hc-account .hc-plan__head h3,
.hc-account .hc-wsite__name h4,
.hc-account .hc-cred__head h5,
.hc-account .hc-modal__head h4 {
	font-family: var(--hc-display) !important;
	font-weight: 800 !important;
	letter-spacing: -.02em !important;
	color: var(--hc-ink) !important;
	text-transform: none !important;
}
.hc-account .hc-plan__head h3 { font-size: 24px !important; line-height: 1.15 !important; }
.hc-account .hc-wsite__name h4 { font-size: 19px !important; font-weight: 700 !important; line-height: 1.25 !important; }
.hc-account .hc-cred__head h5 { font-size: 15.5px !important; font-weight: 700 !important; letter-spacing: 0 !important; }
.hc-account .hc-modal__head h4 { font-size: 22px !important; }
.hc-account a:not(.hc-btn) { color: var(--hc-accent) !important; }
.hc-account .hc-wsite__name h4 a { color: inherit !important; }
.hc-account .hc-alert a { color: inherit !important; }
