/*
 * Личный кабинет и вход (page-account.php, page-login.php, woocommerce/myaccount/*.php), блоки по БЭМ:
 * auth (страница входа), auth-forms, auth-tabs, auth-form, auth-divider, auth-oauth,
 * account-head, account-card, account-button.
 * Классы WooCommerce оставлены: на них держатся его стили и обработка форм, часть раскладки — в woocommerce-gw.css.
 */

/* ---------- auth: guest page with two halves ---------- */
.auth {
	display: flex;
	flex: 1 1 0%;
	width: 100%;
	min-height: 100vh;
	background: var(--c-gray-50);
}

.auth__promo {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 48px;
	background-image: var(--g-accent);
	text-align: center;
}

.auth__promo-inner {
	max-width: 28rem;
}

:where(.auth__promo-inner > :not(:last-child)) {
	margin-bottom: 48px;
}

.auth__brand {
	margin: 0 0 16px;
	color: var(--c-white);
	font-size: 36px;
	font-weight: 700;
	line-height: 40px;
}

.auth__tagline {
	margin: 0;
	color: rgb(255 255 255 / 0.9);
	font-size: 18px;
	line-height: 28px;
}

.auth__perks {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

:where(.auth__perks > :not(:last-child)) {
	margin-bottom: 32px;
}

.auth__perk {
	display: flex;
	align-items: center;
	gap: 16px;
}

.auth__perk-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgb(255 255 255 / 0.2);
}

.auth__perk-emoji {
	font-size: 24px;
	line-height: 32px;
}

.auth__perk-text {
	color: var(--c-white);
}

.auth__perk-title {
	display: block;
	margin-bottom: 4px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
}

.auth__perk-sub {
	display: block;
	color: rgb(255 255 255 / 0.9);
	font-size: 14px;
	line-height: 20px;
}

.auth__panel {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 32px;
}

.auth__box {
	width: 100%;
	max-width: 28rem;
}

/* ---------- auth-forms: heading, tabs and the two forms ---------- */
.auth-forms__head {
	margin-bottom: 32px;
	text-align: center;
}

.auth-forms__title {
	margin: 0 0 8px;
	color: var(--c-gray-900);
	font-size: 36px;
	font-weight: 700;
	line-height: 40px;
}

.auth-forms__subtitle {
	margin: 0;
	color: var(--c-gray-600);
}

.auth-forms__home {
	margin: 32px 0 0;
	color: var(--c-gray-500);
	font-size: 14px;
	line-height: 20px;
	text-align: center;
}

.auth-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 32px;
	padding: 4px;
	border-radius: 14px;
	background: var(--c-gray-100);
}

.auth-tabs__tab {
	flex: 1 1 0%;
	padding: 12px 16px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: var(--c-gray-600);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s var(--ease);
}

.auth-tabs__tab:hover {
	color: var(--c-gray-900);
}

.auth-tabs__tab--active {
	background: var(--c-white);
	color: var(--c-gray-900);
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* ---------- auth-form (login, register, reset password) ---------- */
:where(.auth-form > :not(:last-child)) {
	margin-bottom: 20px;
}

.auth-form__label {
	display: block;
	margin-bottom: 8px;
	color: var(--c-gray-900);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

.auth-form__req {
	color: var(--c-red-500);
}

.auth-form__input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--c-gray-300);
	border-radius: 10px;
	background: var(--c-white);
	color: var(--c-gray-900);
}

.auth-form__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.auth-form__check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--c-gray-700);
	font-size: 14px;
	line-height: 20px;
	cursor: pointer;
}

.auth-form__checkbox {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	accent-color: var(--c-purple-600);
}

.auth-form__checkbox--top {
	margin-top: 4px;
}

.auth-form__link {
	flex-shrink: 0;
	color: var(--c-accent);
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
}

.auth-form__link:hover,
.auth-form__link-inline:hover {
	text-decoration: underline;
}

.auth-form__link-inline {
	color: var(--c-accent);
	text-decoration: none;
}

.auth-form__note {
	margin-top: 0;
	color: var(--c-gray-600);
	font-size: 14px;
	line-height: 20px;
}

:where(.auth-form__consents > :not(:last-child)) {
	margin-bottom: 12px;
}

.auth-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
}

