/**
 * Pets4All Core — front-end shortcode/forms (Phase 10).
 * Scoped under .p4a-form-shell; complements theme.
 */

.p4a-form-shell {
	--p4a-radius: 12px;
	--p4a-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
	--p4a-border: 1px solid rgba(15, 23, 42, 0.08);
	--p4a-muted: rgba(15, 23, 42, 0.62);
	--p4a-primary: #0f766e;
	--p4a-primary-hover: #0d9488;
	--p4a-danger: #b91c1c;
	--p4a-warning: #b45309;
	--p4a-success: #047857;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

/* Login / register / lost / reset — Pets4All warm premium (matches theme tokens) */
.p4a-form-shell.p4a-form-shell--auth {
	--p4a-radius: 14px;
	--p4a-shadow: 0 1px 2px rgb(44 43 41 / 4%), 0 10px 32px rgb(44 43 41 / 5.5%);
	--p4a-border: 1px solid #efe7e2;
	--p4a-muted: rgba(90, 87, 83, 0.85);
	--p4a-primary: #e85d04;
	--p4a-primary-hover: #cf5204;
	max-width: 28rem;
	margin: clamp(2rem, 5vw, 3.5rem) auto;
	padding: 0 clamp(0.5rem, 3vw, 1rem);
}

.p4a-form-shell--auth .p4a-form-card,
.p4a-form-shell--auth .p4a-shortcode-card {
	border-color: #efe7e2;
}

.p4a-form-shell--auth .p4a-shortcode-title {
	font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #2c2b29;
}

.p4a-form-shell--auth .p4a-shortcode-text {
	color: #5a5753;
}

.p4a-shortcode-lead {
	margin: 0 0 1.25rem;
	line-height: 1.55;
	color: #5a5753;
	font-size: 1rem;
}

.p4a-shortcode-auth-footer {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(44, 43, 41, 0.08);
}

.p4a-shortcode-auth-footer--register-only {
	margin-top: 1.35rem;
	padding-top: 1.35rem;
	border-top: 1px solid rgba(44, 43, 41, 0.08);
	text-align: center;
}

.p4a-login-form__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem 1rem;
	margin: 0 0 1rem;
}

.p4a-login-form__remember {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-size: 0.95rem;
	font-weight: 500;
	color: #5a5753;
	cursor: pointer;
}

.p4a-login-form__remember input[type="checkbox"] {
	width: 1.05rem;
	height: 1.05rem;
	margin: 0;
	accent-color: var(--p4a-primary);
}

.p4a-login-form__forgot {
	flex: 1 1 auto;
	text-align: right;
	min-width: min(100%, 12rem);
}

.p4a-login-form__forgot .p4a-shortcode-auth-link {
	font-size: 0.9rem;
	white-space: nowrap;
}

@media (max-width: 28rem) {
	.p4a-login-form__row {
		flex-direction: column;
		align-items: stretch;
	}

	.p4a-login-form__forgot {
		text-align: left;
	}
}

.p4a-shortcode-auth-links {
	margin: 0;
	text-align: center;
	font-size: 0.95rem;
	line-height: 1.5;
}

.p4a-shortcode-auth-link--register {
	font-size: 1rem;
}

.p4a-shortcode-auth-link {
	color: #2f6f5e;
	font-weight: 600;
	text-decoration: none;
}

.p4a-shortcode-auth-link:hover {
	color: #e85d04;
	text-decoration: underline;
}

.p4a-shortcode-auth-sep {
	color: rgba(44, 43, 41, 0.32);
	margin: 0 0.4rem;
}

.p4a-form-shell__inner {
	width: 100%;
}

.p4a-form-card,
.p4a-shortcode-card {
	background: #fff;
	border: var(--p4a-border);
	border-radius: var(--p4a-radius);
	box-shadow: var(--p4a-shadow);
	overflow: hidden;
}

.p4a-form-card__body,
.p4a-shortcode-card .p4a-form-card__body {
	padding: clamp(1.25rem, 3vw, 2rem);
}

.p4a-shortcode-title {
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
	color: #0f172a;
}

.p4a-shortcode-subtitle {
	font-size: 1.05rem;
	font-weight: 600;
	margin: 1.5rem 0 0.75rem;
	color: #0f172a;
}

.p4a-shortcode-text {
	line-height: 1.55;
	margin: 0 0 1rem;
	color: #334155;
}

.p4a-shortcode-text--muted,
.p4a-form-hint {
	font-size: 0.9rem;
	color: var(--p4a-muted);
	line-height: 1.5;
}

/* Form sections: first block has no top divider; stacked sections are separated.
   (Avoid :first-of-type — first child divs are often notices, not sections.) */
.p4a-shortcode-form.p4a-form > .p4a-form-section + .p4a-form-section {
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.p4a-shortcode-form.p4a-form > h2.p4a-shortcode-title + .p4a-form-section,
.p4a-shortcode-form.p4a-form > .p4a-shortcode-notice + .p4a-form-section {
	margin-top: 1rem;
	padding-top: 0;
	border-top: 0;
}

.p4a-shortcode-form.p4a-form > h2.p4a-shortcode-title + .p4a-form-section {
	margin-top: 0.75rem;
}

.p4a-form-section__title {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--p4a-muted);
	margin: 0 0 1rem;
}

.p4a-shortcode-field {
	margin: 0 0 1.25rem;
}

.p4a-shortcode-field--checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	cursor: pointer;
	font-size: 0.95rem;
	line-height: 1.45;
}

.p4a-shortcode-field--checkbox input[type="checkbox"] {
	margin-top: 0.2rem;
	width: 1.05rem;
	height: 1.05rem;
	accent-color: var(--p4a-primary);
}

.p4a-shortcode-label,
.p4a-form .p4a-label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 0.35rem;
	color: #1e293b;
}

.p4a-shortcode-label .required {
	color: var(--p4a-danger);
	font-weight: 700;
}

