/* Marcin: customer account pages (Orders, Quality claim, Contact details, Billing address, Shipping addresses,
   Resale certificates, Privacy) in the checkout style (css/custom/checkout.css): white cards with a thin line and
   4px corners instead of the 18px grey-headed boxes, Marcellus titles, quiet table headers, toned status pills,
   40px square-cornered buttons. Everything is scoped to .my_account_main_container (the shared layout of
   my-account-tabs.tpl + right column), loaded from header.tpl on the account page names only. */

/* ── menu on the left ── */
/* no extra space under "Account": the first menu item starts level with the right column's content under its title */
.my_account_main_container .my_account_menu_container .order_details_top_section_container {
	margin: 0;
}

.my_account_main_container .my_account_menu_container .my_account_menu_element a {
	gap: 14px;
	min-height: 44px;
	margin: 0 0 4px;
	padding: 0 14px;
	border-radius: 4px;
	color: #3c3c3b;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.my_account_main_container .my_account_menu_container .my_account_menu_element a i {
	top: 0;
	width: 18px;
	margin: 0;
	color: #a9a79f;
	font-size: 16px;
	line-height: 1;
	text-align: center;
	transition: color 0.2s ease;
}

.my_account_main_container .my_account_menu_container .my_account_menu_element a:hover {
	background: #fff;
	color: #414f34;
}

.my_account_main_container .my_account_menu_container .my_account_menu_element a:hover i {
	color: #414f34;
}

/* active page: white with a thin line and a green bar on the left */
.my_account_main_container .my_account_menu_container .my_account_menu_element a.active-tab {
	background: #fff;
	box-shadow: inset 0 0 0 1px #e3e3e3, inset 3px 0 0 #414f34;
	color: #414f34;
}

.my_account_main_container .my_account_menu_container .my_account_menu_element a.active-tab i {
	color: #414f34;
}

/* ── page title ── */
.my_account_main_container .my_account_page_title {
	color: #2b2b29;
	font-family: "Marcellus", serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.15;
}

/* ── cards ── */
.my_account_main_container .pol_table,
.my_account_main_container .order_details_basic_container {
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #fff;
}

.my_account_main_container .order_details_basic_container {
	padding: 20px 20px 4px;
}

/* card title: white with a line under it instead of the grey rounded band */
.my_account_main_container .pol_table_top_title,
.my_account_main_container .order_details_basic_container .pol_table_top_title {
	justify-content: space-between;
	gap: 4px 16px;
	height: auto;
	min-height: 60px;
	/* 20px: the table columns start 20px in (theme padding) */
	padding: 12px 20px;
	border-bottom: 1px solid #ebebeb;
	border-radius: 4px 4px 0 0;
	background: #fff;
	color: #2b2b29;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.25;
	text-align: left;
}

.my_account_main_container .order_details_basic_container .pol_table_top_title {
	margin: -20px -20px 20px;
}

