/* ==========================================================================
   Account Pages — Card-Based Redesign
   Prefix: acct- to avoid collisions with subscription-cards.css
   ========================================================================== */

/* ---------- Back Link ---------- */
.acct-back-link {
    display: inline-block;
    color: #6287a3;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 10px;
}
.acct-back-link:hover {
    text-decoration: underline;
}

/* ---------- Page Header ---------- */
.acct-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.acct-page-header h1 {
    margin: 0;
    font-size: 28px;
}
.acct-page-header--with-jump {
    justify-content: flex-start;
    margin-bottom: 0;
    padding-bottom: 20px;
    flex-wrap: nowrap;
}
.acct-jump-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.acct-jump-row__label {
    color: #333;
    font-size: 14px;
}
.acct-jump-row__button {
    background: #fff;
    border: 1px solid #347647;
    border-radius: 6px;
    color: #347647;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    min-height: 28px;
    padding: 7px 12px;
    text-decoration: none;
}
.acct-jump-row__button:hover {
    background: #f4fbf6;
    text-decoration: none;
}
.acct-section-anchor {
    margin-top: 44px;
    scroll-margin-top: 90px;
}

.acct-drafts-header,
.acct-expired-header,
.acct-sold-leased-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}
.acct-drafts-header h3,
.acct-expired-header h3,
.acct-sold-leased-header h3 {
    margin: 0;
}
.acct-section-actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
}
.acct-section-toggle {
    color: #347647;
    font-size: 14px;
    text-decoration: underline;
}
.acct-section-toggle:hover {
    color: #255735;
}
.acct-collapsible-listings[hidden] {
    display: none;
}

/* ---------- Stat Cards ---------- */
.acct-stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.acct-stat-card {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    border-top: 4px solid #6287a3;
    padding: 20px;
    text-align: center;
}
.acct-stat-card--active {
    background: #347647;
    border-top-color: #347647;
    color: #fff;
}
.acct-stat-card--inactive {
    background: #999;
    border-top-color: #999;
    color: #fff;
}
.acct-stat-number {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}
.acct-stat-label {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}
.acct-stat-card--active .acct-stat-label,
.acct-stat-card--inactive .acct-stat-label {
    color: rgba(255,255,255,.85);
}

/* ---------- Action Cards ---------- */
.acct-action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.acct-action-card {
    display: block;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .15s, border-color .15s;
}
.acct-action-card:hover {
    border-color: #6287a3;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.acct-action-card__icon {
    font-size: 32px;
    margin-bottom: 8px;
    color: #6287a3;
}
.acct-action-card__title {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}
.acct-action-card__desc {
    font-size: 13px;
    color: #666;
}

/* ---------- Section Header ---------- */
.acct-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}
.acct-section-header h2 {
    margin: 0;
    font-size: 22px;
}
.acct-section-header a {
    color: #6287a3;
    font-size: 14px;
    text-decoration: none;
}
.acct-section-header a:hover {
    text-decoration: underline;
}

/* ---------- Listing Preview Cards ---------- */
.acct-listing-preview-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.acct-listing-preview {
    text-decoration: none;
    color: inherit;
}
.acct-listing-preview img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.acct-listing-preview__name {
    font-weight: 700;
    margin-top: 8px;
    font-size: 15px;
    color: #333;
}
.acct-listing-preview__price {
    font-size: 14px;
    color: #555;
}
.acct-cta-card {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}
.acct-cta-card a {
    color: #6287a3;
    font-weight: 600;
    text-decoration: none;
}
.acct-cta-card a:hover {
    text-decoration: underline;
}

/* ---------- Profile Heading (outside card) ---------- */
.acct-profile-heading {
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 12px;
    text-align: left;
    max-width: 500px;
}