.p4a-shortcode-input,
.p4a-shortcode-textarea,
.p4a-form .p4a-input,
.p4a-form .p4a-textarea,
.p4a-form .p4a-select,
.p4a-shortcode-form select {
	width: 100%;
	max-width: 100%;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 8px;
	padding: 0.6rem 0.75rem;
	font-size: 1rem;
	line-height: 1.45;
	background: #fff;
	color: #0f172a;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.p4a-shortcode-form select,
.p4a-form .p4a-select {
	cursor: pointer;
}

.p4a-shortcode-input:focus,
.p4a-shortcode-textarea:focus,
.p4a-shortcode-form select:focus {
	outline: none;
	border-color: var(--p4a-primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2);
}

.p4a-shortcode-textarea {
	min-height: 9rem;
	resize: vertical;
}

.p4a-shortcode-help,
.p4a-shortcode-field .description {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.85rem;
	color: var(--p4a-muted);
}

.p4a-shortcode-field--thumb-preview img {
	border-radius: 8px;
	border: var(--p4a-border);
	margin-top: 0.35rem;
}

/* File inputs */
.p4a-shortcode-field input[type="file"].p4a-shortcode-input,
.p4a-form input[type="file"].p4a-input-file {
	padding: 0.5rem;
	border-style: dashed;
	background: #f8fafc;
	font-size: 0.9rem;
}

.p4a-shortcode-actions {
	margin: 1.75rem 0 0.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
}

.p4a-shortcode-button,
.p4a-form .p4a-button,
.p4a-shortcode-form .button,
.p4a-shortcode-actions .button {
	border-radius: 8px !important;
	padding: 0.55rem 1.25rem !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	line-height: 1.4 !important;
	transition: background 0.15s, border-color 0.15s, color 0.15s !important;
}

.p4a-shortcode-form .button-primary,
.p4a-shortcode-actions .button-primary,
.p4a-form .p4a-button--primary {
	background: var(--p4a-primary) !important;
	border-color: var(--p4a-primary) !important;
	color: #fff !important;
}

.p4a-shortcode-form .button-primary:hover,
.p4a-shortcode-actions .button-primary:hover,
.p4a-shortcode-login-form .button-primary:hover,
.p4a-pack-checkout-form .button-primary:hover {
	background: var(--p4a-primary-hover) !important;
	border-color: var(--p4a-primary-hover) !important;
	color: #fff !important;
}

/* Explicit primary coverage (login uses .login-submit, not .p4a-shortcode-form) */
.p4a-shortcode-login-form .button.button-primary,
.p4a-shortcode-login-form input[type="submit"].button-primary,
.p4a-shortcode-resetpass-form .button.button-primary,
.p4a-shortcode-resetpass-form input[type="submit"].button-primary {
	background: var(--p4a-primary) !important;
	border-color: var(--p4a-primary) !important;
	color: #fff !important;
	border-radius: 8px !important;
	padding: 0.55rem 1.25rem !important;
	font-weight: 600 !important;
}

.p4a-shortcode-resetpass-form .button-primary:hover,
.p4a-shortcode-resetpass-form input[type="submit"].button-primary:hover {
	background: var(--p4a-primary-hover) !important;
	border-color: var(--p4a-primary-hover) !important;
}

/* Notices */
.p4a-shortcode-notice {
	border-radius: 8px;
	padding: 0.9rem 1.1rem;
	margin: 1rem 0;
	border: 1px solid transparent;
	font-size: 0.95rem;
	line-height: 1.5;
}

.p4a-shortcode-notice p {
	margin: 0;
}

.p4a-shortcode-notice p + p {
	margin-top: 0.65rem;
}

.p4a-shortcode-notice .p4a-shortcode-actions {
	margin: 0.65rem 0 0;
}

.p4a-shortcode-notice--success {
	background: #ecfdf5;
	border-color: rgba(4, 120, 87, 0.25);
	color: #065f46;
}

.p4a-shortcode-notice--info {
	background: #eff6ff;
	border-color: rgba(37, 99, 235, 0.2);
	color: #1e40af;
}

.p4a-shortcode-notice--warning {
	background: #fffbeb;
	border-color: rgba(180, 83, 9, 0.25);
	color: #92400e;
}

.p4a-shortcode-notice--error {
	background: #fef2f2;
	border-color: rgba(185, 28, 28, 0.25);
	color: #991b1b;
}

/* Login / register WP default fields */
.p4a-shortcode-login-form .login-username,
.p4a-shortcode-login-form .login-password,
.p4a-shortcode-register-form .login-username,
.p4a-shortcode-register-form .login-email,
.p4a-shortcode-lostpass-form .login-username,
.p4a-shortcode-resetpass-form .login-password {
	margin-bottom: 1rem;
}

.p4a-shortcode-login-form label,
.p4a-shortcode-register-form label,
.p4a-shortcode-lostpass-form label,
.p4a-shortcode-resetpass-form label {
	font-weight: 600;
	font-size: 0.9rem;
	display: block;
	margin-bottom: 0.35rem;
}

.p4a-shortcode-login-form .input,
.p4a-shortcode-register-form .input,
.p4a-shortcode-lostpass-form .input,
.p4a-shortcode-resetpass-form .input {
	width: 100%;
	max-width: 100%;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 8px;
	padding: 0.6rem 0.75rem;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.p4a-form-shell--auth .p4a-shortcode-login-form .input,
.p4a-form-shell--auth .p4a-shortcode-register-form .input,
.p4a-form-shell--auth .p4a-shortcode-lostpass-form .input,
.p4a-form-shell--auth .p4a-shortcode-resetpass-form .input {
	border-color: #efe7e2;
}

.p4a-shortcode-login-form .input:focus,
.p4a-shortcode-register-form .input:focus,
.p4a-shortcode-lostpass-form .input:focus,
.p4a-shortcode-resetpass-form .input:focus {
	outline: none;
	border-color: var(--p4a-primary);
	box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
}

.p4a-form-shell--auth .p4a-shortcode-login-form .input:focus,
.p4a-form-shell--auth .p4a-shortcode-register-form .input:focus,
.p4a-form-shell--auth .p4a-shortcode-lostpass-form .input:focus,
.p4a-form-shell--auth .p4a-shortcode-resetpass-form .input:focus {
	box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.18);
}

.p4a-shortcode-login-form .login-remember {
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
}

.p4a-shortcode-login-form .login-remember label {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	cursor: pointer;
	font-weight: 500;
}

/* Identity registration (first/last grid) */
.p4a-form-shell--auth:has(.p4a-shortcode-register-form--identity) {
	max-width: 32rem;
}

.p4a-reg-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
	margin-bottom: 0.25rem;
}

@media (max-width: 540px) {
	.p4a-reg-grid {
		grid-template-columns: 1fr;
	}
}

.p4a-shortcode-req {
	color: var(--p4a-danger);
	font-weight: 700;
}