/* small helper on the right of the title ("Click on claims below...", "Below you will find...") */
.my_account_main_container .pol_table_top_title_small,
.my_account_main_container .claim_history_subtitle {
	width: auto;
	color: #6d6c67;
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

/* ── tables ── */
.my_account_main_container .pol_table_header {
	border-bottom: 1px solid #ebebeb;
	background: #f4f4f4;
}

.my_account_main_container .pol_table_header .pol_table_column {
	height: 40px;
	color: #6d6c67;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.my_account_main_container .pol_table_column {
	height: 52px;
	color: #3c3c3b;
	font-size: 14px;
	font-weight: 400;
}

.my_account_main_container .pol_table_row,
.my_account_main_container .pol_table_row_a a {
	border-bottom: 1px solid #ebebeb;
}

.my_account_main_container .pol_table_rows > :last-child,
.my_account_main_container .pol_table_rows > .pol_table_row_a:last-child a {
	border-bottom: 0;
}

.my_account_main_container .pol_table_row_a {
	transition: background-color 0.2s ease;
}

.my_account_main_container .pol_table_row_a:hover {
	background: #f7f8f5;
}

.my_account_main_container .pol_table_column_details i,
.my_account_main_container .quality_orders_table_col_5 i,
.my_account_main_container .quality_orders_table_col_5a i {
	top: 0;
	color: #8a8984;
	font-size: 16px;
	/* the dots glyph is drawn above the middle of its box - 2px down puts it on the text's centre line */
	line-height: 1;
	transform: translateY(2px);
}

.my_account_main_container .pol_table_row_a:hover .pol_table_column_details i {
	color: #414f34;
}

/* ── status pills: toned background, darker text of the same hue ── */
.my_account_main_container .new_style_status_container {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 12px;
	background: #f4f4f4;
	color: #6d6c67;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.my_account_main_container .new_style_status_container.status_cancelled {
	background: #fdf3f3;
	color: #a33a3a;
}

.my_account_main_container .new_style_status_container.status_delivered,
.my_account_main_container .new_style_status_container.status_payment_accepted {
	background: #eef2e8;
	color: #414f34;
}

.my_account_main_container .new_style_status_container.status_shipped {
	background: #f1ecf5;
	color: #6f4a85;
}

.my_account_main_container .new_style_status_container.status_preparation_in_progress {
	background: #f8f4e4;
	color: #7d6a1e;
}

.my_account_main_container .new_style_status_container.status_waiting_payment_by_bank {
	background: #ecf1f6;
	color: #3f5f80;
}

/* quality claims: colours come from the back office (inline style) - only the shape is unified */
.my_account_main_container .claim_status,
.my_account_main_container .custom_status {
	display: inline-flex;
	align-items: center;
	height: 24px;
	min-height: 0;
	padding: 0 10px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	white-space: nowrap;
}

/* resale certificates: the template had bright inline colours (#31bf00, #e06666...) - toned like the order statuses */
.my_account_main_container .custom_status--active {
	background: #eef2e8;
	color: #414f34;
}

.my_account_main_container .custom_status--waiting {
	background: #f8f4e4;
	color: #7d6a1e;
}

.my_account_main_container .custom_status--attention {
	background: #fdf3f3;
	color: #a33a3a;
}

.my_account_main_container .custom_status--archived {
	background: #f4f4f4;
	color: #8a8984;
}

/* ── buttons: green main, outlined secondary, 4px corners ── */
.my_account_main_container .button_new_medium_green,
.my_account_main_container a.button_new_medium_green {
	gap: 6px;
	height: 40px;
	min-width: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 4px;
	background: #414f34;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.my_account_main_container .button_new_medium_green:hover,
.my_account_main_container .button_new_medium_green:focus {
	background: #2f3a25;
	color: #fff;
}

.my_account_main_container .button_new_medium_grey,
.my_account_main_container a.button_new_medium_grey,
.my_account_main_container .button_new_small_grey,
.my_account_main_container a.button_new_small_grey {
	gap: 6px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #fff;
	color: #3c3c3b;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

/* in table rows the secondary buttons are smaller */
.my_account_main_container .pol_table .button_new_small_grey,
.my_account_main_container .pol_table a.button_new_small_grey {
	height: 32px;
	padding: 0 12px;
	font-size: 11px;
}

.my_account_main_container .button_new_medium_grey:not(.button_history_inactive):hover,
.my_account_main_container .button_new_small_grey:hover {
	border-color: #414f34;
	background: #f7f8f5;
	color: #414f34;
}

.my_account_main_container .button_new_medium_green i,
.my_account_main_container .button_new_medium_grey i,
.my_account_main_container .button_new_small_grey i {
	height: auto;
	margin: 0;
	font-size: 13px;
}

/* ── forms (contact details, billing address, resale certificate): label column + field;
   not the address cards (also .form_table_style) - their name / postcode rows sit side by side with a small margin ── */
.my_account_main_container .form_table_style .order_details_row:not(.address_row) {
	gap: 16px;
	margin: 0 0 14px;
}

.my_account_main_container .form_table_style .order_detail_row_title {
	color: #6d6c67;
	font-size: 14px;
	font-weight: 400;
}

.my_account_main_container .form_table_style .order_detail_row_title .required,
.my_account_main_container .form_table_style .order_detail_row_title sup {
	color: #a33a3a;
}

.my_account_main_container .form_table_style input.form-control,
.my_account_main_container .form_table_style select.form-control,
.my_account_main_container .form_table_style .form-control {
	height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 4px;
	box-shadow: none;
	color: #2b2b29;
	font-size: 14px;
	transition: box-shadow 0.2s ease;
}

.my_account_main_container .form_table_style .form-control:focus {
	outline: none;
	box-shadow: 0 0 0 1px #414f34, 0 0 0 4px rgba(65, 79, 52, 0.12);
}

.my_account_main_container .buttons_container {
	gap: 8px;
}

/* selects (country, state) were white 40px pills with a border - the same filled 44px field as the inputs */
.my_account_main_container .form_table_style select {
	height: 44px;
	/* 12px: the native select adds ~2px before the text - lines up with the inputs' 14px */
	padding: 0 36px 0 12px;
	border: 0;
	border-radius: 4px;
	background-color: #f4f4f4 !important;
	color: #2b2b29;
	font-size: 14px;
}

/* buttons next to a 44px field: the same height */
.my_account_main_container .form_table_style .button_new_medium_green {
	height: 44px;
}

/* ── shipping address cards ── */
.my_account_main_container .bloc_adresses .address_row {
	color: #3c3c3b;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}

.my_account_main_container .bloc_adresses .address_row_company {
	color: #2b2b29;
	font-weight: 600;
}

/* ── text inside the cards (privacy explanations) ── */
.my_account_main_container .order_details_basic_container .order_details_rows,
.my_account_main_container .order_details_basic_container .order_details_rows > p {
	color: #3c3c3b;
	font-size: 14px;
	line-height: 1.6;
}

/* privacy: deleting the account is not the main action - outlined, red on hover */
.my_account_main_container .button_new_medium_green.delete_account_popup_open {
	border: 1px solid #e3e3e3;
	background: #fff;
	color: #a33a3a;
}

.my_account_main_container .button_new_medium_green.delete_account_popup_open:hover,
.my_account_main_container .button_new_medium_green.delete_account_popup_open:focus {
	border-color: #a33a3a;
	background: #fdf3f3;
	color: #a33a3a;
}

/* ── order detail (order-detail.tpl) ── */
/* "Back to orders" was the old 30px-radius pill with a dark grey border - outlined like the other secondary buttons */
.my_account_main_container .back_to_orders_button.button_new_old_style {
	gap: 6px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #fff;
	color: #3c3c3b;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.my_account_main_container .back_to_orders_button.button_new_old_style:hover {
	border-color: #414f34;
	background: #f7f8f5;
	color: #414f34;
}

.my_account_main_container .back_to_orders_button.button_new_old_style i {
	height: auto;
	margin: 0;
	font-size: 15px;
}

/* unavailable actions (quality claim after the deadline, cancel after payment): quiet, not a live outlined button */
.my_account_main_container .button_new_medium_grey.button_history_inactive {
	border-color: #ebebeb;
	background: #fafafa;
	color: #a9a79f;
}

/* the reason on hover: a small dark tooltip under the button (on the left it covered the other buttons)
   instead of the grey 10px-radius box */
.my_account_main_container .order_details_top_buttons_container_2 .non_eligible_text,
.my_account_main_container .order_details_top_buttons_container_2 .non_eligible_text_cancel {
	top: calc(100% + 6px);
	right: 0;
	width: 260px;
	padding: 8px 10px;
	border-radius: 4px;
	background: #2b2b29;
	color: #fff;
	font-size: 12px;
	line-height: 1.45;
	text-align: left;
}

/* cards: 30px apart in both directions (the halves already have a 30px gutter) */
.my_account_main_container .order_details_half > div {
	display: flex;
	flex-direction: column;
}

.my_account_main_container .order_details_half > div > .order_details_basic_container,
.my_account_main_container .order_details_half > div > .pol_table {
	flex: 1 1 auto;
}

/* #order-detail / #cboxWrapper (the "Details" popup on Quality claim): responsive.css sets 20px / 15px with the id */
#order-detail .my_account_main_container .pol_table.order_detail_products,
#cboxWrapper .my_account_main_container .pol_table.order_detail_products {
	margin: 30px 0 0;
}

/* the summary was pulled 15px up under the products table - a card of its own now */
.my_account_main_container .order_details_summary {
	margin-top: 30px;
}

/* label / value rows: grey label, dark value, neutral line (was #556067 on a bluish line) */
.my_account_main_container .order_details_basic_container .order_details_row,
.my_account_main_container .order_details_basic_container .order_details_row_half {
	border-bottom-color: #ebebeb;
}

.my_account_main_container .order_details_basic_container .order_detail_row_title {
	color: #6d6c67;
	font-size: 14px;
	font-weight: 400;
}

.my_account_main_container .order_details_basic_container .order_detail_row_content {
	color: #2b2b29;
	font-size: 14px;
	font-weight: 400;
}

/* summary: the empty left cells drew lines under nothing */
.my_account_main_container .order_details_summary .order_details_row_half:not(:has(.order_detail_row_title)) {
	border-bottom-color: transparent;
}

.my_account_main_container .order_details_summary .summary_total .order_detail_row_title,
.my_account_main_container .order_details_summary .summary_total .order_detail_row_content {
	color: #2b2b29;
	font-size: 15px;
	font-weight: 700;
}

/* status timeline: neutral line and dots, the date dark, the hour grey */
.my_account_main_container .order_status_timeline_element::before {
	background: #e3e3e3;
}

.my_account_main_container .timeline_dot {
	color: #a9a79f;
}

.my_account_main_container .order_status_timeline_element .date_line_date {
	color: #2b2b29;
}

.my_account_main_container .order_status_timeline_element .date_line_hour {
	color: #8a8984;
	font-size: 13px;
}

.my_account_main_container .show_all_order_statuses {
	background: #e3e3e3;
	color: #3c3c3b;
}

/* addresses */
.my_account_main_container .address_table {
	color: #3c3c3b;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}

/* desktop: the title overflows its 32px form upwards - 7px up puts the button's middle on the title's middle (measured) */
@media (min-width: 768px) {
	.my_account_right_container .order_details_top_section_container .order_details_top_buttons_container {
		margin-top: -7px;
	}
}

/* phone: cards 15px apart (responsive.css spacing), the empty summary cell (voucher spacer) hidden - it left a gap above the first row */
@media (max-width: 767px) {
	#order-detail .my_account_main_container .pol_table.order_detail_products,
	#cboxWrapper .my_account_main_container .pol_table.order_detail_products,
	.my_account_main_container .order_details_summary {
		margin-top: 15px;
	}

	.my_account_main_container .order_details_summary .order_details_row_half:not(:has(.order_detail_row_title)) {
		display: none;
	}
}

/* ── quality claim (quality.tpl) ── */
/* desktop: text columns left-aligned like the Orders table; buttons, status and the dots stay centred */
@media (min-width: 768px) {
	.my_account_main_container #quality_select_order .quality_orders_table_col_1,
	.my_account_main_container #quality_select_order .quality_orders_table_col_2,
	.my_account_main_container #quality_select_order .quality_orders_table_col_3,
	.my_account_main_container #quality_select_order_claimed .submitted_claims_claim_date,
	.my_account_main_container #quality_select_order_claimed .submitted_claims_claim_number,
	.my_account_main_container #quality_select_order_claimed .submitted_claims_order_ref,
	.my_account_main_container #quality_select_order_claimed .submitted_claims_delivery_date,
	.my_account_main_container #quality_select_order_claimed .submitted_claims_claim_reason {
		justify-content: flex-start;
		padding-left: 20px;
		text-align: left;
	}
}

/* the gear above the dots column was decoration only */
.my_account_main_container #quality_select_order_claimed .pol_table_header .quality_orders_table_col_5a i {
	visibility: hidden;
}

/* "New claim" is the main action of the row - green, "Details" stays outlined */
.my_account_main_container .pol_table a.button_new_small_grey.quality_add_claim_button {
	border-color: #414f34;
	background: #414f34;
	color: #fff;
}

.my_account_main_container .pol_table a.button_new_small_grey.quality_add_claim_button:hover {
	border-color: #2f3a25;
	background: #2f3a25;
	color: #fff;
}

/* "Eligible orders list." with the info icon: icon on the text's centre line */
.my_account_main_container .claim_history_subtitle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.my_account_main_container .claim_history_subtitle .eligible_hint {
	position: relative;
	top: 0;
	margin: 0;
	font-size: 16px;
}

/* ── new claim form (quality_new_add_to_order.tpl) ── */
/* "Cancel" next to the title: the old pill - outlined like "Back to orders" */
.my_account_main_container .cancel_creation_button.button_new_old_style {
	height: 40px;
	padding: 0 16px;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #fff;
	color: #3c3c3b;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.my_account_main_container .cancel_creation_button.button_new_old_style:hover {
	border-color: #414f34;
	background: #f7f8f5;
	color: #414f34;
}

/* steps: Marcellus heading, grey helper line, 40px between steps */
.quality_new_claim .claim_main_container > div,
.quality_new_claim #quality_select_products,
.quality_new_claim #quality_select_reason {
	margin-top: 40px;
}

.quality_new_claim .claim_main_container > div:first-child {
	margin-top: 0;
}

.quality_new_claim .quality_headline {
	margin: 0 0 4px;
	color: #2b2b29;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.25;
}

/* finished step: a green check in a circle instead of the icon-font glyph */
.quality_new_claim .step_done .quality_headline::before {
	content: "";
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	/* not flex gap: the two words of the heading are a span + text node and would get it too */
	margin: 0 8px 0 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23414f34'/%3E%3Cpath d='M5.8 10.3l2.7 2.7 5.7-5.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 20px 20px;
}

.quality_new_claim #quality_select_order_selected .quality_headline {
	margin-bottom: 16px;
}