/* ---------- Profile Card ---------- */
.acct-profile-card {
    background: #f5f3ef;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 24px;
    max-width: 500px;
    margin-bottom: 32px;
}
.acct-profile-card h2 {
    margin: 0 0 12px;
    font-size: 16px;
}
.acct-profile-card__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px 20px;
    font-size: 14px;
    color: #555;
}
.acct-profile-card__label {
    font-weight: 600;
    color: #333;
}
.acct-btn-outline {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 20px;
    border: 1px solid #555;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}
.acct-btn-outline:hover {
    background: #f0f0f0;
}
.acct-btn-outline--muted {
    color: #999;
}
.acct-btn-outline--muted:hover {
    background: none;
    color: #666;
}
.acct-inline-form {
    display: inline;
}

/* ---------- Listing Cards (My Horses) ---------- */
.acct-my-horses {
	color: #666;
	font-weight: 200;
}
.acct-my-horses .acct-page-header h1,
.acct-my-horses > h3,
.acct-my-horses .acct-drafts-header h3,
.acct-my-horses .acct-expired-header h3,
.acct-my-horses .acct-sold-leased-header h3 {
	color: #666;
	font-weight: 300;
}
.acct-my-horses .acct-jump-row__label,
.acct-my-horses .acct-listing-card,
.acct-my-horses .acct-listing-card__meta,
.acct-my-horses .acct-listing-card__metrics,
.acct-my-horses .acct-listing-card__metrics span {
	color: #666;
	font-weight: 200;
}
.acct-my-horses .acct-listing-card__name,
.acct-my-horses .acct-listing-card__name a,
.acct-my-horses .acct-listing-card__metrics strong {
	color: #666;
	font-weight: 300;
}
.acct-my-horses .acct-listing-card__name a:hover {
	color: #6287a3;
}
.acct-my-horses .acct-listing-card__actions {
	gap: 5px;
}
.acct-my-horses .acct-listing-card__actions a,
.acct-my-horses .acct-listing-card__actions button {
	font-size: 13px;
	min-height: 30px;
	padding: 5px 9px;
}
.acct-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.acct-listing-card {
	background: #fff;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	font-size: 15px;
	overflow: hidden;
}
.acct-listing-card__thumb {
	position: relative;
}
.acct-my-horses .acct-listing-card__thumb::after {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
	bottom: 0;
	content: "";
	height: 30%;
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	z-index: 1;
}
.acct-listing-card__thumb img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}
.acct-listing-card__thumb-badges {
	align-items: flex-end;
	bottom: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
	left: 10px;
	max-width: calc(100% - 20px);
	position: absolute;
}
.acct-listing-card__package-badge,
.acct-listing-card__renew-badge {
	background: rgba(51, 51, 51, 0.84);
	border-radius: 4px;
	box-sizing: border-box;
	color: #ddd;
	line-height: 1.2;
	max-width: 100%;
	padding: 6px 9px;
	text-align: left;
	width: max-content;
}
.acct-listing-card__package-badge {
	font-size: 14px;
	font-weight: 400;
}
.acct-listing-card__renew-badge {
	background: rgba(51, 51, 51, 0.84);
	flex: 0 1 auto;
	font-size: 13px;
	font-weight: 200;
	min-width: 0;
	white-space: nowrap;
}
.acct-listing-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 14px;
	text-align: left;
}
.acct-listing-card__name {
	font-weight: 700;
	font-size: 18px;
	color: #333;
	line-height: 1.25;
	margin-bottom: 7px;
}
.acct-listing-card__name a {
	color: #333;
	text-decoration: none;
}
.acct-listing-card__name a:hover {
	color: #6287a3;
	text-decoration: none;
}
.acct-listing-card__status-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 7px;
}
.acct-listing-card__sold {
	color: #ff0000;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
}
.acct-listing-card__incomplete {
	color: #d97706;
	font-size: 13px;
	line-height: 1.2;
	margin-bottom: 0;
}
.acct-listing-card__meta {
	font-size: 15px;
	color: #666;
	margin-bottom: 10px;
}
.acct-listing-card__metrics {
	border-bottom: 1px solid #eee;
	border-top: 1px solid #eee;
	color: #666;
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 12px;
	padding: 10px 0;
}
.acct-listing-card__metrics span {
	font-size: 14px;
	line-height: 1.25;
	min-width: 0;
}
.acct-listing-card__metrics strong {
	color: #333;
	display: block;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: 2px;
}
.acct-my-horses .acct-listing-card__name,
.acct-my-horses .acct-listing-card__meta,
.acct-my-horses .acct-listing-card__metrics {
	text-align: center;
}
.acct-my-horses .acct-listing-card__status-row {
	justify-content: center;
}
.acct-my-horses .acct-listing-card__thumb-badges {
	gap: 9px;
	justify-content: center;
	left: 50%;
	text-align: center;
	transform: translateX(-50%);
	width: calc(100% - 20px);
	z-index: 2;
}
.acct-my-horses .acct-listing-card__package-badge,
.acct-my-horses .acct-listing-card__renew-badge {
	background: transparent;
	border-radius: 0;
	color: #ddd;
	padding: 0;
	text-align: center;
}
.acct-listing-card__action-stack {
	display: grid;
	gap: 8px;
	margin-top: auto;
	padding-top: 2px;
}
.acct-listing-card__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	justify-content: center;
	margin-top: 0;
}
.acct-listing-card__actions a,
.acct-listing-card__actions button {
	align-items: center;
	background: #f5f5f5;
	border: 1px solid #d7d7d7;
	border-radius: 4px;
	box-sizing: border-box;
	color: #666;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	justify-content: center;
	line-height: 1.15;
	min-height: 36px;
	min-width: 0;
	padding: 7px 12px;
	text-align: center;
	text-decoration: none;
}
.acct-listing-card__actions a:hover,
.acct-listing-card__actions button:hover {
	background: #eef5f9;
	border-color: #c3d6e3;
	color: #4f7189;
    text-decoration: none;
}
.acct-listing-card__actions--primary a,
.acct-listing-card__actions--primary button {
	background: #6287a3;
	border-color: #6287a3;
	color: #fff;
}
.acct-listing-card__actions--primary a:hover,
.acct-listing-card__actions--primary button:hover {
	background: #557991;
	border-color: #557991;
	color: #fff;
}
.acct-my-horses .acct-listing-card__actions--primary a,
.acct-my-horses .acct-listing-card__actions--primary button {
	background: #cccccc;
	border-color: #cccccc;
	color: #555;
}
.acct-my-horses .acct-listing-card__actions--primary a:visited {
	color: #555;
}
.acct-my-horses .acct-listing-card__actions--primary a:hover,
.acct-my-horses .acct-listing-card__actions--primary a:focus,
.acct-my-horses .acct-listing-card__actions--primary button:hover,
.acct-my-horses .acct-listing-card__actions--primary button:focus {
	background: #bfbfbf;
	border-color: #bfbfbf;
	color: #555;
}
.acct-my-horses .acct-listing-card__actions--primary a.acct-listing-card__edit-needs-info {
	border-color: #d97821;
	box-shadow: inset 0 0 0 1px #d97821;
}
.acct-my-horses .acct-listing-card__actions--primary a.acct-listing-card__edit-needs-info:hover,
.acct-my-horses .acct-listing-card__actions--primary a.acct-listing-card__edit-needs-info:focus {
	border-color: #d97821;
	box-shadow: inset 0 0 0 1px #d97821;
}
.acct-listing-card__actions--secondary a,
.acct-listing-card__actions--secondary button {
	background: #f5f5f5;
	color: #777;
}
.acct-listing-card__actions--secondary a[href^="javascript:markAdSold"] {
	background: #fff;
	border-color: #dedede;
	color: #666;
}
.acct-listing-card__actions--secondary a[href^="javascript:markAdSold"]:hover {
	background: #eef5f9;
	border-color: #c3d6e3;
	color: #4f7189;
}
.acct-my-horses .acct-listing-card__print-flyer {
	background: #fff;
	border-color: #dedede;
	color: #666;
}
.acct-my-horses .acct-listing-card__actions--secondary a,
.acct-my-horses .acct-listing-card__actions--secondary button,
.acct-my-horses .acct-listing-card__actions--tertiary a {
	color: #666;
	font-weight: 200;
}
.acct-my-horses .acct-listing-card__actions--auxiliary a {
	color: #666;
}
.acct-my-horses .acct-listing-card__actions--secondary a:visited,
.acct-my-horses .acct-listing-card__actions--tertiary a:visited,
.acct-my-horses .acct-listing-card__actions--auxiliary a:visited {
	color: #666;
}
.acct-my-horses .acct-listing-card__actions--secondary .acct-listing-card__social-flyer-trigger {
	background: #fff;
	border-color: #dedede;
	color: #666;
}
.acct-my-horses .acct-listing-card__print-flyer:hover {
	background: #fff;
	border-color: #cfcfcf;
	color: #666;
}
.acct-my-horses .acct-listing-card__actions--secondary .acct-listing-card__social-flyer-trigger:hover,
.acct-my-horses .acct-listing-card__actions--secondary .acct-listing-card__social-flyer-trigger:focus {
	background: #fff;
	border-color: #cfcfcf;
	color: #666;
}
.acct-my-horses .acct-listing-card__actions--secondary a:hover,
.acct-my-horses .acct-listing-card__actions--secondary a:focus,
.acct-my-horses .acct-listing-card__actions--secondary button:hover,
.acct-my-horses .acct-listing-card__actions--secondary button:focus,
.acct-my-horses .acct-listing-card__actions--tertiary a:hover,
.acct-my-horses .acct-listing-card__actions--tertiary a:focus,
.acct-my-horses .acct-listing-card__actions--auxiliary a:hover,
.acct-my-horses .acct-listing-card__actions--auxiliary a:focus {
	color: #666;
}
.acct-listing-card__social-flyer {
	margin-top: 10px;
}
.acct-listing-card__actions .acct-listing-card__social-flyer-trigger {
	width: auto;
}
.acct-listing-card__social-flyer-trigger {
	align-items: center;
	background: #fff;
	border: 1px solid #dedede;
	border-radius: 4px;
	box-sizing: border-box;
	color: #666;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	justify-content: center;
	line-height: 1.2;
	min-height: 30px;
	padding: 5px 9px;
	text-align: center;
	width: 100%;
}
.acct-listing-card__social-flyer-trigger:hover,
.acct-listing-card__social-flyer-trigger:focus {
	background: #fff;
	border-color: #cfcfcf;
	color: #4f7189;
}
.acct-social-flyer-modal[hidden] {
	display: none;
}
.acct-social-flyer-modal {
	align-items: center;
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	padding: 20px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 10000;
}
.acct-social-flyer-modal__scrim {
	background: rgba(0, 0, 0, 0.55);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}