.auth-form__consent-text {
	color: var(--c-gray-700);
	font-size: 14px;
	line-height: 20px;
}

.auth-form__actions {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.auth-form__submit {
	width: 100%;
	padding: 16px 0;
	border: 0;
	border-radius: 14px;
	background-image: var(--g-accent);
	color: var(--c-white);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s var(--ease);
}

.auth-form__submit:hover {
	opacity: 0.9;
	box-shadow: var(--shadow-lg);
}

/* «или войдите через» */
.auth-divider {
	position: relative;
	width: 100%;
	padding: 4px 0;
}

.auth-divider__line {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
}

.auth-divider__rule {
	display: block;
	width: 100%;
	border-top: 1px solid var(--c-gray-300);
}

.auth-divider__label-wrap {
	position: relative;
	display: flex;
	justify-content: center;
	font-size: 14px;
	line-height: 20px;
}

.auth-divider__label {
	padding: 0 16px;
	background: var(--c-gray-50);
	color: var(--c-gray-500);
	text-align: center;
}

.auth-oauth {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
}

.auth-oauth__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	border: 1px solid var(--c-gray-300);
	border-radius: 10px;
	background: none;
	color: inherit;
	font: inherit;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s var(--ease);
}

.auth-oauth__button:hover {
	background: var(--c-gray-50);
}

.auth-oauth__icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.auth-oauth__name {
	color: var(--c-gray-900);
	font-weight: 500;
}

/* ---------- account-head: «Личный кабинет» above the account ---------- */
.account-head {
	margin-bottom: 48px;
	text-align: center;
}

.account-head--guest {
	margin-bottom: 40px;
}

.account-head__title {
	margin: 0 0 8px;
	color: var(--c-gray-900);
	font-size: 36px;
	font-weight: 700;
	line-height: 40px;
}

.account-head--guest .account-head__title {
	margin-bottom: 0;
}

.account-head__greeting {
	margin: 0;
	color: var(--c-gray-600);
	font-size: 18px;
	line-height: 28px;
}

.account-head__name {
	color: var(--c-gray-900);
	font-weight: 600;
}

/* ---------- account-card and account-button ---------- */
.account-card {
	padding: 24px;
	border: 1px solid var(--c-gray-200);
	border-radius: 14px;
	background: var(--c-white);
}

.account-card__title {
	margin: 0 0 12px;
	color: var(--c-gray-900);
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
}

.account-card__lead {
	margin: 0 0 24px;
	color: var(--c-gray-600);
	font-size: 14px;
	line-height: 20px;
}

.account-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border: 0;
	border-radius: 14px;
	background-image: var(--g-accent);
	color: var(--c-white);
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.15s var(--ease);
}

.account-button:hover {
	opacity: 0.9;
	box-shadow: var(--shadow-lg);
}

/* ---------- breakpoints ---------- */
@media (min-width: 768px) {
	.account-head__title {
		font-size: 48px;
		line-height: 48px;
	}
}

@media (min-width: 1024px) {
	.auth__promo {
		display: flex;
		width: 50%;
	}

	.auth__panel {
		width: 50%;
	}
}

/* =====================================================================
 * Кабинет вошедшего пользователя. Значения перенесены из прежних классов Tailwind
 * (классы, которых не было в старом app.css, не переносились — вид не меняется).
 * ===================================================================== */
.account-layout {
	display: grid;
	gap: 32px;
	max-width: 1280px;
	margin-inline: auto;
}

.account-nav {
	background-color: #fff;
	border-radius: 14px;
	border-style: solid;
	border-width: 1px;
	border-color: oklch(92.8% .006 264.531);
	overflow: hidden;
}

.account-nav__list {
	display: flex;
	flex-direction: column;
	padding: 0;
	list-style-type: none;
}

.account-nav__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-inline: 24px;
	padding-block: 16px;
	transition-property: all;
	transition-timing-function: cubic-bezier(.4, 0, .2, 1);
	transition-duration: .15s;
	width: 100%;
	text-align: left;
	color: oklch(37.3% .034 259.733);
	font-weight: 500;
}

.account-nav__icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.account-stats {
	display: grid;
	gap: 24px;
}