.quality_new_claim .quality_write_head {
	margin: 0 0 16px;
	color: #6d6c67;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

/* selected order: text columns left-aligned like the claims lists */
@media (min-width: 768px) {
	.quality_new_claim #quality_select_order_selected .pol_table_column {
		justify-content: flex-start;
		padding-left: 20px;
		text-align: left;
	}
}

/* reason / solution tiles: white 56px tiles; the selected one green-edged with a check, no band underneath */
.quality_new_claim .reason_container,
.quality_new_claim .solution_container {
	gap: 16px;
	align-items: stretch;
	margin: 0;
}

.quality_new_claim .reason_item,
.quality_new_claim .reason_item_inactive,
.quality_new_claim .solution_item {
	flex: 1 1 0;
	width: auto;
	min-height: 56px;
	margin: 0;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #fff;
	opacity: 1;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.quality_new_claim .reason_item:hover,
.quality_new_claim .solution_item:hover {
	border-color: #414f34;
	background: #f7f8f5;
}

.quality_new_claim .reason_item_intern,
.quality_new_claim .solution_item_intern {
	gap: 8px;
	min-height: 54px;
	padding: 0 16px;
	color: #3c3c3b;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.quality_new_claim .reason_item_helper,
.quality_new_claim .reason_item_helper_selected,
.quality_new_claim .solution_item_helper,
.quality_new_claim .solution_item_helper_selected,
.quality_new_claim .reason_item.reason_selected .reason_item_helper_selected,
.quality_new_claim .solution_item.solution_selected .solution_item_helper_selected {
	display: none;
}

.quality_new_claim .reason_item.reason_selected,
.quality_new_claim .solution_item.solution_selected {
	border: 1px solid #414f34 !important;
	background: #f7f8f5;
	box-shadow: inset 0 0 0 1px #414f34;
}

.quality_new_claim .reason_selected .reason_item_intern,
.quality_new_claim .solution_selected .solution_item_intern {
	color: #414f34;
}

.quality_new_claim .reason_selected .reason_item_intern::before,
.quality_new_claim .solution_selected .solution_item_intern::before {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23414f34'/%3E%3Cpath d='M5.8 10.3l2.7 2.7 5.7-5.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 18px 18px;
}

/* a reason already used for this order */
.quality_new_claim .reason_item_inactive {
	border-color: #ebebeb;
	background: #fafafa;
	cursor: not-allowed;
}

.quality_new_claim .reason_item_inactive .reason_item_intern {
	color: #a9a79f;
}

/* products: selects as the filled 4px fields, total row on #f4f4f4 */
.quality_new_claim #quality_select_products select {
	height: 36px;
	padding: 0 28px 0 10px;
	border: 0;
	border-radius: 4px;
	background-color: #f4f4f4 !important;
	color: #2b2b29;
	font-size: 13px;
}

.quality_new_claim #quality_select_products select:disabled {
	color: #a9a79f;
	cursor: not-allowed;
}