.acct-social-flyer-modal__panel {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
	box-sizing: border-box;
	color: #666;
	font-weight: 200;
	max-height: calc(100vh - 40px);
	max-width: 620px;
	overflow: auto;
	padding: 22px;
	position: relative;
	width: min(100%, 620px);
}
.acct-social-flyer-modal__close {
	align-items: center;
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 50%;
	color: #666;
	cursor: pointer;
	display: inline-flex;
	font-size: 24px;
	font-weight: 300;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 16px;
	top: 16px;
	width: 36px;
}
.acct-social-flyer-modal__close:hover,
.acct-social-flyer-modal__close:focus {
	background: #eef5f9;
	border-color: #c3d6e3;
	color: #4f7189;
}
.acct-social-flyer-modal h2 {
	color: #666;
	font-size: 24px;
	font-weight: 300;
	line-height: 1.2;
	margin: 0 48px 18px 0;
}
.acct-social-flyer-modal__preview {
	align-items: center;
	background: #f3f5f6;
	border: 1px solid #e0e3e5;
	border-radius: 6px;
	display: flex;
	justify-content: center;
	min-height: 260px;
	overflow: hidden;
	position: relative;
}
.acct-social-flyer-modal__preview img {
	display: none;
	height: auto;
	max-height: min(68vh, 720px);
	max-width: 100%;
	width: auto;
}
.acct-social-flyer-modal__loading,
.acct-social-flyer-modal__error {
	color: #666;
	font-size: 16px;
	font-weight: 200;
	padding: 28px;
	text-align: center;
}
.acct-social-flyer-modal__error {
	display: none;
}
.acct-social-flyer-modal__actions {
	align-items: flex-start;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 14px;
	position: relative;
}
.acct-social-flyer-modal__button,
.acct-social-flyer-modal__actions .listing-share__toggle {
	align-items: center;
	background: #6287a3;
	border: 1px solid #6287a3;
	border-radius: 4px;
	box-sizing: border-box;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	justify-content: center;
	line-height: 1.2;
	min-height: 38px;
	padding: 9px 16px;
	text-align: center;
	text-decoration: none;
}
.acct-social-flyer-modal__button:hover,
.acct-social-flyer-modal__button:focus,
.acct-social-flyer-modal__actions .listing-share__toggle:hover,
.acct-social-flyer-modal__actions .listing-share__toggle:focus {
	background: #557991;
	border-color: #557991;
	color: #fff;
	text-decoration: none;
}
.acct-social-flyer-modal__actions .listing-share__menu {
	left: auto;
	right: 0;
	top: calc(100% + 8px);
}
.acct-listing-card__actions--tertiary {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}
.acct-listing-card__actions--tertiary a {
	background: #fff;
	border-color: #dedede;
	color: #666;
}
.acct-listing-card__actions--auxiliary a {
	background: #fff;
	border-color: #dedede;
	color: #666;
}
.acct-listing-card__needs-info {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	margin-left: 4px;
}
.acct-listing-card__package {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
}
/* Create New Listing button */
.acct-btn-primary {
    display: inline-block;
    padding: 10px 22px;
    background: #001F27;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.acct-btn-primary:hover {
    background: #003040;
}
.acct-btn-primary.acct-list-horse-btn {
    background: #97fe9a;
    color: #000;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
}
.acct-btn-primary.acct-list-horse-btn:hover {
    background: #97fe9a;
}
.acct-drafts-activate-btn {
    align-items: center;
    background: #97fe9a;
    box-sizing: border-box;
    color: #000;
    display: inline-flex;
    font-weight: 400;
    justify-content: center;
    line-height: 1.2;
    min-height: 38px;
    min-width: 150px;
    padding: 10px 18px;
    text-align: center;
    white-space: nowrap;
}
.acct-drafts-activate-btn:hover {
    background: #97fe9a;
}
.acct-renew-all-btn {
    align-items: center;
    background: #97fe9a;
    box-sizing: border-box;
    color: #000;
    display: inline-flex;
    font-size: 13px;
    font-weight: 400;
    justify-content: center;
    line-height: 1.2;
    min-height: 34px;
    padding: 8px 16px;
    text-align: center;
    white-space: nowrap;
}
.acct-renew-all-btn:hover {
    background: #97fe9a;
}
.listing-payment-page {
    max-width: 1120px;
}
.listing-payment-page .order-checkout-form {
    margin-bottom: 0;
}
.listing-payment-page .order-listing-package {
    color: #333;
    font-size: 14px;
    line-height: 1.35;
}
.listing-payment-add-drafts {
    margin: 0 0 16px;
}
.acct-btn-primary.listing-payment-add-drafts__button {
    background: #97fe9a;
    color: #000;
    font-weight: 400;
}
.acct-btn-primary.listing-payment-add-drafts__button:hover {
    background: #97fe9a;
}
.acct-btn-primary.order-activation-button {
    align-items: center;
    background: #97fe9a;
    color: #000;
    display: inline-flex;
    font-weight: 400;
    justify-content: center;
}
.acct-btn-primary.order-activation-button:hover {
    background: #97fe9a;
    color: #000;
}
.listing-payment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.listing-payment-actions button {
    box-sizing: border-box;
    min-height: 40px;
}
.listing-payment-actions .submitPayment {
    flex: 1 1 150px;
}
.listing-payment-secondary-button {
    background: #fff;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    flex: 0 1 auto;
    padding: 9px 12px;
}
.upgrade-summary-header {
    border-bottom: 1px solid #ededed;
    padding: 14px;
}
.upgrade-summary-header h3 {
    color: #333;
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
}
.acct-btn-primary.acct-upgrade-all-btn {
    align-items: center;
    background: #97fe9a;
    box-sizing: border-box;
    color: #000;
    display: inline-flex;
    font-size: 13px;
    font-weight: 400;
    justify-content: center;
    line-height: 1.2;
    min-height: 34px;
    padding: 8px 16px;
    text-align: center;
    white-space: nowrap;
}
.acct-btn-primary.acct-upgrade-all-btn:hover {
    background: #97fe9a;
    color: #000;
}
.upgrade-payment-add-all {
    text-align: left;
}
.upgrade-listing-package {
    color: #333;
    font-size: 14px;
    line-height: 1.35;
}
.upgrade-listing-package span,
.upgrade-listing-package strong {
    display: block;
}
.upgrade-package-arrow,
.upgrade-new-expiration {
    color: #777;
    font-size: 12px;
    margin-top: 2px;
}
.upgrade-new-expiration {
    margin-top: 5px;
}
.upgrade-remove-listing-wrap {
    margin-top: 4px;
}
.upgrade-remove-listing {
    color: #3a7d44;
    font-size: 10px;
    font-weight: 400;
    text-decoration: none;
}
.upgrade-remove-listing:hover {
    text-decoration: underline;
}