.account-stat {
	background-color: #fff;
	border-radius: 14px;
	padding: 24px;
	border-style: solid;
	border-width: 1px;
	border-color: oklch(92.8% .006 264.531);
}

.account-stat__label {
	color: oklch(44.6% .03 256.802);
	margin-bottom: 8px;
}

.account-stat__value {
	font-size: 36px;
	line-height: calc(2.5 / 2.25);
	font-weight: 700;
}

.account-stat__value--green {
	color: oklch(62.7% .194 149.214);
}

.account-stat__email {
	font-size: 16px;
	line-height: calc(1.5 / 1);
	font-weight: 500;
	color: oklch(21% .034 264.665);
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.account-stat__link {
	margin-top: 8px;
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	line-height: calc(1.25 / .875);
	font-weight: 500;
}

.account-stat__link-icon {
	width: 16px;
	height: 16px;
	margin-left: 4px;
}

.account-panel {
	background-color: #fff;
	border-radius: 14px;
	padding: 24px;
	border-style: solid;
	border-width: 1px;
	border-color: oklch(92.8% .006 264.531);
}

.account-panel--gap-after {
	margin-bottom: 24px;
}

.account-panel--gap-before {
	margin-top: 24px;
}

.account-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	flex-wrap: wrap;
	gap: 12px;
}

.account-panel__title {
	font-size: 24px;
	font-weight: 600;
	line-height: calc(2 / 1.5);
	color: oklch(21% .034 264.665);
}

.account-panel__title--spaced {
	margin-bottom: 24px;
}

.account-panel__subtitle {
	font-size: 20px;
	font-weight: 600;
	line-height: calc(1.75 / 1.25);
	color: oklch(21% .034 264.665);
	margin-bottom: 16px;
}

.account-panel__link {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	font-weight: 500;
}

.recent-order {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.recent-order--divided {
	padding-bottom: 16px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-color: oklch(92.8% .006 264.531);
}

.recent-order__main {
	min-width: 0;
}

.recent-order__number {
	font-weight: 600;
	color: oklch(21% .034 264.665);
	margin-bottom: 4px;
}

.recent-order__meta {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	color: oklch(44.6% .03 256.802);
}

.recent-order__side {
	text-align: left;
	flex-shrink: 0;
}

.recent-order__total {
	font-weight: 700;
	font-size: 18px;
	line-height: calc(1.75 / 1.125);
	color: oklch(21% .034 264.665);
	margin-bottom: 4px;
}

.status-badge {
	display: inline-block;
	padding-inline: 12px;
	padding-block: 4px;
	font-size: 12px;
	line-height: calc(1 / .75);
	font-weight: 600;
	border-radius: 9999px;
}

.status-badge--success {
	background-color: oklch(96.2% .044 156.743);
	color: oklch(52.7% .154 150.069);
}

.status-badge--warning {
	background-color: oklch(97.3% .071 103.193);
	color: oklch(55.4% .135 66.442);
}

.status-badge--muted {
	background-color: oklch(96.7% .003 264.542);
	color: oklch(37.3% .034 259.733);
}

.status-badge--danger {
	background-color: oklch(93.6% .032 17.717);
	color: oklch(50.5% .213 27.518);
}

.account-empty {
	text-align: center;
}

.account-empty__text {
	color: oklch(55.1% .027 264.364);
	margin-bottom: 16px;
}

.account-empty__text--orders {
	color: oklch(44.6% .03 256.802);
	margin-bottom: 20px;
}

.orders-table__scroll {
	overflow-x: auto;
}

.orders-table {
	text-indent: 0;
	width: 100%;
	font-size: 14px;
	line-height: calc(1.25 / .875);
}

.orders-table__head-row {
	border-bottom-style: solid;
	border-bottom-width: 2px;
	border-color: oklch(92.8% .006 264.531);
}

.orders-table__th {
	text-align: left;
	padding-block: 16px;
	padding-inline: 8px;
	font-weight: 600;
	color: oklch(21% .034 264.665);
}

.orders-table__row {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-color: oklch(92.8% .006 264.531);
}

.orders-table__cell {
	padding-block: 16px;
	padding-inline: 8px;
}

.orders-table__cell--strong {
	font-weight: 600;
	color: oklch(21% .034 264.665);
}

.orders-table__cell--muted {
	color: oklch(37.3% .034 259.733);
}

.orders-table__items {
	display: block;
	font-size: 12px;
	line-height: calc(1 / .75);
	font-weight: 400;
	color: oklch(55.1% .027 264.364);
}

.orders-table__action {
	display: inline-block;
	font-weight: 500;
}

.orders-table__action--secondary {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	color: oklch(37.3% .034 259.733);
}

.account-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 24px;
	padding-top: 24px;
	border-top-style: solid;
	border-top-width: 1px;
	border-color: oklch(92.8% .006 264.531);
}