.quality_new_claim .quality_select_products_total_table {
	border-top: 1px solid #ebebeb;
	background: #f4f4f4;
}

.quality_new_claim .quality_select_products_total_title,
.quality_new_claim .quality_select_products_total_amount {
	color: #2b2b29;
	font-size: 14px;
}

/* description */
.quality_new_claim #claim_text {
	min-height: 140px;
	margin: 0;
	padding: 14px 16px;
	border: 0;
	border-radius: 4px;
	background: #f4f4f4;
	box-shadow: none;
	color: #2b2b29;
	font-size: 14px;
	line-height: 1.5;
	resize: vertical;
	transition: box-shadow 0.2s ease;
}

.quality_new_claim #claim_text:focus {
	outline: none;
	box-shadow: 0 0 0 1px #414f34, 0 0 0 4px rgba(65, 79, 52, 0.12);
}

.quality_new_claim #claim_text::placeholder {
	color: #a9a79f;
	font-style: normal;
}

/* damaged parcel: white card with a line instead of the blue 18px box */
.quality_new_claim #quality_write_damaged_parcel {
	margin-top: 16px;
	padding: 16px 20px;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #fff;
}

.quality_new_claim #quality_write_damaged_parcel .checkbox_container label {
	/* 12px from the 20px box, as on the resale certificate form */
	padding-left: 32px;
	color: #2b2b29;
	font-size: 14px;
	font-weight: 600;
}

.quality_new_claim #quality_write_damaged_parcel .checkmark {
	/* inline top:-1px - the 20px box (see "checkboxes" below) on the label's middle */
	top: 0 !important;
}

.quality_new_claim #quality_write_damaged_parcel .quality_write_head {
	margin: 6px 0 0;
	font-size: 13px;
}

