/*
 * Music Experiences account presentation.
 * Authentication/account behavior remains in WooCommerce and the platform plugin.
 */

:root {
	--me-account-ink: #272128;
	--me-account-muted: #716a72;
	--me-account-line: #e8e2e8;
	--me-account-soft: #faf8fa;
	--me-account-accent: #f23d76;
}

body.woocommerce-account.user_not_logged_in #titlebar {
	padding-top: 48px !important;
	padding-bottom: 34px !important;
	background: #f8f7f8 !important;
	border-bottom: 1px solid var(--me-account-line) !important;
}

body.woocommerce-account.user_not_logged_in #titlebar h1 {
	margin: 0 !important;
	color: var(--me-account-ink) !important;
	font-size: 36px !important;
	line-height: 1.1 !important;
	letter-spacing: -.035em !important;
}

body.woocommerce-account.user_not_logged_in .woocommerce {
	max-width: 980px !important;
	margin: 58px auto 82px !important;
	padding: 0 24px !important;
}

body.woocommerce-account.user_not_logged_in #customer_login {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 28px !important;
	width: 100% !important;
}

body.woocommerce-account.user_not_logged_in #customer_login > div {
	float: none !important;
	width: auto !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 34px !important;
	border: 1px solid var(--me-account-line) !important;
	border-radius: 18px !important;
	background: #fff !important;
	box-shadow: 0 12px 36px rgba(30,22,31,.07) !important;
	box-sizing: border-box !important;
}

body.woocommerce-account.user_not_logged_in #customer_login h2 {
	margin: 0 0 24px !important;
	color: var(--me-account-ink) !important;
	font-size: 27px !important;
	line-height: 1.15 !important;
	letter-spacing: -.025em !important;
}

body.woocommerce-account.user_not_logged_in #customer_login .form-row {
	margin-bottom: 17px !important;
}

body.woocommerce-account.user_not_logged_in #customer_login label {
	margin-bottom: 6px !important;
	color: #403941 !important;
	font-size: 13px !important;
	font-weight: 750 !important;
	line-height: 1.4 !important;
}

body.woocommerce-account.user_not_logged_in #customer_login input.input-text {
	width: 100% !important;
	height: 52px !important;
	min-height: 52px !important;
	padding: 0 14px !important;
	border: 1px solid #ddd6dd !important;
	border-radius: 11px !important;
	background: #fff !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	font-size: 16px !important;
}

body.woocommerce-account.user_not_logged_in #customer_login .password-input {
	display: block !important;
	width: 100% !important;
}

body.woocommerce-account.user_not_logged_in #customer_login .show-password-input {
	right: 13px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
}

body.woocommerce-account.user_not_logged_in #customer_login .button {
	width: 100% !important;
	min-height: 52px !important;
	margin: 8px 0 0 !important;
	padding: 12px 18px !important;
	border: 0 !important;
	border-radius: 11px !important;
	background: var(--me-account-accent) !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 850 !important;
	line-height: 1.3 !important;
}

body.woocommerce-account.user_not_logged_in #customer_login .woocommerce-form-login__rememberme {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 6px 0 2px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
}

body.woocommerce-account.user_not_logged_in #customer_login .lost_password {
	margin: 14px 0 0 !important;
	font-size: 13px !important;
}

body.woocommerce-account.user_not_logged_in #customer_login .lost_password a,
body.woocommerce-account.user_not_logged_in .woocommerce-privacy-policy-text a {
	color: var(--me-account-accent) !important;
	font-weight: 700 !important;
}

body.woocommerce-account.user_not_logged_in .woocommerce-privacy-policy-text {
	color: var(--me-account-muted) !important;
	font-size: 12px !important;
	line-height: 1.55 !important;
}

/* Mode routes show one clear task instead of two competing forms. */
body.musicexp-account-login #customer_login .u-column2,
body.musicexp-account-register #customer_login .u-column1 {
	display: none !important;
}

body.musicexp-account-login #customer_login,
body.musicexp-account-register #customer_login {
	grid-template-columns: minmax(0, 520px) !important;
	justify-content: center !important;
}

/* Logged-in account navigation/content should never overflow on small screens. */
body.woocommerce-account.logged-in .woocommerce,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content,
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