.account-pagination__link {
	display: inline-flex;
	align-items: center;
	padding-inline: 16px;
	padding-block: 8px;
	border-radius: 10px;
	border-style: solid;
	border-width: 1px;
	border-color: oklch(87.2% .01 258.338);
	font-size: 14px;
	line-height: calc(1.25 / .875);
	font-weight: 500;
	transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
	transition-timing-function: cubic-bezier(.4, 0, .2, 1);
	transition-duration: .15s;
}

.view-order__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.view-order__main {
	min-width: 0;
}

.view-order__label {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	color: oklch(55.1% .027 264.364);
	margin-bottom: 4px;
}

.view-order__date {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	color: oklch(44.6% .03 256.802);
	margin-top: 8px;
}

.order-notes {
	padding: 0;
	list-style-type: none;
}

.order-notes__item {
	border-color: oklch(62.7% .265 303.9);
	padding-left: 16px;
}

.order-notes__date {
	font-size: 12px;
	line-height: calc(1 / .75);
	color: oklch(55.1% .027 264.364);
	margin-bottom: 4px;
}

.order-notes__text {
	font-size: 14px;
	line-height: 1.625;
	color: oklch(37.3% .034 259.733);
}

.order-details__totals {
	margin-top: 24px;
	padding-top: 24px;
	border-top-style: solid;
	border-top-width: 1px;
	border-color: oklch(92.8% .006 264.531);
}

.order-details__row {
	padding-block: 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.order-details__row--grand {
	font-size: 24px;
	line-height: calc(2 / 1.5);
	font-weight: 700;
	padding-top: 16px;
}

.order-details__row--note {
	align-items: stretch;
}

.order-details__term {
	color: oklch(44.6% .03 256.802);
}

.order-details__value {
	font-weight: 500;
	color: oklch(21% .034 264.665);
}

.order-details__grand-text {
	color: oklch(21% .034 264.665);
}

.order-details__note {
	color: oklch(21% .034 264.665);
	text-align: right;
}

.order-item {
	display: flex;
	gap: 16px;
	padding: 16px;
	border-radius: 10px;
	border-style: solid;
	border-width: 1px;
	border-color: oklch(92.8% .006 264.531);
	background-color: oklch(98.5% .002 247.839);
}

.order-item__thumb {
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	border-radius: 10px;
	overflow: hidden;
	background-color: oklch(96.7% .003 264.542);
}

.order-item__body {
	flex: 1 1 0%;
	min-width: 0;
}

.order-item__name {
	font-weight: 600;
	color: oklch(21% .034 264.665);
}

.order-item__qty {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	font-weight: 400;
	color: oklch(55.1% .027 264.364);
}

.order-item__meta {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	color: oklch(44.6% .03 256.802);
	margin-top: 4px;
}

.order-item__note {
	margin-top: 12px;
	padding: 12px;
	border-radius: 10px;
	background-color: oklch(96.9% .016 293.756);
	font-size: 14px;
	line-height: calc(1.25 / .875);
}

.order-item__total {
	font-weight: 600;
	color: oklch(21% .034 264.665);
	flex-shrink: 0;
}

.customer-details__grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.customer-details__grid--two {
	gap: 24px;
}

.customer-details__title {
	font-size: 20px;
	font-weight: 600;
	line-height: calc(1.75 / 1.25);
	margin-bottom: 12px;
	color: oklch(21% .034 264.665);
}

.customer-details__address {
	font-style: normal;
	font-size: 14px;
	line-height: 1.625;
	color: oklch(37.3% .034 259.733);
}

.customer-details__phone {
	margin-top: 8px;
	color: oklch(44.6% .03 256.802);
}

.customer-details__email {
	color: oklch(44.6% .03 256.802);
	overflow-wrap: break-word;
}

.account-form__pair {
	display: grid;
	gap: 16px;
}

.account-form__grid {
	display: grid;
}

.account-form__hint {
	font-size: 12px;
	line-height: calc(1 / .75);
	color: oklch(55.1% .027 264.364);
	margin-top: 8px;
}

.account-form__fieldset {
	border-top-style: solid;
	border-top-width: 2px;
	border-color: oklch(92.8% .006 264.531);
	padding-top: 24px;
	margin-top: 8px;
	padding: 0;
}

.account-form__legend {
	font-size: 20px;
	line-height: calc(1.75 / 1.25);
	font-weight: 600;
	color: oklch(21% .034 264.665);
	margin-bottom: 16px;
}

.account-form__actions {
	padding-top: 8px;
}

.account-form__submit {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	padding-inline: 32px;
	padding-block: 16px;
	color: #fff;
	border-radius: 14px;
	transition-property: all;
	transition-timing-function: cubic-bezier(.4, 0, .2, 1);
	transition-duration: .15s;
}

.account-form__save {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding-inline: 32px;
	color: #fff;
	border-radius: 14px;
	transition-property: all;
	transition-timing-function: cubic-bezier(.4, 0, .2, 1);
	transition-duration: .15s;
}

.account-addresses__intro {
	color: oklch(44.6% .03 256.802);
}

.account-addresses__grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.account-address {
	background-color: #fff;
	border-radius: 14px;
	padding: 24px;
	border-style: solid;
	border-width: 1px;
	border-color: oklch(92.8% .006 264.531);
}

.account-address__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	gap: 12px;
}

