/**
 * Reboot My Account default theme.
 * The component is deliberately scoped so themes and WooCommerce defaults do
 * not alter the reference design.
 */

.rma-portal,
.rma-login-shell {
	--rma-ink: #171717;
	--rma-muted: #797979;
	--rma-line: #e9e9e9;
	--rma-soft: #f5f5f5;
	--rma-white: #ffffff;
	--rma-success: #2f8f5b;
	--rma-warning: #8a6500;
	--rma-card-radius: 16px;
	--rma-pill-radius: 999px;
	--rma-transition: 250ms cubic-bezier(.2,.75,.25,1);
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
	color: var(--rma-ink);
	background: var(--rma-white);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.rma-portal *,
.rma-portal *::before,
.rma-portal *::after,
.rma-login-shell *,
.rma-login-shell *::before,
.rma-login-shell *::after {
	box-sizing: border-box;
}

.rma-portal a,
.rma-login-shell a {
	color: inherit;
	text-decoration: none;
}

.rma-portal button,
.rma-portal input,
.rma-portal select,
.rma-portal textarea,
.rma-login-shell button,
.rma-login-shell input {
	font: inherit;
}

.rma-portal button,
.rma-portal a {
	-webkit-tap-highlight-color: transparent;
}

.rma-portal :focus-visible,
.rma-login-shell :focus-visible {
	outline: 2px solid var(--rma-ink);
	outline-offset: 3px;
}
.rma-login-shell {
	max-width: 1180px;
	padding: 0;
	overflow: hidden;
	background: var(--rma-white);
	border: 1px solid var(--rma-line);
	border-radius: 22px;
	box-shadow: 0 24px 70px rgba(18, 24, 31, .11);
}

.rma-login-shell svg {
	display: block;
	width: 1em;
	height: 1em;
}

.rma-auth {
	display: grid;
	grid-template-columns: 50% minmax(0, 1fr);
	min-height: 720px;
	background: var(--rma-white);
}

.rma-auth--form-only {
	grid-template-columns: minmax(0, 1fr);
}

.rma-auth-carousel {
	position: relative;
	min-width: 0;
	min-height: 100%;
	overflow: hidden;
	background-color: #1f252b;
	isolation: isolate;
}

.rma-auth-carousel__slides,
.rma-auth-carousel__slide {
	position: absolute;
	inset: 0;
}

.rma-auth-carousel__slide {
	display: flex;
	align-items: flex-end;
	opacity: 0;
	overflow: hidden;
	background:
		radial-gradient(circle at 70% 22%, rgba(255, 255, 255, .16), transparent 34%),
		linear-gradient(145deg, #748c9c, #20282f 58%, #11171b);
	transform: scale(1.045);
	transition: opacity 800ms cubic-bezier(.22, .75, .22, 1), transform 1200ms cubic-bezier(.18, .75, .2, 1);
	pointer-events: none;
}

.rma-auth-carousel__slide::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, .38) 100%);
	content: "";
}

.rma-auth-carousel__slide.is-active {
	z-index: 1;
	opacity: 1;
	transform: scale(1);
	pointer-events: auto;
}

.rma-login-shell .rma-auth-carousel__image {
	display: block !important;
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	min-width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	min-height: 100% !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center;
}

.rma-auth-carousel__copy {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 60px 60px 96px;
	color: #fff;
	transform: translate3d(0, 18px, 0);
	transition: transform 900ms cubic-bezier(.18, .75, .2, 1);
}

.rma-auth-carousel__slide.is-active .rma-auth-carousel__copy {
	transform: translate3d(0, 0, 0);
}

.rma-auth-carousel__title {
	max-width: 440px;
	margin: 0;
	color: #fff;
	font-size: clamp(31px, 3.2vw, 48px);
	font-weight: 600;
	letter-spacing: -.045em;
	line-height: 1.04;
}

.rma-auth-carousel__description {
	max-width: 390px;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, .88);
	font-size: 14px;
	line-height: 1.55;
}