/* photo examples: three white cards with a line */
.quality_new_claim .quality_add_images_container {
	gap: 16px;
	padding-bottom: 0;
}

.quality_new_claim .quality_add_barcode_container,
.quality_new_claim .quality_add_product_photos_container,
.quality_new_claim .quality_add_product_photos_each_container {
	flex: 1 1 0;
	width: auto;
	padding: 16px;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
}

.quality_new_claim .qa_head_top {
	color: #2b2b29;
	font-size: 13px;
	font-weight: 700;
}

.quality_new_claim .qa_head_exp {
	margin: 2px 0 10px;
	color: #6d6c67;
	font-size: 13px;
	line-height: 1.45;
}

/* upload area */
.quality_new_claim .quality_photos_container {
	margin: 16px 0 0;
}

.quality_new_claim .quality_photos_text {
	gap: 10px;
	height: 64px;
	margin: 0 0 8px;
	border: 1px dashed #a9b59c;
	border-radius: 4px;
	background: #fff;
	color: #414f34;
	font-size: 14px;
	font-weight: 600;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.quality_new_claim .quality_photos_text:hover {
	border-color: #414f34;
	background: #f7f8f5;
}

.quality_new_claim .quality_photos_text i,
.quality_new_claim .quality_photos_text img {
	margin: 0;
	color: #414f34;
	font-size: 28px;
}

/* refund / voucher details: the account form style - label column + filled 44px field */
.quality_new_claim .refund_container,
.quality_new_claim .voucher_container {
	margin-top: 16px;
}

.quality_new_claim .refund_headline {
	color: #6d6c67;
	font-size: 14px;
	font-weight: 400;
}

.quality_new_claim .refund_form {
	padding-top: 4px;
}

.quality_new_claim .refund_form_line {
	gap: 16px;
	margin: 0 0 14px;
}

.quality_new_claim .refund_form_line label {
	width: 220px;
	min-width: 220px;
	margin: 0;
	padding: 0;
	color: #6d6c67;
	font-size: 14px;
	font-weight: 400;
	text-align: left;
}

.quality_new_claim .refund_form input {
	height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 4px;
	background-color: #f4f4f4;
	color: #2b2b29;
	font-size: 14px;
	font-weight: 400;
	transition: box-shadow 0.2s ease;
}

.quality_new_claim .refund_form input:focus {
	outline: none;
	box-shadow: 0 0 0 1px #414f34, 0 0 0 4px rgba(65, 79, 52, 0.12);
}

/* Cancel / Send: right-aligned under a line, Send green 44px */
.quality_new_claim .quality_button_container {
	gap: 8px;
	justify-content: flex-end;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #e3e3e3;
}

.quality_new_claim .quality_button_container > a {
	height: 44px;
	margin: 0 !important;
	padding: 0 24px;
}

.quality_new_claim .quality_button_container > a.button_new_medium_green {
	min-width: 200px;
	justify-content: center;
}

@media (max-width: 767px) {
	.quality_new_claim .reason_container,
	.quality_new_claim .solution_container,
	.quality_new_claim .quality_add_images_container,
	.quality_new_claim .refund_form_line {
		flex-direction: column;
		align-items: stretch;
	}

	.quality_new_claim .refund_form_line {
		gap: 6px;
	}

	.quality_new_claim .refund_form_line label {
		width: auto;
		min-width: 0;
	}

	.quality_new_claim .quality_button_container > a {
		flex: 1 1 0;
		justify-content: center;
	}

	.quality_new_claim .quality_button_container > a.button_new_medium_green {
		min-width: 0;
	}

	/* the quantity / issue / amount panel was bluish (#f4f6fa) - neutral grey, the selects white on it */
	.quality_new_claim #quality_select_products .pol_table_rows .quality_select_products_table_col_5,
	.quality_new_claim #quality_select_products .pol_table_rows .quality_select_products_table_col_6,
	.quality_new_claim #quality_select_products .pol_table_rows .quality_select_products_table_col_7 {
		background-color: #f4f4f4;
	}

	.quality_new_claim #quality_select_products .pol_table_rows select {
		background-color: #fff !important;
	}
}

/* ── billing address: fields and Save as in Contact details ──
   contact-details.tpl: title 220px + field + .order_detail_row_content_fill_space (min-width 40%, 150px between
   576 and 1199px, autoload/new-my-account.css + responsive.css), Save inside the last row's fill space;
   billing-address.tpl had the form squeezed to 50% instead - full width here, an ::after standing in for the
   fill-space column in the rows without one, and the contact-details responsive rules repeated for the real one */
#billing-address .billing_address_table_container form > div {
	width: 100%;
}

#billing-address .form_table_style .order_details_row:not(:has(.order_detail_row_content_fill_space))::after {
	content: "";
	min-width: 40%;
}

@media (min-width: 768px) and (max-width: 1199px) {
	#billing-address .form_table_style .order_details_row:not(:has(.order_detail_row_content_fill_space))::after,
	#billing-address .order_detail_row_content_fill_space {
		min-width: 150px;
	}
}

@media (max-width: 767px) {
	#billing-address .form_table_style .order_details_row:not(:has(.order_detail_row_content_fill_space))::after {
		content: none;
	}

	#billing-address .order_detail_row_content_fill_space {
		justify-content: flex-end;
		min-width: 100%;
		padding-left: 0;
	}

	#billing-address .order_detail_row_content_fill_space .button_new_medium_green {
		width: 100%;
		margin-top: 10px;
	}
}

/* ── shipping addresses (addresses.tpl) ──
   Update was 44px (form-field height, the card is .form_table_style) and Delete 40px, 31px apart:
   both 40px, 8px apart, right-aligned in a footer under a line */