/* Checkout button for unpaid */
.acct-checkout-row {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* ---------- Messages ---------- */
.acct-info-banner {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}
.acct-message-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}
.acct-message-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 16px;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}
.acct-message-card--unread {
    border-left: 4px solid #6287a3;
    font-weight: bold;
}
.acct-message-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
}
.acct-message-card__content {
    flex: 1;
    min-width: 0;
}
.acct-message-card__sender {
    font-size: 15px;
    color: #333;
}
.acct-message-card__preview {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
}
.acct-message-card__meta {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.acct-message-card__date {
    font-size: 13px;
    color: #888;
    font-weight: 400;
    white-space: nowrap;
}
.acct-message-card__delete {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 16px;
    padding: 0;
}
.acct-message-card__delete:hover {
    color: #c00;
}

/* ---------- Edit Profile 2-Column ---------- */
.acct-form-card {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 32px;
}
.acct-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}
.acct-form-grid .acct-form-field {
    display: flex;
    flex-direction: column;
}
.acct-form-grid .acct-form-field label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.acct-form-grid .acct-form-field input,
.acct-form-grid .acct-form-field select,
.acct-form-grid .acct-form-field textarea {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}
.acct-form-grid .acct-form-field input:focus,
.acct-form-grid .acct-form-field select:focus,
.acct-form-grid .acct-form-field textarea:focus {
    border-color: #6287a3;
    outline: none;
}
.acct-form-full {
    grid-column: 1 / -1;
}
.acct-form-section-title {
    grid-column: 1 / -1;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.acct-form-checkbox {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.acct-form-submit {
    grid-column: 1 / -1;
    margin-top: 8px;
}

/* ---------- Wizard Step Indicator ---------- */
.acct-wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    padding: 20px 0;
}
.acct-wizard-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #999;
}
.acct-wizard-step__circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #999;
    background: #fff;
    flex-shrink: 0;
}
.acct-wizard-step.active .acct-wizard-step__circle {
    background: #6287a3;
    border-color: #6287a3;
    color: #fff;
}
.acct-wizard-step.active {
    color: #333;
    font-weight: 600;
}
.acct-wizard-step.completed .acct-wizard-step__circle {
    background: #6287a3;
    border-color: #6287a3;
    color: #fff;
}
.acct-wizard-step.completed .acct-wizard-step__circle::after {
    content: "✓";
}
.acct-wizard-step button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
    padding: 0;
}
.acct-wizard-step__connector {
    width: 40px;
    height: 2px;
    background: #ccc;
    margin: 0 8px;
}
.acct-wizard-step.completed + .acct-wizard-step__connector {
    background: #6287a3;
}