.rma-auth-carousel__navigation {
	position: absolute;
	bottom: 58px;
	left: 60px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: var(--rma-auth-dot-gap, 8px);
}

.rma-login-shell .rma-auth-carousel__navigation button.rma-auth-carousel__dot {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: block !important;
	flex: 0 0 auto !important;
	width: var(--rma-auth-dot-size, 6px) !important;
	min-width: var(--rma-auth-dot-size, 6px) !important;
	max-width: none !important;
	height: var(--rma-auth-dot-size, 6px) !important;
	min-height: var(--rma-auth-dot-size, 6px) !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	color: transparent !important;
	background: var(--rma-auth-dot-color, rgba(255, 255, 255, .55)) !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	font-size: 0 !important;
	line-height: 0 !important;
	overflow: hidden !important;
	cursor: pointer;
	transition: width 520ms cubic-bezier(.16, 1, .3, 1), background-color 260ms ease, transform 260ms ease;
}

.rma-login-shell .rma-auth-carousel__navigation button.rma-auth-carousel__dot:hover {
	transform: scale(1.2);
}

.rma-login-shell .rma-auth-carousel__navigation button.rma-auth-carousel__dot:focus-visible {
	outline: 2px solid #fff !important;
	outline-offset: 4px !important;
}

.rma-login-shell .rma-auth-carousel__navigation button.rma-auth-carousel__dot.is-active {
	width: var(--rma-auth-pill-width, 46px) !important;
	min-width: var(--rma-auth-pill-width, 46px) !important;
	background: var(--rma-auth-pill-color, #fff) !important;
	transform: none;
}

.rma-auth__form-panel {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 78px 70px 44px;
	background: #fff;
}

.rma-auth--form-only .rma-auth__form-panel {
	min-height: 660px;
}

.rma-auth__mode-pill {
	position: absolute;
	top: 30px;
	right: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 106px;
	min-height: 40px;
	padding: 10px 23px;
	color: #fff;
	background: #111;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.rma-auth__notices {
	position: absolute;
	top: 88px;
	left: 50%;
	z-index: 2;
	width: min(430px, calc(100% - 70px));
	transform: translateX(-50%);
}

.rma-auth__notices:empty {
	display: none;
}

.rma-auth__form-wrap {
	width: 100%;
	max-width: 430px;
	margin-inline: auto;
}

.rma-auth__panel[hidden] {
	display: none !important;
}

.rma-auth__panel.is-active {
	animation: rma-auth-panel-in 440ms cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes rma-auth-panel-in {
	from { opacity: 0; transform: translate3d(0, 12px, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.rma-auth__header {
	margin-bottom: 34px;
	text-align: center;
}

.rma-auth__heading {
	margin: 0;
	color: #171717;
	font-size: clamp(28px, 2.5vw, 38px);
	font-weight: 650;
	letter-spacing: -.04em;
	line-height: 1.12;
}

.rma-auth__subheading {
	margin: 9px 0 0;
	color: #858585;
	font-size: 12px;
}

.rma-login-shell .rma-auth-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.rma-auth-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.rma-login-shell .rma-auth-field__label {
	color: #343434;
	font-size: 11px;
	font-weight: 600;
}

.rma-auth-field__control {
	display: flex;
	align-items: center;
	min-height: 48px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #cfd2d6;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .025);
	transition: border-color var(--rma-transition), box-shadow var(--rma-transition);
}

.rma-auth-field__control:focus-within {
	border-color: #171717;
	box-shadow: 0 0 0 3px rgba(23, 23, 23, .08);
}

.rma-login-shell .rma-auth-field__control input:not([type="checkbox"]):not([type="radio"]) {
	width: 100%;
	min-width: 0;
	min-height: 46px;
	margin: 0;
	padding: 12px 14px;
	color: #171717;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: 0;
}

.rma-login-shell .rma-auth-field__control input:focus {
	border: 0;
	box-shadow: none;
	outline: 0;
}

.rma-auth-password-toggle {
	display: grid;
	flex: 0 0 44px;
	place-items: center;
	align-self: stretch;
	margin: 0;
	padding: 0;
	color: #8a9198;
	background: transparent;
	border: 0;
	box-shadow: none;
	font-size: 19px;
	cursor: pointer;
	transition: color var(--rma-transition), background-color var(--rma-transition);
}

.rma-auth-password-toggle:hover,
.rma-auth-password-toggle:focus-visible,
.rma-auth-password-toggle.is-revealed {
	color: #171717;
	background: #f6f6f6;
}

.rma-auth-form__options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: -3px;
	font-size: 11px;
}

.rma-login-shell .rma-auth-form__remember {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #4d4d4d;
	font-size: 11px;
	font-weight: 500;
	cursor: pointer;
}

.rma-auth-form__remember input {
	width: 14px;
	height: 14px;
	margin: 0;
	accent-color: #171717;
}

.rma-auth-form__forgot {
	color: #777;
	font-weight: 500;
}

.rma-auth-form__forgot:hover,
.rma-auth-form__forgot:focus-visible,
.rma-auth-switch:hover,
.rma-auth-switch:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rma-login-shell .rma-auth-form__submit.button {
	width: 100%;
	min-height: 48px;
	margin: 4px 0 0;
	padding: 13px 20px;
	color: #fff;
	background: #171717;
	border: 1px solid #171717;
	border-radius: 7px;
	box-shadow: none;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: color var(--rma-transition), background-color var(--rma-transition), border-color var(--rma-transition), transform var(--rma-transition);
}

.rma-login-shell .rma-auth-form__submit.button:hover,
.rma-login-shell .rma-auth-form__submit.button:focus-visible {
	color: #fff;
	background: #000;
	border-color: #000;
}

.rma-login-shell .rma-auth-form__submit.button:active {
	transform: scale(.985);
}

.rma-auth__switch-copy {
	margin: 28px 0 0;
	color: #8a8a8a;
	font-size: 11px;
	text-align: center;
}

.rma-auth-switch {
	margin: 0;
	padding: 0;
	color: #171717;
	background: transparent;
	border: 0;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.rma-auth-form__generated-password,
.rma-auth-form__privacy {
	margin: 0;
	color: #777;
	font-size: 11px;
	line-height: 1.55;
}

.rma-auth-form__privacy p {
	margin: 0;
}

.rma-auth-social {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 14px;
	margin-top: 10px;
	color: #a0a0a0;
	font-size: 10px;
	text-align: center;
}

.rma-auth-social::before,
.rma-auth-social::after {
	height: 1px;
	background: var(--rma-line);
	content: "";
}

.rma-auth--hide-social .rma-auth-social,
.rma-auth--hide-social .wc-social-login,
.rma-auth--hide-social .woocommerce-social-login,
.rma-auth--hide-social .nsl-container,
.rma-auth--hide-social .mo-openid-app-icons,
.rma-auth--hide-social .the_champ_login_container,
.rma-auth--hide-social .woo-slg-social-container,
.rma-auth--hide-social .apsl-login-networks,
.rma-auth--hide-social .xoo-el-sclogin {
	display: none !important;
}

@media (max-width: 1024px) {
	.rma-auth:not(.rma-auth--form-only) {
		grid-template-columns: 44% minmax(0, 1fr);
	}

	.rma-auth__form-panel {
		padding-inline: 44px;
	}

	.rma-auth-carousel__copy {
		padding-inline: 42px;
	}

	.rma-auth-carousel__navigation {
		left: 42px;
	}

	.rma-portal__body.has-sidebar {
		grid-template-columns: 150px minmax(0, 1fr);
		gap: 22px;
	}

	.rma-video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rma-support-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.rma-login-shell .rma-auth:not(.rma-auth--form-only) {
		grid-template-columns: minmax(0, 1fr) !important;
		min-height: 0;
	}

	.rma-auth-carousel {
		min-height: 360px;
	}

	.rma-auth-carousel__copy {
		padding: 42px 30px 76px;
	}

	.rma-auth-carousel__title {
		font-size: clamp(29px, 8vw, 40px);
	}

	.rma-auth-carousel__navigation {
		bottom: 38px;
		left: 30px;
	}

	.rma-auth__form-panel,
	.rma-auth--form-only .rma-auth__form-panel {
		min-height: 580px;
		padding: 86px 28px 44px;
	}

	.rma-auth__mode-pill {
		top: 24px;
		right: 24px;
	}

	.rma-auth__notices {
		top: 76px;
		width: calc(100% - 48px);
	}

	.rma-portal {
		font-size: 13px;
	}

	.rma-portal__header {
		gap: 18px;
		padding-bottom: 18px;
	}

	.rma-greeting__name {
		font-size: 24px;
	}

	.rma-nav__track {
		width: calc(100vw - 32px);
		max-width: 100%;
	}

	.rma-nav__item {
		min-height: 40px;
		padding: 9px 14px;
	}

	.rma-portal__body,
	.rma-portal__body.has-sidebar,
	.rma-portal__body.no-sidebar {
		display: block;
		margin-top: 20px;
	}

	.rma-sidebar {
		position: static;
		margin-bottom: 18px;
	}

	.rma-sidebar__list {
		display: none;
	}

	.rma-sidebar__mobile-label {
		display: block;
		margin-bottom: 5px;
		color: var(--rma-muted);
		font-size: 10px;
	}

	.rma-sidebar__select {
		display: block;
		width: 100%;
		height: 44px;
		padding: 8px 38px 8px 14px;
		color: var(--rma-ink);
		background: var(--rma-white);
		border: 1px solid var(--rma-line);
		border-radius: var(--rma-pill-radius);
	}

	.rma-stat-grid,
	.rma-video-grid,
	.rma-form__row,
	.rma-login-shell .u-columns {
		grid-template-columns: 1fr;
	}

	.rma-order-card__header {
		align-items: flex-start;
	}

	.rma-order-card__meta {
		align-items: flex-end;
		flex-direction: column;
		gap: 5px;
	}

	.rma-order-route {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.rma-order-route__line {
		display: none;
	}

	.rma-order-item {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 12px;
	}

	.rma-order-item__image {
		width: 84px;
		height: 84px;
	}

	.rma-order-item__action {
		grid-column: 2;
		justify-self: start;
		margin-bottom: 12px;
	}

	.rma-order-card__footer {
		align-items: flex-start;
		flex-direction: column;
		padding: 12px 14px;
	}

	.rma-order-card__footer .rma-button {
		width: 100%;
	}

	.rma-section__heading h2 {
		font-size: 27px;
	}
}

@media (max-width: 420px) {
	.rma-login-shell {
		border-radius: 16px;
	}

	.rma-auth-carousel {
		min-height: 320px;
	}

	.rma-auth-carousel__copy {
		padding: 34px 22px 68px;
	}

	.rma-auth-carousel__navigation {
		bottom: 31px;
		left: 22px;
	}

	.rma-auth__form-panel,
	.rma-auth--form-only .rma-auth__form-panel {
		padding-inline: 21px;
	}

	.rma-auth-form__options {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.rma-nav__item {
		gap: 7px;
		padding-inline: 12px;
	}

	.rma-order-items {
		margin-inline: 10px;
	}

	.rma-order-card__header,
	.rma-order-route {
		padding-inline: 12px;
	}

	.rma-order-item {
		grid-template-columns: 74px minmax(0, 1fr);
	}

	.rma-order-item__image {
		width: 74px;
		height: 80px;
	}

	.rma-form,
	.rma-ticket-list,
	.rma-info-card {
		padding: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rma-portal *,
	.rma-portal *::before,
	.rma-portal *::after,
	.rma-login-shell *,
	.rma-login-shell *::before,
	.rma-login-shell *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}