/* .order_details_row.buttons_container: beats the form-row gap / margin rule above */
.my_account_main_container .bloc_adresses .order_details_row.buttons_container {
	justify-content: flex-end;
	gap: 8px;
	/* rows are width: 100% - plus the card's 2 x 20px padding to reach its edges */
	width: calc(100% + 40px);
	margin: 16px -20px 0;
	padding: 16px 20px !important;
	border-top: 1px solid #ebebeb;
}

.my_account_main_container .bloc_adresses .buttons_container > a {
	height: 40px;
	margin: 0;
}

/* deleting is destructive: red on hover, like Delete my account */
.my_account_main_container .bloc_adresses .buttons_container > a.button_new_medium_grey:hover {
	border-color: #a33a3a;
	background: #fdf3f3;
	color: #a33a3a;
}

/* ── shipping address edit (address.tpl): fields and buttons as in Contact details / Billing address ── */
/* text inputs here have no .form-control: they were 40px pills with a bluish line */
#address #add_address .order_detail_row_content input[type="text"] {
	height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 4px;
	background-color: #f4f4f4;
	box-shadow: none;
	color: #2b2b29;
	font-size: 14px;
	font-weight: 400;
	transition: box-shadow 0.2s ease;
}

#address #add_address .order_detail_row_content input[type="text"]:focus {
	outline: none;
	box-shadow: 0 0 0 1px #414f34, 0 0 0 4px rgba(65, 79, 52, 0.12);
}

/* field width: the same empty right column as in Contact details (see billing address above) */
#address #add_address .order_details_row:not(.buttons_container)::after {
	content: "";
	min-width: 40%;
}

@media (min-width: 768px) and (max-width: 1199px) {
	#address #add_address .order_details_row:not(.buttons_container)::after {
		min-width: 150px;
	}
}

@media (max-width: 767px) {
	#address #add_address .order_details_row:not(.buttons_container)::after {
		content: none;
	}
}

/* Cancel / Save: under the fields, starting at the field column (220px label + 16px gap), 44px like the fields */
#address #add_address .buttons_container.buttons_centered {
	/* .buttons_centered centres with !important (autoload/new-my-account.css) */
	justify-content: flex-start !important;
	align-items: center;
	gap: 8px;
	margin: 0;
	/* 24px between the last field and the buttons (the row above keeps its 14px) */
	padding: 10px 0 16px 236px !important;
}

#address #add_address .buttons_container > a,
#address #add_address .buttons_container .button_new_medium_green {
	height: 44px;
	/* Cancel has an inline margin-right: 15px */
	margin: 0 !important;
}

#address #add_address .buttons_container .submit2 {
	margin: 0;
	padding: 0;
}

/* phone: labels sit above the fields - buttons from the left edge, side by side, full width */
@media (max-width: 767px) {
	/* grid, not flex 1 1 0: Cancel's own 16px padding made it 34px wider than Save */
	#address #add_address .buttons_container.buttons_centered {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		padding-left: 0 !important;
	}

	#address #add_address .buttons_container > a,
	#address #add_address .buttons_container .submit2,
	#address #add_address .buttons_container .submit2 .button_new_medium_green {
		justify-content: center;
		width: 100%;
	}
}

/* ── resale certificates (reseller_permit.tpl) ── */
/* list: text columns left-aligned like the other account tables; certificate, status and actions stay centred */
@media (min-width: 768px) {
	#reseller-permit .my_account_main_container .pol_table .reseller_state_name,
	#reseller-permit .my_account_main_container .pol_table .reseller_date {
		justify-content: flex-start;
		padding-left: 20px;
		text-align: left;
	}
}

#reseller-permit .my_account_main_container .reseller_buttons {
	gap: 8px;
}

/* Delete had an inline margin-left: 10px */
#reseller-permit .my_account_main_container .reseller_buttons .reseller_delete {
	margin-left: 0 !important;
}

#reseller-permit .my_account_main_container .reseller_buttons .reseller_delete:hover {
	border-color: #a33a3a;
	background: #fdf3f3;
	color: #a33a3a;
}

#reseller-permit .my_account_main_container .reseller_document a {
	color: #8a8984;
	font-size: 16px;
	transition: color 0.2s ease;
}

#reseller-permit .my_account_main_container .reseller_document a:hover {
	color: #414f34;
}

/* new / update forms: field width as in Contact details, the same empty right column */
#reseller-permit .form_table_style form .order_details_row:not(.buttons_container)::after {
	content: "";
	min-width: 40%;
}

@media (min-width: 768px) and (max-width: 1199px) {
	#reseller-permit .form_table_style form .order_details_row:not(.buttons_container)::after {
		min-width: 150px;
	}
}

@media (max-width: 767px) {
	#reseller-permit .form_table_style form .order_details_row:not(.buttons_container)::after {
		content: none;
	}
}

/* expiration date: calendar icon in the field */
#reseller-permit .form_table_style input.date_to_new,
#reseller-permit .form_table_style input.date_to_update {
	padding-right: 44px;
	/* !important: global.css sets a white background with !important on .form_table_style text inputs */
	background: #f4f4f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238a8984' stroke-width='1.4' stroke-linecap='round'%3E%3Crect x='3' y='4.5' width='14' height='12.5' rx='1.5'/%3E%3Cpath d='M3 8.5h14M7 3v3M13 3v3'/%3E%3C/svg%3E") no-repeat right 14px center / 18px 18px !important;
	cursor: pointer;
}

/* "no expiration date" checkbox: under the field in the flow (it was absolute, with 30px padding on the next row
   to make room) - the label of that row lines up with the field */
#reseller-permit .form_table_style .order_details_row:has(.no_reseller_date_to) {
	align-items: flex-start;
}