/* Host dashboard: pending approval callout. Markup/logic remains in the platform layer. */
html body.page-id-128 .mep-host-pending-action {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	width: 100%;
	max-width: 100%;
	margin: 0 0 22px;
	padding: 20px 22px;
	box-sizing: border-box;
	border: 1px solid #f4bfd0;
	border-left: 5px solid #f23d76;
	border-radius: 16px;
	background: #fff7fa;
	box-shadow: 0 8px 24px rgba(67,29,49,.07);
}

html body.page-id-128 .mep-host-pending-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #f23d76;
	color: #fff;
	font-size: 24px;
	font-weight: 900;
}

html body.page-id-128 .mep-host-pending-copy {
	min-width: 0;
}

html body.page-id-128 .mep-host-pending-eyebrow {
	margin: 0 0 4px !important;
	color: #b71f50 !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
}

html body.page-id-128 .mep-host-pending-copy h2 {
	margin: 0 0 5px !important;
	color: #282229 !important;
	font-size: 22px !important;
	line-height: 1.25 !important;
	font-weight: 800 !important;
}

html body.page-id-128 .mep-host-pending-copy > p:last-child {
	margin: 0 !important;
	color: #655c64 !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
}

html body.page-id-128 .mep-host-pending-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 12px;
	background: #f23d76;
	box-shadow: 0 6px 16px rgba(242,61,118,.2);
	color: #fff !important;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none !important;
	white-space: nowrap;
}

html body.page-id-128 .mep-host-pending-button:hover,
html body.page-id-128 .mep-host-pending-button:focus {
	background: #d92d65;
	color: #fff !important;
}

/* Payment-recovery card. Markup/logic remains in the lifecycle layer; presentation belongs here. */
html body .mep-v12-paybox {
	margin: 0 0 24px;
	padding: 22px;
	border: 1px solid #f2bfd0;
	border-left: 5px solid #f23d76;
	border-radius: 16px;
	background: #fff8fa;
	box-shadow: 0 10px 30px rgba(64,31,47,.08);
}

html body .mep-v12-paybox h2 {
	margin: 0 0 6px;
	font-size: 22px;
}

html body .mep-v12-paybox > p {
	margin: 0 0 16px;
}

html body .mep-v12-kicker {
	color: #b71f50 !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: .08em;
}

html body .mep-v12-payitem {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 15px;
	border: 1px solid #eadfe4;
	border-radius: 12px;
	background: #fff;
}

html body .mep-v12-payitem + .mep-v12-payitem {
	margin-top: 10px;
}

html body .mep-v12-payitem div {
	display: grid;
	gap: 4px;
}

html body .mep-v12-payitem span {
	color: #6c6269;
	font-size: 13px;
}

html body .mep-v12-payitem a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 17px;
	border-radius: 11px;
	background: #f23d76;
	color: #fff !important;
	font-weight: 800;
	text-decoration: none !important;
}

@media (max-width: 782px) {
	html body .mep-v12-payitem {
		grid-template-columns: 1fr;
	}

	html body .mep-v12-payitem a {
		width: 100%;
	}
}

@media (max-width: 767px) {
	body.woocommerce-account.user_not_logged_in #titlebar {
		padding: 26px 0 22px !important;
	}

	body.woocommerce-account.user_not_logged_in #titlebar h1 {
		font-size: 30px !important;
	}

	body.woocommerce-account.user_not_logged_in #titlebar #breadcrumbs {
		display: none !important;
	}

	body.woocommerce-account.user_not_logged_in .woocommerce {
		margin: 34px auto 58px !important;
		padding: 0 16px !important;
	}

	body.woocommerce-account.user_not_logged_in #customer_login {
		grid-template-columns: 1fr !important;
		gap: 18px !important;
	}

	body.woocommerce-account.user_not_logged_in #customer_login > div {
		padding: 24px 20px !important;
		border-radius: 15px !important;
	}

	body.woocommerce-account.user_not_logged_in #customer_login h2 {
		font-size: 24px !important;
	}

	html body.page-id-128 .mep-host-pending-action {
		grid-template-columns: 44px minmax(0, 1fr) !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 0 20px !important;
		padding: 18px !important;
		gap: 13px !important;
	}

	html body.page-id-128 .mep-host-pending-button {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-top: 3px !important;
	}

	html body.page-id-128 .mep-host-pending-copy h2 {
		font-size: 19px !important;
	}
}