.account-address__title {
	font-size: 20px;
	font-weight: 600;
	line-height: calc(1.75 / 1.25);
	color: oklch(21% .034 264.665);
}

.account-address__edit {
	font-weight: 500;
	font-size: 14px;
	line-height: calc(1.25 / .875);
	flex-shrink: 0;
}

.account-address__text {
	font-style: normal;
	color: oklch(37.3% .034 259.733);
	line-height: 1.625;
	font-size: 14px;
}

.license-panel {
	background-color: #fff;
	border-radius: 14px;
	padding: 16px;
	border-style: solid;
	border-width: 1px;
	border-color: oklch(92.8% .006 264.531);
	max-width: 100%;
	min-width: 0;
}

.license-panel__title {
	font-size: 20px;
	font-weight: 600;
	line-height: calc(1.75 / 1.25);
	color: oklch(21% .034 264.665);
	margin-bottom: 8px;
	overflow-wrap: break-word;
}

.license-panel__lead {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	color: oklch(44.6% .03 256.802);
	margin-bottom: 8px;
	overflow-wrap: break-word;
}

.license-panel__count {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	font-weight: 500;
	margin-bottom: 16px;
}

.license-panel__empty {
	color: oklch(44.6% .03 256.802);
	overflow-wrap: break-word;
}

.license-panel__note {
	font-size: 12px;
	line-height: 1.625;
	color: oklch(55.1% .027 264.364);
	margin-bottom: 16px;
	max-width: 672px;
}

.license-card__cell {
	min-width: 0;
}

.license-card__dash {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	color: oklch(70.7% .022 261.325);
}

.license-card__action {
	flex-shrink: 0;
}

.license-card__copy {
	font-size: 14px;
	font-weight: 500;
	line-height: calc(1.25 / .875);
	padding-inline: 12px;
	padding-block: 8px;
	border-radius: 10px;
	border-style: solid;
	border-width: 1px;
	border-color: oklch(92.8% .006 264.531);
	background-color: #fff;
	white-space: nowrap;
}

.license-card__domain {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	word-break: break-all;
	padding-block: 8px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-color: oklch(92.8% .006 264.531);
}

.license-card__no-domains {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	color: oklch(55.1% .027 264.364);
	padding-block: 4px;
}

.license-domains {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.license-domains__empty {
	font-size: 14px;
	line-height: calc(1.25 / .875);
	color: oklch(55.1% .027 264.364);
	border-radius: 10px;
	border-style: dashed;
	border-width: 1px;
	border-color: oklch(92.8% .006 264.531);
	padding-inline: 12px;
	padding-block: 10px;
	text-align: left;
}

.license-domains__row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
	padding-block: 10px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-color: oklch(92.8% .006 264.531);
}