.p4a-account-identity.p4a-shortcode-card {
	margin-bottom: 1.5rem;
	padding: 1.25rem 1.35rem;
	border: var(--p4a-border);
	border-radius: var(--p4a-radius);
	background: #fff;
}

.p4a-identity-phone-locked {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

/* Wallet / dashboard */
.p4a-shortcode-wallet-stats {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	background: #f8fafc;
	border-radius: 8px;
	border: var(--p4a-border);
}

.p4a-shortcode-wallet-stats li {
	margin: 0.35rem 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	align-items: baseline;
}

.p4a-shortcode-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	margin-top: 0.5rem;
}

.p4a-shortcode-table th,
.p4a-shortcode-table td {
	padding: 0.55rem 0.65rem;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	text-align: left;
	vertical-align: top;
}

.p4a-shortcode-table th {
	font-weight: 600;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--p4a-muted);
}

/* Pack cards */
.p4a-shortcode-pack-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.p4a-shortcode-pack-card {
	border: var(--p4a-border);
	border-radius: var(--p4a-radius);
	padding: 1.15rem 1.25rem;
	background: #fafafa;
}

.p4a-shortcode-pack-head {
	font-size: 1.05rem;
	margin-bottom: 0.35rem;
}

.p4a-shortcode-pack-badge {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	background: rgba(15, 118, 110, 0.12);
	color: var(--p4a-primary);
}

.p4a-shortcode-nav .p4a-shortcode-linklist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.p4a-shortcode-nav .p4a-shortcode-linklist li {
	margin: 0.35rem 0;
}

.p4a-shortcode-linklist a {
	font-weight: 600;
	color: var(--p4a-primary);
	text-decoration: none;
}

.p4a-shortcode-linklist a:hover {
	text-decoration: underline;
}

.p4a-dashboard-renew-form {
	display: inline-block;
	vertical-align: middle;
	margin-left: 0.35rem;
}

.p4a-dashboard-renew-form .button.button-small {
	border-radius: 6px;
	font-weight: 600;
	border: 1px solid rgba(15, 23, 42, 0.15);
	background: #fff;
	color: var(--p4a-primary);
}

.p4a-dashboard-renew-form .button.button-small:hover {
	border-color: var(--p4a-primary);
	background: rgba(15, 118, 110, 0.06);
}

/* Dashboard / buy-credits blocks */
.p4a-shortcode-dashboard-pets,
.p4a-shortcode-dashboard-recent,
.p4a-shortcode-wallet,
.p4a-shortcode-wallet-tx,
.p4a-shortcode-packs,
.p4a-shortcode-purchases,
.p4a-shortcode-buy-wallet {
	margin-top: 1.5rem;
}

.p4a-shortcode-wallet--error {
	padding-bottom: 0.25rem;
}

.p4a-shortcode-buy-wallet {
	padding: 1rem 1.15rem;
	background: #f8fafc;
	border-radius: 8px;
	border: var(--p4a-border);
}

.p4a-pack-checkout-form {
	margin: 0;
}

/* Secondary actions */
.p4a-form-card__body .p4a-shortcode-button.button:not(.button-primary) {
	border: 1px solid rgba(15, 23, 42, 0.15);
	background: #fff;
	color: #334155;
}

.p4a-form-card__body .p4a-shortcode-button.button:not(.button-primary):hover {
	border-color: var(--p4a-primary);
	color: var(--p4a-primary);
	background: rgba(15, 118, 110, 0.06);
}

/* Form layout rhythm */
.p4a-shortcode-form.p4a-form {
	margin: 0;
}

.p4a-shortcode-form.p4a-form > h2.p4a-shortcode-title {
	margin-top: 0;
}

/* Wider account dashboard (tables) */
.p4a-form-shell--account {
	max-width: min(56rem, 100%);
}

.p4a-form-mode-banner {
	margin-bottom: 1.25rem;
}

.p4a-account-quick-actions__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
}

.p4a-account-quick-actions__btn {
	border-radius: 8px !important;
	font-weight: 600 !important;
}

.p4a-dashboard-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-top: 0.35rem;
	border-radius: 8px;
	border: var(--p4a-border);
}

.p4a-dashboard-table th,
.p4a-dashboard-table td {
	vertical-align: middle;
	min-width: 5.5rem;
}

.p4a-dashboard-table th:first-child,
.p4a-dashboard-table td:first-child {
	min-width: 8rem;
}

.p4a-dashboard-row-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

.p4a-dashboard-push-form,
.p4a-dashboard-renew-form {
	display: inline-block;
	margin: 0;
}

.p4a-dashboard-push-form .button.button-small,
.p4a-dashboard-renew-form .button.button-small {
	margin: 0;
}