/* label beside the field (not above it, as on phones): on the field's middle line */
@media (min-width: 768px) {
	#reseller-permit .form_table_style .order_details_row:has(.no_reseller_date_to) .order_detail_row_title {
		padding-top: 12px;
	}
}

#reseller-permit .form_table_style .no_reseller_date_to {
	position: relative;
	top: 0;
	margin: 12px 0 0;
	padding: 0 0 0 32px;
}

#reseller-permit .form_table_style .no_reseller_date_to .checkmark {
	left: 0;
}

#reseller-permit .form_table_style .no_reseller_date_to label {
	color: #3c3c3b;
	font-size: 14px;
	font-weight: 400;
}

#reseller-permit .form_table_style form .order_details_row[style*="padding-top"] {
	padding-top: 0 !important;
}

/* file: uniform.js wraps the native input in a white 30px pill - the filled 44px field, the browser's
   "choose file" button drawn as our outlined button */
#reseller-permit .form_table_style .uploader {
	display: flex;
	align-items: center;
	width: 100%;
	height: 44px;
	padding: 0 6px;
	border: 0 !important;
	border-radius: 4px;
	/* !important: reseller-permit.css paints #uniform-file_reseller white with !important */
	background: #f4f4f4 !important;
}

#reseller-permit .form_table_style .uploader input.file_field {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	background: transparent;
	color: #6d6c67;
	font-size: 13px;
	line-height: 32px;
	cursor: pointer;
}

#reseller-permit .form_table_style .uploader input.file_field::file-selector-button {
	height: 32px;
	margin: 0 12px 0 0;
	padding: 0 14px;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #fff;
	color: #3c3c3b;
	font-family: "Open Sans", sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

#reseller-permit .form_table_style .uploader input.file_field:hover::file-selector-button {
	border-color: #414f34;
	background: #f7f8f5;
	color: #414f34;
}

/* Cancel / Send / Update: under the fields from the field column, 44px - as on the address form */
#reseller-permit .form_table_style .buttons_container.buttons_centered {
	justify-content: flex-start !important;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 0 16px 236px !important;
}

#reseller-permit .form_table_style .buttons_container > .button_new_medium_grey,
#reseller-permit .form_table_style .buttons_container > .button_new_medium_green {
	height: 44px;
	/* the new-form Cancel has an inline margin-right: 15px */
	margin: 0 !important;
	cursor: pointer;
}

@media (max-width: 767px) {
	#reseller-permit .form_table_style .buttons_container.buttons_centered {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		padding-left: 0 !important;
	}

	#reseller-permit .form_table_style .buttons_container > .button_new_medium_grey,
	#reseller-permit .form_table_style .buttons_container > .button_new_medium_green {
		justify-content: center;
		width: 100%;
	}
}

/* date picker (jQuery UI 1.8 default look: grey cells with borders, yellow today) */
#ui-datepicker-div.ui-datepicker {
	width: 280px;
	margin-top: 6px;
	padding: 12px;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(43, 43, 41, 0.12);
	font-family: "Open Sans", sans-serif;
}

#ui-datepicker-div .ui-datepicker-header {
	padding: 4px 0 10px;
	border: 0;
	border-radius: 0;
	background: none;
}

#ui-datepicker-div .ui-datepicker-title {
	color: #2b2b29;
	font-family: "Marcellus", serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
}

#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next {
	top: 4px;
	width: 28px;
	height: 28px;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}

#ui-datepicker-div .ui-datepicker-prev { left: 0; }
#ui-datepicker-div .ui-datepicker-next { right: 0; }

#ui-datepicker-div .ui-datepicker-prev:hover,
#ui-datepicker-div .ui-datepicker-next:hover {
	border-color: #414f34;
	background: #f7f8f5;
}

/* arrows drawn in CSS - the theme's sprite icons are hidden */
#ui-datepicker-div .ui-datepicker-prev span,
#ui-datepicker-div .ui-datepicker-next span {
	display: none;
}

#ui-datepicker-div .ui-datepicker-prev::before,
#ui-datepicker-div .ui-datepicker-next::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 7px;
	height: 7px;
	border: solid #3c3c3b;
	border-width: 0 0 1.5px 1.5px;
	transform: translate(-30%, -50%) rotate(45deg);
}

#ui-datepicker-div .ui-datepicker-next::before {
	transform: translate(-70%, -50%) rotate(-135deg);
}

#ui-datepicker-div .ui-datepicker-prev.ui-state-disabled {
	opacity: 0.35;
	cursor: default;
}

#ui-datepicker-div table.ui-datepicker-calendar {
	margin: 0;
	font-size: 13px;
}

#ui-datepicker-div .ui-datepicker-calendar th {
	padding: 4px 0 6px;
	color: #8a8984;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

#ui-datepicker-div .ui-datepicker-calendar td {
	padding: 1px;
}

#ui-datepicker-div .ui-datepicker-calendar td a,
#ui-datepicker-div .ui-datepicker-calendar td span {
	display: block;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #2b2b29;
	font-weight: 400;
	line-height: 34px;
	text-align: center;
}

#ui-datepicker-div .ui-datepicker-calendar td a:hover {
	background: #f3f5ef;
	color: #414f34;
}

#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-highlight {
	box-shadow: inset 0 0 0 1px #414f34;
	color: #414f34;
	font-weight: 600;
}

#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-active {
	background: #414f34;
	box-shadow: none;
	color: #fff;
	font-weight: 600;
}

#ui-datepicker-div .ui-datepicker-calendar td.ui-state-disabled span,
#ui-datepicker-div .ui-datepicker-calendar td.ui-datepicker-unselectable span {
	color: #c9c7c0;
	opacity: 1;
}