/* ---------- Account Dropdown ---------- */
.acct-dropdown-wrap {
    position: relative;
    display: inline-block;
}
.acct-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    min-width: 200px;
    z-index: 1000;
    padding: 8px 0;
}
.acct-dropdown.show {
    display: block;
}
.acct-dropdown a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}
.acct-dropdown a:hover {
    background: #f5f5f5;
}
.acct-dropdown__separator {
    height: 1px;
    background: #e0e0e0;
    margin: 6px 0;
}
.acct-dropdown a.acct-dropdown__secondary {
    font-size: 12px;
    color: #777;
    padding: 7px 20px;
}

/* ---------- Subscription full-width overrides ---------- */
.acct-subscriptions .subscription-cards-container {
    max-width: 100%;
}
.acct-subscriptions .subscription-history-table {
    width: 100%;
}

/* ---------- Saved Searches ---------- */
.acct-saved-searches {
    color: #666;
    font-weight: 200;
    max-width: 980px;
}
.acct-saved-searches__header {
    align-items: flex-start;
    margin-bottom: 18px;
}
.acct-saved-searches__heading {
    min-width: 0;
    max-width: 680px;
}
.acct-saved-searches__heading h1 {
    color: #666;
    font-size: 30px;
    font-weight: 300;
    line-height: 1.15;
    margin: 0 0 8px;
}
.acct-saved-searches__heading p {
    color: #666;
    font-size: 16px;
    font-weight: 200;
    line-height: 1.5;
    margin: 0;
}
.acct-btn-primary.acct-saved-searches__create {
    align-items: center;
    background: #97fe9a;
    border: 1px solid #97fe9a;
    border-radius: 4px;
    box-sizing: border-box;
    color: #666;
    display: inline-flex;
    font-size: 14px;
    font-weight: 200;
    justify-content: center;
    line-height: 1.2;
    min-height: 38px;
    padding: 9px 18px;
    text-align: center;
    white-space: nowrap;
}
.acct-btn-primary.acct-saved-searches__create:hover {
    background: #97fe9a;
    color: #444;
    text-decoration: none;
}
.acct-saved-searches__guide {
    align-items: start;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    display: grid;
    gap: 18px;
    grid-template-columns: 170px minmax(0, 1fr);
    margin-bottom: 22px;
    padding: 18px;
}
.acct-saved-searches__guide-title {
    color: #666;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.25;
}
.acct-saved-searches__guide ol {
    counter-reset: saved-search-step;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}