.p4a-shortcode-badge {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.3;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.p4a-shortcode-badge--draft {
	background: #f1f5f9;
	color: #475569;
	border: 1px solid rgba(15, 23, 42, 0.1);
}

.p4a-shortcode-badge--pending {
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid rgba(37, 99, 235, 0.2);
}

.p4a-shortcode-badge--needs {
	background: #fffbeb;
	color: #b45309;
	border: 1px solid rgba(180, 83, 9, 0.25);
}

.p4a-shortcode-badge--rejected {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid rgba(185, 28, 28, 0.2);
}

.p4a-shortcode-badge--live {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid rgba(4, 120, 87, 0.2);
}

.p4a-shortcode-badge--expired {
	background: #f8fafc;
	color: #64748b;
	border: 1px solid rgba(100, 116, 139, 0.25);
}

.p4a-account-table-section {
	margin-top: 1.75rem;
}

/*
 * Marketplace submit shell + premium form surface: pet ad (`p4a_pet_ad_submit`) and
 * business listing (`p4a_listing_submit`) share `p4a-form-shell--pet-ad` and `.p4a-form--pet-ad-premium`.
 */
.p4a-form-shell--pet-ad.p4a-form-shell {
	max-width: 72rem;
	background: #f1f5f9;
	padding: clamp(1.25rem, 4vw, 2.5rem) clamp(0.75rem, 3vw, 1.5rem);
	margin-left: auto;
	margin-right: auto;
}

.p4a-form-shell--pet-ad .p4a-form-card,
.p4a-form-shell--pet-ad .p4a-shortcode-card {
	border-radius: 18px;
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.p4a-form-shell--pet-ad .p4a-form-card__body,
.p4a-form-shell--pet-ad .p4a-shortcode-card .p4a-form-card__body {
	padding: clamp(1.5rem, 4vw, 2rem);
}

@media (min-width: 48rem) {
	.p4a-form-shell--pet-ad .p4a-form-card__body,
	.p4a-form-shell--pet-ad .p4a-shortcode-card .p4a-form-card__body {
		padding: clamp(1.75rem, 3.5vw, 2.25rem);
	}
}

/* Pet ad hero: title, stepper, checklist (classic marketplace style) */
.p4a-pet-form-hero {
	margin: 0 0 1.25rem;
	padding: clamp(1.35rem, 3.5vw, 1.85rem) clamp(1.25rem, 3vw, 1.75rem);
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.p4a-pet-form-hero--branded {
	background: linear-gradient(145deg, #fffdfb 0%, #f8fafc 42%, #fff7ed 100%);
	border-color: rgba(234, 88, 12, 0.16);
	box-shadow: 0 4px 28px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(234, 88, 12, 0.07);
}

.p4a-pet-form-hero__eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #c2410c;
}

.p4a-pet-form-hero__title {
	margin: 0 0 0.5rem;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: clamp(1.65rem, 4vw, 2.05rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0f172a;
	line-height: 1.2;
}

.p4a-pet-form-hero__lead {
	margin: 0 0 1.1rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #475569;
	max-width: 42em;
}

.p4a-pet-stepper {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	align-items: stretch;
}

@media (min-width: 40rem) {
	.p4a-pet-stepper {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 0.5rem;
	}

	/* Shared marketplace form stepper: default 5 columns; optional sixth step (e.g. listing + taxonomy). */
	.p4a-pet-stepper[data-p4a-step-count="6"] {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

.p4a-pet-stepper__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.35rem;
	padding: 0.55rem 0.4rem;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	background: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748b;
	line-height: 1.25;
}

.p4a-pet-stepper__item.is-active {
	border-color: rgba(234, 88, 12, 0.45);
	background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
	color: #9a3412;
	box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.12);
}

.p4a-pet-stepper__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.65rem;
	height: 1.65rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 800;
	background: #f1f5f9;
	color: #475569;
}

.p4a-pet-stepper__item.is-active .p4a-pet-stepper__num {
	background: #ea580c;
	color: #fff;
}

.p4a-pet-stepper__label {
	display: block;
}

.p4a-pet-hero-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.4rem;
}

.p4a-pet-hero-checklist li {
	position: relative;
	padding-left: 1.35rem;
	font-size: 0.84rem;
	line-height: 1.45;
	color: #475569;
}

.p4a-pet-hero-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 2px;
	background: rgba(234, 88, 12, 0.35);
	border: 1px solid rgba(234, 88, 12, 0.5);
}

.p4a-pet-fields-grid {
	display: grid;
	gap: clamp(0.75rem, 2vw, 1rem);
	margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.p4a-pet-fields-grid:last-child {
	margin-bottom: 0;
}

.p4a-pet-fields-grid--2 {
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 36rem) {
	.p4a-pet-fields-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.p4a-pet-fields-grid--3 {
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 36rem) {
	.p4a-pet-fields-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.p4a-pet-field-cell {
	min-width: 0;
}

.p4a-pet-field-cell--breed .p4a-shortcode-field {
	margin-bottom: 0.75rem;
}

.p4a-pet-field-cell--breed .p4a-shortcode-field:last-child {
	margin-bottom: 0;
}

.p4a-pet-form-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 2rem);
	align-items: start;
	margin-top: 0.35rem;
}

@media (min-width: 60rem) {
	.p4a-pet-form-layout {
		grid-template-columns: minmax(0, 1fr) minmax(17.5rem, 20.5rem);
		gap: 2rem;
	}
}

.p4a-pet-form-layout__main {
	display: flex;
	flex-direction: column;
	gap: clamp(1.25rem, 2.5vw, 1.75rem);
	min-width: 0;
}

.p4a-pet-form-layout__sidebar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
}

@media (min-width: 60rem) {
	.p4a-pet-form-layout__sidebar {
		position: sticky;
		top: 1.25rem;
		z-index: 3;
		align-self: start;
		max-height: calc(100vh - 2.5rem);
		overflow-y: auto;
		overscroll-behavior: contain;
	}
}

.p4a-pet-section-card.p4a-form-section--pet-guided {
	margin: 0;
	padding: clamp(1.25rem, 3vw, 1.65rem) clamp(1.15rem, 3vw, 1.5rem);
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
	border-left: 3px solid rgba(234, 88, 12, 0.22);
}

.p4a-form--pet-ad-premium .p4a-form-section--pet-guided + .p4a-form-section--pet-guided {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.p4a-form-section--pet-guided .p4a-form-section__headtext {
	flex: 1;
	min-width: 0;
}

.p4a-form-section--pet-guided .p4a-form-section__desc {
	margin: 0.35rem 0 0;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--p4a-muted);
	font-weight: 400;
}

.p4a-form--pet-ad-premium .p4a-shortcode-title {
	font-size: clamp(1.5rem, 3.5vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	margin-bottom: 0.65rem;
}

.p4a-form--pet-ad-premium .p4a-shortcode-label,
.p4a-form--pet-ad-premium .p4a-form .p4a-label {
	font-size: 0.92rem;
	margin-bottom: 0.45rem;
	font-weight: 600;
}

.p4a-form--pet-ad-premium .p4a-shortcode-input,
.p4a-form--pet-ad-premium .p4a-shortcode-textarea,
.p4a-form--pet-ad-premium.p4a-shortcode-form select {
	min-height: 3rem;
	padding: 0.65rem 1rem;
	border-radius: 11px;
	border: 1px solid #e5e7eb;
	font-size: 1rem;
	line-height: 1.45;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.p4a-form--pet-ad-premium .p4a-shortcode-textarea {
	min-height: 11rem;
	padding: 1rem 1.1rem;
	line-height: 1.6;
}

.p4a-form--pet-ad-premium .p4a-shortcode-input:focus,
.p4a-form--pet-ad-premium .p4a-shortcode-textarea:focus,
.p4a-form--pet-ad-premium.p4a-shortcode-form select:focus {
	border-color: rgba(234, 88, 12, 0.65);
	box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.p4a-form--pet-ad-premium .p4a-shortcode-help,
.p4a-form--pet-ad-premium .p4a-pet-media-lede {
	font-size: 0.86rem;
	line-height: 1.5;
}

/* Business listing submit: same premium surface as pet form; only listing-specific layout tweaks. */
.p4a-shortcode-form--listing.p4a-form--pet-ad-premium #p4a_listing_address.p4a-shortcode-textarea {
	min-height: 6.5rem;
}

.p4a-shortcode-form--listing.p4a-form--pet-ad-premium input[type="file"].p4a-listing-file-input,
.p4a-shortcode-form--listing.p4a-form--pet-ad-premium input[type="file"].p4a-shortcode-input {
	min-height: auto;
	padding: 0.55rem 0.65rem;
	font-size: 0.9rem;
	line-height: 1.4;
}

.p4a-shortcode-form--listing.p4a-form--pet-ad-premium .p4a-listing-media-preview {
	margin-bottom: 0.75rem;
}

.p4a-shortcode-form--listing.p4a-form--pet-ad-premium .p4a-listing-media-preview .p4a-shortcode-label {
	display: block;
	margin-bottom: 0.5rem;
}

.p4a-shortcode-form--listing.p4a-form--pet-ad-premium .p4a-listing-media-preview__frame {
	display: inline-block;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
	line-height: 0;
}

.p4a-shortcode-form--listing.p4a-form--pet-ad-premium .p4a-listing-media-preview__img {
	display: block;
	width: 150px;
	height: auto;
	max-width: 100%;
}

.p4a-pet-sidebar-card {
	padding: 1.15rem 1.2rem 1.25rem;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.p4a-pet-sidebar-card--tips {
	background: linear-gradient(180deg, #fffefb 0%, #fff 100%);
	border-color: rgba(234, 88, 12, 0.12);
}

.p4a-pet-sidebar-card--account {
	background: #f8fafc;
}

.p4a-pet-sidebar-card--credits {
	background: linear-gradient(180deg, #fafafa 0%, #fff 55%);
}

.p4a-pet-sidebar-card__title {
	margin: 0 0 0.65rem;
	font-size: 0.95rem;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.p4a-pet-sidebar-card__lede {
	margin: 0 0 0.75rem;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--p4a-muted);
}

.p4a-pet-sidebar-card--credits .p4a-pet-sidebar-card__title {
	margin-bottom: 0.5rem;
}

.p4a-pet-sidebar-account-dl {
	margin: 0;
	padding: 0;
}

.p4a-pet-sidebar-account-dl__row {
	padding: 0.55rem 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.p4a-pet-sidebar-account-dl__row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.p4a-pet-sidebar-account-dl dt {
	margin: 0 0 0.2rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--p4a-muted);
}

.p4a-pet-sidebar-account-dl dd {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: #1e293b;
	word-break: break-word;
}

.p4a-pet-sidebar-tips {
	margin: 0;
	padding: 0 0 0 1.05rem;
	list-style: disc;
}

.p4a-pet-sidebar-tips li {
	margin: 0 0 0.5rem;
	font-size: 0.84rem;
	line-height: 1.5;
	color: #475569;
}

.p4a-pet-sidebar-tips li:last-child {
	margin-bottom: 0;
}

.p4a-pet-sidebar-card--credits .p4a-pet-credits-card {
	border: 0;
	box-shadow: none;
	padding: 0;
	background: transparent;
	border-radius: 0;
}

.p4a-pet-sidebar-card--credits .p4a-pet-credits-card__intro {
	font-size: 0.82rem;
}

.p4a-button--pet-submit.button-primary,
.p4a-form--pet-ad-premium .p4a-button--pet-submit.button-primary {
	background: #ea580c;
	border-color: #c2410c;
	color: #fff;
	box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.p4a-button--pet-submit.button-primary:hover,
.p4a-form--pet-ad-premium .p4a-button--pet-submit.button-primary:hover {
	background: #c2410c;
	border-color: #9a3412;
	box-shadow: 0 4px 16px rgba(234, 88, 12, 0.3);
}

.p4a-button--pet-submit.button-primary:focus,
.p4a-form--pet-ad-premium .p4a-button--pet-submit.button-primary:focus {
	box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.35);
	outline: none;
}

.p4a-form-required-legend {
	margin: 0 0 1.25rem;
	padding: 0.65rem 0.85rem;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--p4a-muted);
	background: rgba(15, 23, 42, 0.03);
	border-radius: 8px;
	border: 1px solid rgba(15, 23, 42, 0.06);
}

.p4a-form-mode-banner {
	border-radius: var(--p4a-radius);
	margin: 0 0 1rem;
	border: var(--p4a-border);
	overflow: hidden;
}

.p4a-form-mode-banner__inner {
	padding: 1rem 1.15rem;
}

.p4a-form-mode-banner--create .p4a-form-mode-banner__inner {
	background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
	border-left: 4px solid var(--p4a-primary);
}

.p4a-form-mode-banner--edit .p4a-form-mode-banner__inner {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-left: 4px solid #64748b;
}

.p4a-form-mode-banner__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--p4a-muted);
}

.p4a-form-mode-banner__title {
	margin: 0 0 0.35rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.25;
}

.p4a-form-mode-banner__meta {
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #334155;
}

.p4a-form-mode-banner__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #475569;
}

.p4a-form-section--pet-guided {
	margin: 0;
}

.p4a-form--pet-ad-premium .p4a-pet-form-hero + .p4a-form-required-legend {
	margin-top: 0.15rem;
}

.p4a-form-section--pet-guided .p4a-form-section__header {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1.125rem;
}

.p4a-form-section--pet-guided .p4a-form-section__step {
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1;
	color: #0f766e;
	background: #ecfdf5;
	border: 1px solid rgba(15, 118, 110, 0.28);
	margin-top: 0.05rem;
}

.p4a-form-section--pet-guided .p4a-form-section__title {
	margin: 0;
	padding: 0;
	font-size: clamp(1.05rem, 2.5vw, 1.2rem);
	font-weight: 800;
	line-height: 1.25;
	color: #0f172a;
	text-transform: none;
	letter-spacing: -0.02em;
}

.p4a-form-section--pet-guided .p4a-form-section__body > :last-child {
	margin-bottom: 0;
}

.p4a-optional-mark {
	display: inline-block;
	margin-left: 0.35rem;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--p4a-muted);
	vertical-align: middle;
}

.p4a-pet-submit-summary {
	margin: 1.5rem 0 1rem;
	padding: 1.15rem 1.2rem 1.25rem;
	border-radius: 14px;
	border: 1px solid rgba(234, 88, 12, 0.14);
	background: linear-gradient(180deg, #fffdfb 0%, #fff 60%);
	box-shadow: 0 2px 14px rgba(15, 23, 42, 0.045);
}

.p4a-pet-submit-summary__row--metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.25rem;
	margin-bottom: 0.75rem;
}

@media (max-width: 36rem) {
	.p4a-pet-submit-summary__row--metrics {
		grid-template-columns: minmax(0, 1fr);
	}
}

.p4a-pet-submit-summary__label {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #64748b;
	margin-bottom: 0.3rem;
}

.p4a-pet-submit-summary .p4a-pet-est-credits {
	font-size: 1.2rem;
	color: #ea580c;
}

.p4a-pet-submit-summary .p4a-pet-bal-credits {
	font-size: 1.2rem;
	color: #0f766e;
}

.p4a-pet-submit-summary__hint {
	margin: 0 0 0.55rem;
	font-size: 0.88rem;
	line-height: 1.45;
}

.p4a-pet-submit-summary__hint--ok {
	color: #0f766e;
	font-weight: 600;
}

.p4a-pet-submit-summary__hint--warn {
	color: #b45309;
	font-weight: 600;
}

.p4a-pet-submit-summary__hint--muted {
	color: #64748b;
}

.p4a-pet-submit-summary__fineprint {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.45;
	color: #64748b;
}

.p4a-pet-form-layout__main .p4a-shortcode-actions--pet-submit {
	margin-top: 0.35rem;
	margin-bottom: 0.5rem;
	padding-top: 0.25rem;
	border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.p4a-button--pet-submit.button-primary {
	min-height: 3.35rem;
	padding-left: 2rem;
	padding-right: 2rem;
	font-size: 1.08rem;
	font-weight: 700;
	border-radius: 12px;
	letter-spacing: -0.01em;
	box-shadow: 0 4px 18px rgba(234, 88, 12, 0.28);
}

.p4a-button--pet-secondary.button,
.p4a-button--pet-secondary {
	background: transparent;
	color: #334155;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	min-height: 3rem;
	padding: 0 1.25rem;
	font-weight: 600;
	box-shadow: none;
}

.p4a-button--pet-secondary.button:hover,
.p4a-button--pet-secondary:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #0f172a;
}

.p4a-form-footer-note {
	margin-bottom: 0;
	font-size: 0.88rem;
}

.p4a-pet-media-lede {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #475569;
}

.p4a-pet-media-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 0 0 1.25rem;
}