/* ── checkboxes on the account pages (resale certificate, damaged parcel) ──
   the theme's was an 18px grey square turning into a round green blob with a tick drawn from borders,
   off-centre: a 20px square with a thin line, green when ticked, the tick an SVG centred in the box */
.my_account_main_container .checkbox_container .checkmark {
	width: 20px;
	height: 20px;
	border: 1.5px solid #c9c7c0;
	border-radius: 4px;
	background-color: #fff;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.my_account_main_container .checkbox_container:hover .checkmark {
	border-color: #414f34;
}

.my_account_main_container .checkbox_container input:checked ~ .checkmark {
	border-color: #414f34;
	border-radius: 4px;
	background-color: #414f34 !important;
}

.my_account_main_container .checkbox_container .checkmark::after {
	inset: 0;
	width: auto;
	height: auto;
	border: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	transform: none;
}

.my_account_main_container .checkbox_container input:focus-visible ~ .checkmark {
	box-shadow: 0 0 0 3px rgba(65, 79, 52, 0.18);
}

/* ── privacy subpages (x13privacymanager: agreements, data export, account deletion) ── */
/* "Back" next to the title: the old pill - outlined like "Back to orders" */
.my_account_main_container .order_details_top_section_container .order_details_top_buttons_container .button_new_old_style {
	gap: 6px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #fff;
	color: #3c3c3b;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.my_account_main_container .order_details_top_section_container .order_details_top_buttons_container .button_new_old_style:hover {
	border-color: #414f34;
	background: #f7f8f5;
	color: #414f34;
}

.my_account_main_container .order_details_top_section_container .order_details_top_buttons_container .button_new_old_style i {
	height: auto;
	margin: 0;
	font-size: 15px;
}

/* the module's intro text under the title */
.my_account_main_container .agreements-page-description {
	margin: 0 0 20px;
	color: #6d6c67;
	font-size: 14px;
	line-height: 1.6;
}

.my_account_main_container .agreements-page-description p {
	margin: 0 0 8px;
	padding: 0;
}

/* data export: intro and the three downloads in one card, outlined buttons with a download arrow */
.my_account_main_container .sf-privacy-export {
	padding: 20px;
}

.my_account_main_container .sf-privacy-export .agreements-page-description {
	margin: 0 0 16px;
}

.my_account_main_container .sf-privacy-export .buttons_container {
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 8px;
	margin: 0;
	padding: 0 !important;
}

.my_account_main_container .sf-privacy-export__btn::before {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.5v8M4.5 7.5L8 11l3.5-3.5M3 13.5h10'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.5v8M4.5 7.5L8 11l3.5-3.5M3 13.5h10'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media (max-width: 767px) {
	.my_account_main_container .sf-privacy-export .buttons_container {
		flex-direction: column;
		align-items: stretch;
	}

	.my_account_main_container .sf-privacy-export__btn {
		justify-content: center;
	}
}

/* agreements: the statement column left, date and action centred */
.my_account_main_container .pol_table .agreement_title {
	line-height: 1.5;
}

/* messages (agreement saved, deletion request sent): toned strips instead of Bootstrap boxes */
.my_account_main_container .alert {
	margin: 0 0 20px;
	padding: 14px 16px;
	border: 0;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.55;
}

.my_account_main_container .alert-warning {
	background: #f8f4e4;
	color: #7d6a1e;
}

.my_account_main_container .alert-success {
	background: #eef2e8;
	color: #414f34;
}

/* "Delete my account" confirmation (sweetalert2): white 4px card, Marcellus question,
   Cancel outlined, Delete red - it removes the account, the green "go" colour was misleading */
.swal2-popup.swal_popup_delete_account {
	width: 420px;
	max-width: calc(100vw - 32px);
	padding: 32px 28px 28px;
	border-radius: 4px;
}

.swal_popup_delete_account .popup_title {
	margin: 0 0 24px;
	color: #2b2b29;
	font-family: "Marcellus", serif;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.3;
}

.swal_popup_delete_account .popup_button_container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 8px;
}

.swal_popup_delete_account .popup_button_container > a,
.swal_popup_delete_account .popup_button_container > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	margin: 0;
	padding: 0 16px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.swal_popup_delete_account .popup_cancel_button {
	border: 1px solid #e3e3e3;
	background: #fff;
	color: #3c3c3b;
}

.swal_popup_delete_account .popup_cancel_button:hover {
	border-color: #414f34;
	background: #f7f8f5;
	color: #414f34;
}

.swal_popup_delete_account .popup_remove_button {
	border: 1px solid #a33a3a;
	background: #a33a3a;
	color: #fff;
}

.swal_popup_delete_account .popup_remove_button:hover {
	border-color: #8a2c2c;
	background: #8a2c2c;
	color: #fff;
}

/* account deletion: intro and the request button (or the "request sent" strip) in one card;
   the button deletes the account - red, not the green main action */
.my_account_main_container .sf-privacy-deletion {
	padding: 20px;
}

.my_account_main_container .sf-privacy-deletion .agreements-page-description {
	margin: 0 0 16px;
}

.my_account_main_container .sf-privacy-deletion .alert {
	margin: 0;
}

.my_account_main_container .sf-privacy-deletion .buttons_container {
	display: flex;
	justify-content: flex-start;
	margin: 0;
	padding: 0 !important;
}

.my_account_main_container a.button_new_medium_green.sf-privacy-deletion__btn {
	background: #a33a3a;
}

.my_account_main_container a.button_new_medium_green.sf-privacy-deletion__btn:hover,
.my_account_main_container a.button_new_medium_green.sf-privacy-deletion__btn:focus {
	background: #8a2c2c;
}