.acct-saved-searches__guide li {
    color: #666;
    font-size: 14px;
    font-weight: 200;
    line-height: 1.35;
    min-width: 0;
    padding-left: 32px;
    position: relative;
}
.acct-saved-searches__guide li::before {
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #d7d7d7;
    border-radius: 50%;
    box-sizing: border-box;
    color: #666;
    content: counter(saved-search-step);
    counter-increment: saved-search-step;
    display: inline-flex;
    font-size: 12px;
    font-weight: 300;
    height: 22px;
    justify-content: center;
    left: 0;
    line-height: 1;
    position: absolute;
    top: 0;
    width: 22px;
}
.acct-saved-search-list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.acct-saved-search-card {
    align-items: center;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    padding: 16px;
}
.acct-saved-search-card__main {
    min-width: 0;
}
.acct-saved-search-card__name {
    color: #666;
    display: inline-block;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.25;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-decoration: none;
}
.acct-saved-search-card__name:hover {
    color: #6287a3;
    text-decoration: none;
}
.acct-saved-search-card__meta {
    color: #777;
    font-size: 13px;
    font-weight: 200;
    line-height: 1.4;
    margin-top: 4px;
}
.acct-saved-search-card__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.acct-saved-search-card__button {
    align-items: center;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 13px;
    font-weight: 200;
    justify-content: center;
    line-height: 1.2;
    min-height: 34px;
    padding: 8px 14px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}