.license-domains__name {
	flex: 1 1 0%;
	min-width: 0;
	font-size: 14px;
	line-height: calc(1.25 / .875);
	color: oklch(21% .034 264.665);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	word-break: break-all;
}

.license-domains__detach {
	font-size: 14px;
	font-weight: 500;
	line-height: calc(1.25 / .875);
	flex-shrink: 0;
	padding-inline: 12px;
	padding-block: 6px;
	border-radius: calc(10px - 2px);
	border-color: rgb(0 0 0 / 0.1);
	border-style: solid;
	border-width: 1px;
	transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
	transition-timing-function: cubic-bezier(.4, 0, .2, 1);
	transition-duration: .15s;
	white-space: nowrap;
}

.account-nav__link:hover {
	background-color: oklch(98.5% .002 247.839);
}

.account-stat__link:hover {
	text-decoration-line: underline;
}

.account-panel__link:hover {
	text-decoration-line: underline;
}

.account-link:hover {
	text-decoration-line: underline;
}

.orders-table__action:hover {
	text-decoration-line: underline;
}

.account-pagination__link:hover {
	background-color: oklch(98.5% .002 247.839);
}

.account-form__submit:hover {
	box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
	opacity: 0.9;
}

.account-form__save:hover {
	box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
	opacity: 0.9;
}

.account-address__edit:hover {
	text-decoration-line: underline;
}

.license-domains__detach:hover {
	background-color: oklch(97.1% .013 17.38);
}

:where(.account-stack > :not(:last-child)) {
	margin-block-start: 0;
	margin-block-end: 24px;
}

:where(.recent-orders > :not(:last-child)) {
	margin-block-start: 0;
	margin-block-end: 16px;
}

:where(.order-notes > :not(:last-child)) {
	margin-block-start: 0;
	margin-block-end: 16px;
}

:where(.order-details__items > :not(:last-child)) {
	margin-block-start: 0;
	margin-block-end: 12px;
}

:where(.order-details__totals > :not(:last-child)) {
	border-bottom-style: solid;
	border-top-style: solid;
	border-top-width: 0;
	border-bottom-width: 1px;
	border-color: oklch(92.8% .006 264.531);
}

:where(.account-form > :not(:last-child)) {
	margin-block-start: 0;
	margin-block-end: 24px;
}

:where(.account-form__group > :not(:last-child)) {
	margin-block-start: 0;
	margin-block-end: 16px;
}

@media (min-width: 40rem) {
	.recent-order {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

@media (min-width: 48rem) {
	.account-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.customer-details__grid--two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

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

	.account-addresses__grid--two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 64rem) {
	.account-layout {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.account-layout__nav {
		grid-column: span 1 / span 1;
	}

	.account-layout__content {
		grid-column: span 3 / span 3;
	}

	.account-nav {
		position: sticky;
	}
}

/* Menu: the current section and «Выйти» */
.account-nav__link--active,
.account-nav__link--active:hover {
	background-color: #684dff;
	color: #fff;
}

.account-nav__link--logout {
	border-top: 1px solid oklch(92.8% .006 264.531);
	color: #684dff;
}

.account-nav__link--logout:hover {
	background-color: oklch(97.1% .013 17.38);
}

.account-stat__value,
.account-stat__link,
.account-panel__link,
.account-address__edit,
.orders-table__action {
	color: #684dff;
}

.orders-table__action--secondary {
	color: oklch(37.3% .034 259.733);
}

.status-badge--inline {
	display: inline;
}

.license-card__domain:last-child,
.license-domains__row:last-child {
	border-bottom-width: 0;
}

/* «Отвязать» while the request is running (assets/js/license-keys-account.js) */
.is-busy {
	opacity: 0.5;
	pointer-events: none;
}

/* Gradient buttons of the forms */
.account-form__submit,
.account-form__save {
	background-image: linear-gradient(to right, #684dff, #4928d1, #684dff);
	cursor: pointer;
}

.account-stat__value.account-stat__value--green {
	color: oklch(62.7% .194 149.214);
}

/* Empty state redrawn by the script after the last domain is detached */
.license-domains__empty--center {
	text-align: center;
}