@media (min-width: 30rem) {
	.p4a-pet-media-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.05rem;
	}
}

.p4a-pet-media-new-slot {
	display: contents;
}

.p4a-pet-media-tile {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.p4a-pet-media-tile.is-featured {
	border-color: rgba(234, 88, 12, 0.55);
	box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2), 0 6px 20px rgba(234, 88, 12, 0.12);
}

.p4a-pet-media-tile__img-wrap {
	display: block;
	position: relative;
	aspect-ratio: 1;
	background: #e2e8f0;
}

.p4a-pet-media-tile.is-featured .p4a-pet-media-tile__img-wrap::after {
	content: 'Κύρια';
	position: absolute;
	top: 0.45rem;
	left: 0.45rem;
	padding: 0.2rem 0.45rem;
	font-size: 0.65rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #fff;
	background: rgba(234, 88, 12, 0.92);
	border-radius: 6px;
	line-height: 1.2;
	pointer-events: none;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.p4a-pet-media-tile__img-wrap img,
.p4a-pet-media-tile > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.p4a-pet-media-tile__controls {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.55rem 0.6rem 0.65rem;
	background: #f8fafc;
}

.p4a-pet-media-tile__main {
	font-size: 0.78rem;
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	cursor: pointer;
	color: #334155;
	line-height: 1.35;
	margin: 0;
}

.p4a-pet-media-tile__main input {
	margin-top: 0.15rem;
	flex-shrink: 0;
	accent-color: #ea580c;
	width: 1.05rem;
	height: 1.05rem;
}

.p4a-pet-media-tile__main-text {
	font-weight: 600;
}

.p4a-pet-media-remove {
	align-self: stretch;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 2.25rem;
	padding: 0.35rem 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: #64748b;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 8px;
	cursor: pointer;
	transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.p4a-pet-media-remove:hover,
.p4a-pet-media-remove:focus-visible {
	color: var(--p4a-danger);
	border-color: rgba(185, 28, 28, 0.35);
	background: #fef2f2;
	outline: none;
}

.p4a-pet-media-remove__x {
	font-size: 1.15rem;
	line-height: 1;
	font-weight: 700;
	opacity: 0.85;
}

.p4a-pet-media-drop {
	position: relative;
	min-height: 10.5rem;
	border: 2px dashed #d1d5db;
	border-radius: 18px;
	background: linear-gradient(165deg, #fff 0%, #f8fafc 45%, #fff7ed 100%);
	padding: 2rem 1.25rem 2.25rem;
	text-align: center;
	transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.p4a-pet-media-drop:hover,
.p4a-pet-media-drop:focus-within {
	border-color: rgba(234, 88, 12, 0.45);
	background: linear-gradient(165deg, #fff 0%, #fff7ed 100%);
	box-shadow: 0 8px 32px rgba(234, 88, 12, 0.1);
}

.p4a-pet-media-drop__icon-svg {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ea580c;
	margin-bottom: 0.35rem;
	opacity: 0.95;
}

.p4a-pet-media-drop__icon-svg svg {
	display: block;
}

.p4a-pet-media-file {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}

.p4a-pet-media-drop__label {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	pointer-events: none;
	margin: 0;
	position: relative;
	z-index: 1;
}

.p4a-pet-media-drop__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	font-size: 1.5rem;
	font-weight: 300;
	line-height: 1;
	color: #0f766e;
	background: rgba(15, 118, 110, 0.12);
	margin-bottom: 0.15rem;
}

.p4a-pet-media-drop__title {
	font-weight: 700;
	font-size: 1rem;
	color: #0f172a;
}

.p4a-pet-media-drop__hint {
	font-size: 0.82rem;
	line-height: 1.45;
	color: var(--p4a-muted);
	max-width: 22rem;
	margin: 0 auto;
}

.p4a-pet-credits-card {
	padding: 1.1rem 1.2rem 1.15rem;
	border-radius: 12px;
	background: linear-gradient(180deg, #fafbfc 0%, #f8fafc 100%);
	border: var(--p4a-border);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.p4a-pet-credits-card__intro {
	margin: 0 0 0.85rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: #334155;
	line-height: 1.45;
}

.p4a-pet-credits-card__dl {
	margin: 0;
	padding: 0;
}

.p4a-pet-credits-card__dl-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.5rem 1rem;
	align-items: baseline;
	padding: 0.65rem 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.p4a-pet-credits-card__dl-row:last-of-type {
	border-bottom: 0;
	padding-bottom: 0.35rem;
}

.p4a-pet-credits-card__dl dt {
	margin: 0;
	font-size: 0.88rem;
	color: var(--p4a-muted);
	line-height: 1.4;
	font-weight: 500;
}

.p4a-pet-credits-card__dl dd {
	margin: 0;
	text-align: right;
	font-size: 1rem;
}

.p4a-pet-credits-card__est {
	color: #c2410c;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}

.p4a-pet-credits-card__bal {
	color: #0f172a;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}

.p4a-pet-credits-card__notes {
	margin: 0.85rem 0 0;
	padding: 0.85rem 0 0;
	border-top: 1px solid rgba(15, 23, 42, 0.06);
	list-style: none;
}

.p4a-pet-credits-card__notes li {
	position: relative;
	margin: 0 0 0.55rem;
	padding-left: 1rem;
	font-size: 0.84rem;
	line-height: 1.5;
	color: #64748b;
}

.p4a-pet-credits-card__notes li:last-child {
	margin-bottom: 0;
}

.p4a-pet-credits-card__notes li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 5px;
	height: 5px;
	border-radius: 999px;
	background: rgba(15, 118, 110, 0.45);
}

@media (max-width: 36rem) {
	.p4a-pet-media-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.65rem;
	}

	.p4a-pet-credits-card__dl-row {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}

	.p4a-pet-credits-card__dl dd {
		text-align: left;
	}

	.p4a-form-section--pet-guided .p4a-form-section__header {
		gap: 0.6rem;
	}

	.p4a-form-mode-banner__inner {
		padding: 0.9rem 1rem;
	}

	.p4a-form-shell--pet-ad .p4a-form-card__body {
		padding-left: clamp(0.85rem, 4vw, 1.35rem);
		padding-right: clamp(0.85rem, 4vw, 1.35rem);
	}
}

/* —— Premium account dashboard ([p4a_account_dashboard] + .p4a-dash) —— */
.p4a-form-shell--account.p4a-dash {
	--p4a-dash-accent: #e85d04;
	--p4a-dash-surface: #ffffff;
	--p4a-dash-border: #efe7e2;
	--p4a-dash-shadow: 0 1px 2px rgb(44 43 41 / 4%), 0 10px 32px rgb(44 43 41 / 5.5%);
	--p4a-dash-muted: rgba(90, 87, 83, 0.88);
	--p4a-dash-ink: #2c2b29;
	max-width: min(72rem, 100%);
	margin-left: auto;
	margin-right: auto;
	padding: 0 clamp(0.5rem, 3vw, 1rem);
}

.p4a-dash .p4a-form-shell__inner {
	padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.p4a-dash__alerts {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-bottom: 1.25rem;
}

.p4a-dash__alerts .p4a-shortcode-notice {
	border-radius: 12px;
	border: 1px solid var(--p4a-dash-border);
	box-shadow: var(--p4a-dash-shadow);
}

.p4a-dash__hero {
	margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
	padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
	border-bottom: 1px solid var(--p4a-dash-border);
}

.p4a-dash__title {
	font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: clamp(1.5rem, 4vw, 1.85rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--p4a-dash-ink);
	margin: 0 0 0.35rem;
}

.p4a-dash__greeting {
	font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--p4a-dash-ink);
	margin: 0 0 0.5rem;
}

.p4a-dash__lead {
	margin: 0 0 1rem;
	max-width: 36rem;
	line-height: 1.55;
	color: var(--p4a-dash-muted);
	font-size: 0.98rem;
}

.p4a-dash__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
}

.p4a-dash-chip {
	display: inline-flex;
	align-items: center;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	border: 1px solid var(--p4a-dash-border);
	background: #faf8f6;
	color: #5a5753;
}

.p4a-dash-chip--ok {
	border-color: rgba(232, 93, 4, 0.35);
	background: rgba(232, 93, 4, 0.08);
	color: #9a4200;
}

.p4a-dash-chip--muted {
	opacity: 0.92;
}

.p4a-dash__grid--top {
	display: grid;
	gap: clamp(1rem, 3vw, 1.35rem);
	grid-template-columns: 1fr;
	margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

@media (min-width: 960px) {
	.p4a-dash__grid--top {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		align-items: start;
	}
}

.p4a-dash-card {
	background: var(--p4a-dash-surface);
	border: 1px solid var(--p4a-dash-border);
	border-radius: 16px;
	box-shadow: var(--p4a-dash-shadow);
	padding: clamp(1.15rem, 3vw, 1.5rem) clamp(1.1rem, 3vw, 1.45rem);
	margin-bottom: clamp(1rem, 3vw, 1.35rem);
}

.p4a-dash-card--secondary {
	box-shadow: 0 1px 3px rgb(44 43 41 / 5%);
	background: #fdfcfa;
}

.p4a-dash-card__title {
	font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--p4a-dash-ink);
	margin: 0 0 0.85rem;
	letter-spacing: -0.01em;
}

.p4a-dash-card__title--section {
	font-size: clamp(1.15rem, 2.5vw, 1.3rem);
	margin-bottom: 0.35rem;
}

.p4a-dash-card__fineprint {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--p4a-dash-muted);
}

.p4a-dash-card__notice--error {
	padding: 0.75rem 1rem;
	border-radius: 10px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #7f1d1d;
	font-size: 0.92rem;
}

.p4a-dash-kv {
	display: grid;
	grid-template-columns: minmax(5rem, 8.5rem) 1fr;
	gap: 0.5rem 1rem;
	align-items: start;
	padding: 0.55rem 0;
	border-bottom: 1px solid rgba(44, 43, 41, 0.06);
	font-size: 0.95rem;
}

.p4a-dash-kv:last-of-type {
	border-bottom: none;
}

.p4a-dash-kv__k {
	font-weight: 600;
	color: #5a5753;
}

.p4a-dash-kv__v {
	color: var(--p4a-dash-ink);
	word-break: break-word;
}

.p4a-dash-kv__locked {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.p4a-dash-field {
	margin: 0.85rem 0 0;
}

.p4a-dash-field__label {
	display: block;
	font-weight: 600;
	font-size: 0.88rem;
	margin-bottom: 0.35rem;
	color: #5a5753;
}

.p4a-dash-field__input,
.p4a-dash-field__textarea {
	width: 100%;
	max-width: 100%;
	border-radius: 10px;
	border: 1px solid var(--p4a-dash-border);
	padding: 0.55rem 0.75rem;
	font-size: 0.95rem;
	box-sizing: border-box;
}

.p4a-dash-field__textarea {
	min-height: 5rem;
	resize: vertical;
}

.p4a-dash-form__actions {
	margin: 1.1rem 0 0;
}

.p4a-dash-form__submit.button-primary {
	background: var(--p4a-dash-accent) !important;
	border-color: #cf5204 !important;
	border-radius: 10px !important;
	font-weight: 600 !important;
	padding: 0.45rem 1.15rem !important;
}

.p4a-dash-wallet-stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
	margin: 0 0 1rem;
}

@media (min-width: 520px) {
	.p4a-dash-wallet-stats {
		grid-template-columns: 1.2fr 1fr 1fr;
		align-items: end;
	}
}

.p4a-dash-wallet-stat {
	padding: 0.65rem 0.85rem;
	border-radius: 12px;
	background: #faf8f6;
	border: 1px solid var(--p4a-dash-border);
}

.p4a-dash-wallet-stat--hero {
	grid-column: 1 / -1;
	background: linear-gradient(135deg, #fffdfb 0%, #faf8f6 100%);
	border-color: rgba(232, 93, 4, 0.22);
}

@media (min-width: 520px) {
	.p4a-dash-wallet-stat--hero {
		grid-column: auto;
	}
}

.p4a-dash-wallet-stat__label {
	display: block;
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--p4a-dash-muted);
	margin-bottom: 0.2rem;
}

.p4a-dash-wallet-stat__value {
	display: block;
	font-size: clamp(1.65rem, 4vw, 2rem);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: var(--p4a-dash-ink);
	line-height: 1.1;
}

.p4a-dash-wallet-stat__value--sm {
	font-size: 1.25rem;
	font-weight: 700;
}

.p4a-dash-wallet-stat__suffix {
	font-size: 0.85rem;
	color: var(--p4a-dash-muted);
	margin-left: 0.25rem;
}

.p4a-dash-wallet-cta {
	margin: 0.25rem 0 0;
}

.p4a-dash-wallet-cta__btn.button-primary {
	background: var(--p4a-dash-accent) !important;
	border-color: #cf5204 !important;
	border-radius: 10px !important;
	font-weight: 600 !important;
}

.p4a-dash-listings-head {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin-bottom: 0.65rem;
}

@media (min-width: 640px) {
	.p4a-dash-listings-head {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: space-between;
	}
}

.p4a-dash-listings-head__cta {
	flex-shrink: 0;
}

.p4a-dash-listings-total {
	margin: 0.15rem 0 0.35rem;
	font-size: 0.95rem;
	color: var(--p4a-dash-muted);
}

.p4a-dash-listings-meta {
	margin: 0;
	font-size: 0.88rem;
	color: var(--p4a-dash-muted);
	line-height: 1.45;
}

.p4a-dash-listings-cta {
	border-radius: 10px !important;
	font-weight: 600 !important;
}

.p4a-dash-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-top: 0.5rem;
	border-radius: 12px;
	border: 1px solid var(--p4a-dash-border);
	background: #fff;
}

.p4a-dash-table-scroll .p4a-dash-table {
	margin: 0;
	font-size: 0.9rem;
}

.p4a-dash-table th,
.p4a-dash-table td {
	padding: 0.6rem 0.75rem;
	border-bottom: 1px solid rgba(44, 43, 41, 0.06);
	vertical-align: middle;
}

.p4a-dash-table thead th {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--p4a-dash-muted);
	font-weight: 700;
	background: #faf8f6;
}

@media (max-width: 640px) {
	.p4a-dash-table--stack thead {
		display: none;
	}

	.p4a-dash-table--stack tbody tr {
		display: block;
		margin-bottom: 0.65rem;
		padding: 0.65rem 0.75rem;
		border: 1px solid var(--p4a-dash-border);
		border-radius: 12px;
		background: #fff;
		box-shadow: 0 1px 2px rgb(44 43 41 / 4%);
	}

	.p4a-dash-table--stack tbody tr.p4a-dash-table__row--empty {
		text-align: center;
	}

	.p4a-dash-table--stack tbody tr.p4a-dash-table__row--empty td:before {
		display: none;
	}

	.p4a-dash-table--stack tbody th,
	.p4a-dash-table--stack tbody td {
		display: block;
		width: 100%;
		text-align: right;
		padding: 0.4rem 0;
		border: none;
		box-sizing: border-box;
	}

	.p4a-dash-table--stack tbody th[data-label]:before,
	.p4a-dash-table--stack tbody td[data-label]:before {
		content: attr(data-label);
		float: left;
		font-weight: 700;
		font-size: 0.78rem;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		color: var(--p4a-dash-muted);
		max-width: 48%;
		text-align: left;
		padding-right: 0.5rem;
	}

	.p4a-dash-table--stack tbody th[data-label]:after,
	.p4a-dash-table--stack tbody td[data-label]:after {
		content: "";
		display: table;
		clear: both;
	}

	.p4a-dash-kv {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}
}

.p4a-dash-actions {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.35rem;
}

@media (min-width: 480px) {
	.p4a-dash-actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.p4a-dash-actions__link {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0.65rem 0.85rem;
	border-radius: 10px;
	border: 1px solid var(--p4a-dash-border);
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
	color: #5a5753;
	background: #faf8f6;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.p4a-dash-actions__link:hover {
	border-color: rgba(232, 93, 4, 0.45);
	color: var(--p4a-dash-ink);
	background: #fff;
}

.p4a-dash-actions__link--primary {
	background: var(--p4a-dash-accent);
	border-color: #cf5204;
	color: #fff;
}

.p4a-dash-actions__link--primary:hover {
	color: #fff;
	filter: brightness(0.96);
}

.p4a-dash-actions__link--quiet {
	background: transparent;
	font-weight: 500;
	opacity: 0.9;
}