.acct-saved-search-card__button--primary {
    background: #97fe9a;
    border: 1px solid #97fe9a;
    color: #666;
}
.acct-saved-search-card__button--primary:hover {
    color: #444;
    text-decoration: none;
}
.acct-saved-search-card__button--delete {
    background: #fff;
    border: 1px solid #d6d6d6;
    color: #777;
}
.acct-saved-search-card__button--delete:hover {
    border-color: #c0392b;
    color: #c0392b;
}
.acct-saved-searches__empty {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    color: #666;
    padding: 30px 22px;
    text-align: center;
}
.acct-saved-searches__empty h2 {
    color: #666;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 8px;
}
.acct-saved-searches__empty p {
    color: #666;
    font-size: 15px;
    font-weight: 200;
    line-height: 1.45;
    margin: 0 0 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
    .acct-stat-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .acct-action-grid {
        grid-template-columns: 1fr;
    }
    .acct-listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .acct-listing-preview-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .acct-saved-searches__guide {
        grid-template-columns: 1fr;
    }
    .acct-saved-searches__guide ol {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 719px) {
    .acct-wizard-steps {
        padding: 16px 8px;
        gap: 0;
    }
    .acct-wizard-step {
        font-size: 11px;
        gap: 4px;
    }
    .acct-wizard-step__circle {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    .acct-wizard-step__connector {
        width: 20px;
        margin: 0 4px;
    }
    .acct-stat-row {
        grid-template-columns: 1fr;
    }
    .acct-listing-grid {
        grid-template-columns: 1fr;
    }
    .acct-listing-preview-row {
        grid-template-columns: 1fr;
    }
    .acct-form-grid {
        grid-template-columns: 1fr;
    }
    .acct-form-full {
        grid-column: 1;
    }
    .acct-form-section-title,
    .acct-form-checkbox,
    .acct-form-submit {
        grid-column: 1;
    }
    .acct-message-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .acct-message-card__meta {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
    .acct-page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .acct-page-header--with-jump {
        flex-direction: row;
        align-items: center;
    }
    .acct-list-horse-btn {
        font-size: 13px;
        padding: 8px 12px;
    }
    .acct-section-anchor {
        margin-top: 34px;
    }
    .acct-my-horses > h3,
    .acct-my-horses .acct-drafts-header h3,
    .acct-my-horses .acct-expired-header h3,
    .acct-my-horses .acct-sold-leased-header h3 {
        font-size: 21px;
        line-height: 1.2;
        margin: 16px 0;
    }
    .acct-my-horses .acct-drafts-header,
    .acct-my-horses .acct-expired-header,
    .acct-my-horses .acct-sold-leased-header {
        margin-bottom: 16px;
        margin-top: 18px;
    }
    .acct-my-horses .acct-listing-card__actions {
        gap: 8px;
    }
    .acct-my-horses .acct-listing-card__actions a,
    .acct-my-horses .acct-listing-card__actions button,
    .acct-my-horses .acct-listing-card__social-flyer-trigger {
        font-size: 14px;
        min-height: 38px;
        padding: 8px 12px;
    }
    .acct-saved-searches__header {
        gap: 16px;
    }
    .acct-btn-primary.acct-saved-searches__create {
        width: 100%;
    }
    .acct-saved-searches__heading h1 {
        font-size: 26px;
    }
    .acct-saved-searches__heading p {
        font-size: 15px;
    }
    .acct-saved-search-card {
        align-items: stretch;
        grid-template-columns: 1fr;
    }
    .acct-saved-search-card__actions {
        justify-content: stretch;
    }
    .acct-saved-search-card__button {
        flex: 1 1 0;
    }
    .acct-social-flyer-modal {
        align-items: stretch;
        padding: 12px;
    }
    .acct-social-flyer-modal__panel {
        max-height: calc(100vh - 24px);
        padding: 18px;
        width: 100%;
    }
    .acct-social-flyer-modal h2 {
        font-size: 21px;
        margin-right: 42px;
    }
    .acct-social-flyer-modal__preview {
        min-height: 220px;
    }
    .acct-social-flyer-modal__preview img {
        max-height: 64vh;
    }
    .acct-social-flyer-modal__actions .listing-share,
    .acct-social-flyer-modal__button {
        flex: 1 1 0;
    }
    .acct-social-flyer-modal__button,
    .acct-social-flyer-modal__actions .listing-share__toggle {
        width: 100%;
    }
}

/* ---------- Mobile compact cards ---------- */
@media (max-width: 767px) {
    .acct-stat-card {
        padding: 12px 8px;
    }
    .acct-stat-number {
        font-size: 24px;
    }
    .acct-stat-label {
        font-size: 11px;
    }
    .acct-action-card {
        padding: 16px 12px;
    }
    .acct-action-card__icon {
        font-size: 24px;
        margin-bottom: 4px;
    }
    .acct-action-card__title {
        font-size: 14px;
        margin-bottom: 2px;
    }
    .acct-action-card__desc {
        font-size: 11px;
    }
    .acct-saved-searches__guide {
        padding: 16px;
    }
}

/* ---------- Small phone (390px) ---------- */
@media (max-width: 419px) {
    .acct-listing-grid {
        gap: 12px;
        padding: 0 4px;
    }
    .acct-listing-card__stats,
    .acct-listing-card__expiry {
        font-size: 15px;
        color: #555;
    }
    .acct-listing-card__package {
        font-size: 14px;
        color: #777;
    }
    .acct-saved-search-card__actions {
        flex-direction: column;
    }
    .acct-saved-search-card__button {
        width: 100%;
    }
    .acct-social-flyer-modal__actions {
        flex-direction: column;
    }
    .acct-social-flyer-modal__actions .listing-share {
        width: 100%;
    }
}
