/*
 * My Account (inner pages) - dark theme.
 * Loaded ONLY on /account/ pages (never cart, basket or checkout) by mu-plugins/srs-account-dark.php,
 * and every rule is scoped to body.srs-account-dark so nothing leaks anywhere else.
 * body.srs-account-dash = the Account Overview page, which has its own styling (no extra container box there).
 */

body.srs-account-dark {
	--srs-text: #e6e8ec;
	--srs-muted: #b4b4bc;
	--srs-glass: rgba(25, 25, 30, .6);
	--srs-line: rgba(255, 255, 255, .12);
	--srs-field: rgba(255, 255, 255, .06);
	--srs-red: #d81a2a;
	--srs-green: #8fd578;
}

/* ---------- page background (same as the overview page) ---------- */
body.woocommerce-account.srs-account-dark {
	background: radial-gradient(900px 440px at 10% 0%, rgb(255 0 24 / 25%), transparent 62%) fixed, linear-gradient(135deg, rgb(13, 21, 32) 0%, rgb(9, 9, 15) 50%, rgb(19, 9, 30) 100%) fixed rgb(10, 13, 17) !important;
}
body.srs-account-dark #content,
body.srs-account-dark .neve-main,
body.srs-account-dark .nv-content-wrap,
body.srs-account-dark .woocommerce,
body.srs-account-dark .nv-page-title-wrap,
body.srs-account-dark .container {
	background: transparent !important;
	background-image: none !important;
}
body.srs-account-dark .entry-title,
body.srs-account-dark .nv-page-title-wrap h1 {
	color: #fff;
}

/* ---------- the content area itself has NO box ---------- */
body.srs-account-dark .woocommerce-MyAccount-content {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	color: var(--srs-text);
}

/* ---------- the glass boxes: the containers the theme draws as light boxes with a glow ----------
 * Edit Account form, subscription / order / related-orders / orders tables, order details, customer (billing)
 * details and the order overview box at the top of View Order. Not on the Account Overview page. */
body.srs-account-dark:not(.srs-account-dash) form.woocommerce-EditAccountForm.edit-account,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.subscription_details,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table#woocommerce-subscriptions-related-orders-table,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.my_account_orders,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-order-details,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-customer-details,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-order-overview.woocommerce-thankyou-order-details {
	background: var(--srs-glass) !important;
	border-top: 1px solid rgba(255, 255, 255, .09) !important;
	border-bottom: 1px solid rgba(0, 0, 0, .15) !important;
	border-left: 1px solid rgba(0, 0, 0, 0) !important;
	border-right: 1px solid rgba(25, 25, 30, 1) !important;
	border-radius: 5px !important;
	box-shadow: none !important;
	color: var(--srs-text);
	box-sizing: border-box;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.subscription_details,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table#woocommerce-subscriptions-related-orders-table,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.my_account_orders {
	border-collapse: separate;
	border-spacing: 0;
}
/* a table sitting inside an order-details box is not a second box */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-order-details table.shop_table,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-order-details table.shop_table.order_details {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin-bottom: 0 !important;
}
body.srs-account-dark:not(.srs-account-dash) form.woocommerce-EditAccountForm.edit-account {
	padding: 24px;
}

/* ---------- text ---------- */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content p,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content li,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content label,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content address,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content legend,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content small,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content span,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content strong,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content mark {
	color: var(--srs-text);
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content h1,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content h2,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content h3,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content h4,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content h5,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content h6 {
	color: #fff !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button) {
	color: var(--srs-green);
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button):hover {
	color: #fff;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content mark,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content mark.order-status {
	background: transparent;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .required {
	color: #ff6b78;
}

/* ---------- tables (orders, subscriptions, order and subscription details) ---------- */
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.my_account_orders,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-table,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-orders-table {
	color: var(--srs-text);
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-table th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-table td {
	background: transparent !important;
	border-color: var(--srs-line) !important;
	color: var(--srs-text) !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table thead th {
	background: rgba(255, 255, 255, .05) !important;
	color: var(--srs-muted) !important;
	font-size: .85em;
	text-transform: uppercase;
	letter-spacing: .04em;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table tbody tr:hover td {
	background: rgba(255, 255, 255, .03) !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table tfoot th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table tfoot td {
	font-weight: 600;
}

/* mobile stacked tables (WooCommerce adds light zebra striping) */
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table_responsive tr:nth-child(2n) td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
	background: transparent !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table_responsive tr td::before,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-page table.shop_table_responsive tr td::before {
	color: var(--srs-muted);
}

/* ---------- order / subscription details, addresses, order notes ---------- */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-order-details,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-customer-details,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-Addresses .woocommerce-Address,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-columns--addresses .woocommerce-column {
	background: transparent;
	color: var(--srs-text);
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-customer-details address {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-Address address {
	background: rgba(255, 255, 255, .04);
	border: 1px solid var(--srs-line);
	border-radius: 5px;
	padding: 14px 16px;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-OrderUpdates .woocommerce-OrderUpdate-inner,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-OrderUpdates .comment_container {
	background: rgba(255, 255, 255, .04);
	border: 1px solid var(--srs-line);
	border-radius: 5px;
}

/* ---------- forms (edit account, addresses, change payment method) ---------- */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content input[type="text"],
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content input[type="email"],
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content input[type="password"],
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content input[type="tel"],
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content input[type="number"],
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content input[type="search"],
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content textarea,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content select,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .select2-container .select2-selection {
	background: rgba(24, 24, 30, 0.88) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 9px !important;
	color: var(--text-primary, #fff) !important;
	font-size: 0.85rem;
	padding: 0.55rem 0.85rem !important;
	width: 100%;
	box-sizing: border-box;
}
/* password fields: leave room on the right for the show / hide eye button */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .password-input input {
	padding-right: 2.6rem !important;
}

/* The theme (style.css) sets border: unset !important on
 *   body.woocommerce-account.woocommerce-page .woocommerce form .form-row input.input-text
 * Same selector plus .srs-account-dark and :not(.srs-account-dash) = higher specificity, so this wins (both are !important). */
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce form .form-row input.input-text,
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce form .form-row textarea.input-text,
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce form .form-row select,
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce form .form-row .select2-container .select2-selection {
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 9px !important;
	background: rgba(24, 24, 30, 0.88) !important;
	color: var(--text-primary, #fff) !important;
}
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce form .form-row input.input-text:focus,
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce form .form-row textarea.input-text:focus,
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce form .form-row select:focus {
	border-color: var(--srs-green) !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content input:focus,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content textarea:focus,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content select:focus {
	outline: none;
	border-color: var(--srs-green) !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content ::placeholder {
	color: rgba(255, 255, 255, .45) !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content select option {
	background: #14141a;
	color: #fff;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .select2-selection__rendered {
	color: #fff !important;
}
body.srs-account-dark:not(.srs-account-dash) .select2-dropdown {
	background: #14141a;
	border-color: var(--srs-line);
	color: #fff;
}
body.srs-account-dark:not(.srs-account-dash) .select2-results__option {
	color: #fff;
}
body.srs-account-dark:not(.srs-account-dash) .select2-results__option--highlighted {
	background: var(--srs-red) !important;
}
body.srs-account-dark:not(.srs-account-dash) .select2-search--dropdown .select2-search__field {
	background: var(--srs-field);
	color: #fff;
	border-color: var(--srs-line);
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #1a1a20 inset !important;
	-webkit-text-fill-color: #fff !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content fieldset {
	border: 0 !important;
	padding: 0 !important;
	background: transparent;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-password-strength {
	color: #111;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content em,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .description {
	color: var(--srs-muted);
}

/* payment gateway panels (card fields from Stripe / PayPal are iframes and stay light inside their own box) */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content #payment,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content #payment .payment_box {
	background: rgba(255, 255, 255, .05) !important;
	color: var(--srs-text) !important;
	border-radius: 5px;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content #payment .payment_box::before {
	display: none;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content #payment ul.payment_methods {
	border-bottom: 1px solid var(--srs-line);
}

/* ---------- buttons: every button on the dark account pages uses the "Open Telemetry" glass style ---------- */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .button,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content a.button,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content button.button,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-button,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-Button,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content button:not(.show-password-input):not(.select2-selection__clear):not(.srs-dd-btn),
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content input[type="submit"],
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content input[type="button"],
body.srs-account-dark:not(.srs-account-dash) .woocommerce-pagination .button {
	display: inline-flex !important;
	justify-content: center;
	align-items: center;
	gap: .4rem;
	padding: .6rem 1.2rem !important;
	color: var(--text-secondary, #B4B4BC) !important;
	background: #ffffff0a !important;
	border: 1px solid #0000 !important;
	border-radius: 0px !important;
	transition: .3s;
	box-shadow: none !important;
	text-decoration: none !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .button:hover,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content a.button:hover,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content button.button:hover,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-button:hover,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-Button:hover,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content button:not(.show-password-input):not(.select2-selection__clear):not(.srs-dd-btn):hover,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content input[type="submit"]:hover,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content input[type="button"]:hover,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-pagination .button:hover {
	background: var(--srs-red) !important;
	color: #fff !important;
	border-color: var(--srs-red) !important;
}

/* right arrow after the button text (drawn with CSS, takes the button text colour). Real <input type="submit"> elements cannot show it. */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .button::after,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content a.button::after,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content button.button::after,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-button::after,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-Button::after,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content button:not(.show-password-input):not(.select2-selection__clear):not(.srs-dd-btn)::after,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-pagination .button::after {
	content: "" !important;
	display: inline-block !important;
	width: 16px;
	height: 16px;
	flex: none;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%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 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* the "This will be how your name will be displayed..." hint under Display name */
body.srs-account-dark:not(.srs-account-dash) #account_display_name_description {
	display: none !important;
}

/* ---------- show / hide password eye (the theme and WooCommerce draw it in dark grey on a box) ---------- */
body.srs-account-dark:not(.srs-account-dash) .woocommerce form .show-password-input {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	min-height: 0 !important;
	width: auto !important;
	height: auto !important;
	line-height: 1 !important;
	cursor: pointer;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce form .show-password-input::before {
	background-color: transparent !important;
	filter: invert(1);
	opacity: .7;
	transition: opacity .2s;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce form .show-password-input:hover::before {
	opacity: 1;
}

/* ---------- Subscriptions list: one glass row per subscription (the table itself has no box) ---------- */
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.my_account_orders.woocommerce-MyAccount-subscriptions {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 8px !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions thead th {
	background: transparent !important;
	border: 0 !important;
	padding: 4px 14px !important;
	color: var(--srs-muted) !important;
	font-size: .75rem;
}
/* nth-child variants: the earlier zebra-stripe reset (even rows transparent) must not win, every row is identical */
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody tr:nth-child(odd) td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody tr:nth-child(even) td {
	background: var(--srs-glass) !important;
	border-top: 1px solid rgba(255, 255, 255, .09) !important;
	border-bottom: 1px solid rgba(0, 0, 0, .15) !important;
	border-left: 0 !important;
	border-right: 0 !important;
	padding: 8px 14px !important;
	vertical-align: middle;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody td:first-child {
	border-left: 1px solid rgba(0, 0, 0, 0) !important;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody td:last-child {
	border-right: 1px solid rgba(25, 25, 30, 1) !important;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody tr:hover td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody tr:nth-child(odd):hover td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody tr:nth-child(even):hover td {
	background: rgba(255, 255, 255, .06) !important;
}
/* View button: small vertical padding so the rows stay short */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content table.woocommerce-MyAccount-subscriptions .woocommerce-orders-table__cell-subscription-actions .button {
	padding: .25rem 1rem !important;
}
/* phones: WooCommerce stacks each row, so the row itself becomes the glass box */
@media (max-width: 768px) {
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody tr {
		display: block;
		background: var(--srs-glass);
		border-top: 1px solid rgba(255, 255, 255, .09);
		border-bottom: 1px solid rgba(0, 0, 0, .15);
		border-left: 1px solid rgba(0, 0, 0, 0);
		border-right: 1px solid rgba(25, 25, 30, 1);
		border-radius: 5px;
		margin-bottom: 8px;
	}
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody td,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody tr:nth-child(odd) td,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody tr:nth-child(even) td,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody tr:hover td,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody tr:nth-child(odd):hover td,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody tr:nth-child(even):hover td {
		background: transparent !important;
		border: 0 !important;
		border-radius: 0 !important;
	}
	/* tighter spacing between the lines inside each stacked row */
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody tr {
		padding: 6px 0 8px;
	}
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody td {
		padding: 3px 14px !important;
		min-height: 0 !important;
		line-height: 1.35 !important;
	}
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-MyAccount-subscriptions tbody td.woocommerce-orders-table__cell-subscription-actions {
		padding: 6px 14px 2px !important;
		text-align: left !important;
	}
}

/* ---------- View Subscription / View Order tables: clean, consistent boxes ----------
 * Applies to: subscription details, product/totals table, related orders. The box is the table itself; spacing
 * lives in the cells (the theme sets padding:unset on some of them, which caused the misalignment). */
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.subscription_details,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table#woocommerce-subscriptions-related-orders-table {
	padding: 0 !important;
	width: 100%;
	margin: 0 0 16px !important;
	table-layout: auto;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.subscription_details thead,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.subscription_details tbody,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.subscription_details tfoot,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.subscription_details tr,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details thead,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details tbody,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details tfoot,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details tr,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table#woocommerce-subscriptions-related-orders-table thead,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table#woocommerce-subscriptions-related-orders-table tbody,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table#woocommerce-subscriptions-related-orders-table tfoot,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table#woocommerce-subscriptions-related-orders-table tr {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.subscription_details th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.subscription_details td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table#woocommerce-subscriptions-related-orders-table th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table#woocommerce-subscriptions-related-orders-table td {
	padding: 10px 16px !important;
	background: transparent !important;
	border: 0 !important;
	border-top: 1px solid rgba(255, 255, 255, .08) !important;
	text-align: left;
	vertical-align: middle;
	line-height: 1.4;
}
/* header rows: plain muted labels with one line underneath (no grey band) */
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.subscription_details thead th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details thead th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table#woocommerce-subscriptions-related-orders-table thead th {
	background: transparent !important;
	border-top: 0 !important;
	border-bottom: 1px solid var(--srs-line) !important;
	color: var(--srs-muted) !important;
	font-size: .75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
}
/* the first body row has no line above it (the header, or the box edge, is already there) */
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.subscription_details tbody tr:first-child th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.subscription_details tbody tr:first-child td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details tbody tr:first-child th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details tbody tr:first-child td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table#woocommerce-subscriptions-related-orders-table tbody tr:first-child th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table#woocommerce-subscriptions-related-orders-table tbody tr:first-child td {
	border-top: 0 !important;
}
/* last column right aligned (values, totals, View button) */
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.subscription_details td:last-child,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details th:last-child,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details td:last-child,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table#woocommerce-subscriptions-related-orders-table th:last-child,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table#woocommerce-subscriptions-related-orders-table td:last-child {
	text-align: right;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details tfoot th {
	font-weight: 600;
}
/* a table inside an Order details box (View Order): the box already has padding, so no extra side padding */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-order-details table.shop_table th:first-child,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-order-details table.shop_table td:first-child {
	padding-left: 0 !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-order-details table.shop_table th:last-child,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-order-details table.shop_table td:last-child {
	padding-right: 0 !important;
}
/* product name cell: the theme removes its left padding */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-view-subscription .woocommerce table.shop_table.order_details .product-name {
	padding-left: 16px !important;
}
/* related-orders View button: same small height as the subscriptions list */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content table#woocommerce-subscriptions-related-orders-table .button {
	padding: .25rem 1rem !important;
}

/* ---------- Orders list: one glass row per order (same as the Subscriptions list) ---------- */
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.my_account_orders.account-orders-table {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 8px !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table thead th {
	background: transparent !important;
	border: 0 !important;
	padding: 4px 14px !important;
	color: var(--srs-muted) !important;
	font-size: .75rem;
}
/* no "Actions" label in the heading row (the View buttons speak for themselves) */
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table thead th.woocommerce-orders-table__header-order-actions .nobr,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table thead th.woocommerce-orders-table__header-order-actions {
	font-size: 0 !important;
	color: transparent !important;
}
/* every row identical: odd, even and plain variants so no zebra-stripe rule can win */
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(odd) th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(odd) td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(even) th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(even) td {
	background: var(--srs-glass) !important;
	border-top: 1px solid rgba(255, 255, 255, .09) !important;
	border-bottom: 1px solid rgba(0, 0, 0, .15) !important;
	border-left: 0 !important;
	border-right: 0 !important;
	padding: 8px 14px !important;
	vertical-align: middle;
	text-transform: none;
	font-weight: 400;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr > :first-child {
	border-left: 1px solid rgba(0, 0, 0, 0) !important;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr > :last-child {
	border-right: 1px solid rgba(25, 25, 30, 1) !important;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:hover th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:hover td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(odd):hover th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(odd):hover td,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(even):hover th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(even):hover td {
	background: rgba(255, 255, 255, .06) !important;
}
/* View button: small vertical padding so the rows stay short */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content table.account-orders-table .woocommerce-orders-table__cell-order-actions .button {
	padding: .25rem 1rem !important;
}
/* phones: WooCommerce stacks each row, so the row itself becomes the glass box with tight spacing */
@media (max-width: 768px) {
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr {
		display: block;
		background: var(--srs-glass);
		border-top: 1px solid rgba(255, 255, 255, .09);
		border-bottom: 1px solid rgba(0, 0, 0, .15);
		border-left: 1px solid rgba(0, 0, 0, 0);
		border-right: 1px solid rgba(25, 25, 30, 1);
		border-radius: 5px;
		margin-bottom: 8px;
		padding: 6px 0 8px;
	}
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody th,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody td,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(odd) th,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(odd) td,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(even) th,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(even) td,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:hover th,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:hover td,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(odd):hover th,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(odd):hover td,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(even):hover th,
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody tr:nth-child(even):hover td {
		background: transparent !important;
		border: 0 !important;
		border-radius: 0 !important;
		padding: 3px 14px !important;
		min-height: 0 !important;
		line-height: 1.35 !important;
	}
	body.srs-account-dark:not(.srs-account-dash) .woocommerce table.account-orders-table tbody td.woocommerce-orders-table__cell-order-actions {
		padding: 6px 14px 2px !important;
		text-align: left !important;
	}
}

/* ---------- View Order: the buttons inside the "Order Completed" box use the glass button style ---------- */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-order-overview.woocommerce-thankyou-order-details {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-order-overview.woocommerce-thankyou-order-details br {
	display: none;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-order-overview.woocommerce-thankyou-order-details h3,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-order-overview.woocommerce-thankyou-order-details p {
	margin: 0 !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-order-overview strong.srs-order-btn {
	position: relative;
	display: inline-flex !important;
	justify-content: center;
	align-items: center;
	gap: .4rem;
	padding: .6rem 1.2rem !important;
	margin: 0 !important;
	color: var(--text-secondary, #B4B4BC) !important;
	background: #ffffff0a !important;
	border: 1px solid #0000 !important;
	border-radius: 0px !important;
	font-weight: 400 !important;
	transition: .3s;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-order-overview strong.srs-order-btn:hover {
	background: var(--srs-red) !important;
	color: #fff !important;
	border-color: var(--srs-red) !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-order-overview strong.srs-order-btn a,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-order-overview strong.srs-order-btn i {
	color: inherit !important;
	text-decoration: none !important;
}
/* no download icon in these buttons, only the right arrow */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-order-overview strong.srs-order-btn i {
	display: none !important;
}
/* the whole button is clickable, not just the text */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-order-overview strong.srs-order-btn a::before {
	content: "";
	position: absolute;
	inset: 0;
}
/* right arrow after the text, same as the other buttons */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-order-overview strong.srs-order-btn::after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	flex: none;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%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 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Downloads page (/account/downloads/) ---------- */
/* "Your plan" strip: same look as the Account Overview page (markup in myaccount/downloads.php, dark theme only) */
body.srs-account-dark .srs-dl-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	background: var(--srs-glass);
	border-top: 1px solid rgba(255, 255, 255, .09);
	border-bottom: 1px solid rgba(0, 0, 0, .15);
	border-left: 1px solid rgba(0, 0, 0, 0);
	border-right: 1px solid rgba(25, 25, 30, 1);
	border-radius: 5px;
	padding: 16px 20px;
	margin-bottom: 15px;
}
body.srs-account-dark .srs-dl-strip .s-plan {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}
body.srs-account-dark .srs-dl-strip .srs-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #8c8c96;
}
body.srs-account-dark .srs-dl-strip .p-name {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}
body.srs-account-dark .srs-dl-strip .s-pillrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
}
body.srs-account-dark .srs-dl-strip .srs-pill {
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 3px;
	background: #1c3317;
	color: #8fd578;
}
body.srs-account-dark .srs-dl-strip .srs-pill.amber {
	background: #3a2a10;
	color: #ffb547;
}
body.srs-account-dark .srs-dl-strip a.manage {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: #b4b4bc;
	text-decoration: none;
}
body.srs-account-dark .srs-dl-strip a.manage:hover {
	color: #fff;
}
body.srs-account-dark .srs-dl-strip a.manage::after {
	content: "";
	width: 16px;
	height: 16px;
	flex: none;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%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 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
}
body.srs-account-dark .srs-dl-strip .s-dl {
	flex: 0 1 320px;
	min-width: 220px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
body.srs-account-dark .srs-dl-strip .num {
	font-size: 20px;
	font-weight: 800;
	color: #fff;
}
body.srs-account-dark .srs-dl-strip .num small {
	font-size: 16px;
	font-weight: 500;
	color: #8c8c96;
}
body.srs-account-dark .srs-dl-strip .srs-bar {
	height: 6px;
	border-radius: 3px;
	background: #2a2a31;
	overflow: hidden;
}
body.srs-account-dark .srs-dl-strip .srs-bar > div {
	height: 6px;
	background: #7ccb6a;
}
body.srs-account-dark .srs-dl-strip .srs-bar > div.warn {
	background: #ffb547;
}
body.srs-account-dark .srs-dl-strip .srs-note {
	font-size: 12px;
	color: #8c8c96;
}

/* Exact text styles for the strip. The general "text colour" rule for the content area would otherwise win on
 * colour, so these use the same prefix plus !important. */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .srs-dl-strip .srs-label {
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: .06em !important;
	text-transform: uppercase !important;
	color: #8C8C96 !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .srs-dl-strip .srs-pill {
	align-self: flex-start;
	font-size: 12px !important;
	font-weight: 600 !important;
	padding: 4px 10px !important;
	border-radius: 3px !important;
	background: #1C3317 !important;
	color: #8fd578 !important;
	margin: 0 !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .srs-dl-strip .srs-pill.amber {
	background: #3A2A10 !important;
	color: #FFB547 !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .srs-dl-strip .srs-note {
	font-size: 12px !important;
	color: #8C8C96 !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .srs-dl-strip a.manage {
	font-size: 13px !important;
	color: #B4B4BC !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .srs-dl-strip a.manage:hover {
	color: #fff !important;
}

/* Filter section: glass container instead of solid black */
body.srs-account-dark:not(.srs-account-dash) .alm-filters.alm-filters-container.downloads-filters.download-filter-form {
	/* the wrapper itself has no box any more: the game tiles and the sub-filter bar are the glass boxes */
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

/* Setup cards: the table container has no box; each card (tr) is the glass box */
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.woocommerce-table--order-downloads.vertical-styling {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-table--order-downloads.vertical-styling tr:not(.filling-empty-space-childs) {
	background: var(--srs-glass) !important;
	/* !important: the details-table rule "tr { border: 0 !important }" also matches these rows and was removing the borders */
	border-top: 1px solid rgba(255, 255, 255, .09) !important;
	border-bottom: 1px solid rgba(0, 0, 0, .15) !important;
	border-left: 1px solid rgba(0, 0, 0, 0) !important;
	border-right: 1px solid rgba(25, 25, 30, 1) !important;
	border-radius: 5px;
	box-sizing: border-box;
}

/* ---------- Dropdowns (select2 and plain selects): compact padding, square corners ----------
 * The visible dropdown is the .select2-selection box. Beats the general input style (padding 2rem on the left,
 * 9px radius) with the stronger prefix; the .form-row copies beat the account form rule. */
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content select,
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .select2-container .select2-selection,
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce form .form-row select,
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce form .form-row .select2-container .select2-selection {
	padding: 0.45rem 0.45rem 0.45rem 0.85rem !important;
	border-radius: 9px !important;
	height: auto !important;
	min-height: 0 !important;
}
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .select2-container .select2-selection__rendered {
	padding-left: 0 !important;
	padding-right: 1.4rem !important;
	line-height: 1.4 !important;
}
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .select2-container .select2-selection__arrow {
	height: 100% !important;
	top: 0 !important;
}

/* ---------- Downloads page: game logo tiles, sub-filter bar, search box, custom dropdowns ---------- */
/* the original text buttons stay in the page (the hidden "All Setups" one is the reset) but are not shown */
body.srs-account-dark:not(.srs-account-dash) .download-filter-form > .game-filter-buttons-container:not(.sub-filters) {
	display: none !important;
}
body.srs-account-dark:not(.srs-account-dash) .srs-game-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin: 12px 0;
	width: 100%;
	flex: 0 0 100%;
}
/* the theme makes the filter form a flex row: stack its parts full width (tabs, tile row, sub-filter bar) */
body.srs-account-dark:not(.srs-account-dash) .alm-filters.alm-filters-container.downloads-filters.download-filter-form {
	display: block !important;
	width: 100%;
}
body.srs-account-dark:not(.srs-account-dash) .srs-game-tiles a.srs-game-tile.dashboard-game-select-button {
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 14px 18px !important;
	background: var(--srs-glass) !important;
	border-top: 1px solid rgba(255, 255, 255, .09) !important;
	border-bottom: 1px solid rgba(0, 0, 0, .15) !important;
	border-left: 1px solid rgba(0, 0, 0, 0) !important;
	border-right: 1px solid rgba(25, 25, 30, 1) !important;
	border-radius: 5px !important;
	cursor: pointer;
	text-decoration: none !important;
	/* default look (no game chosen): plain glass tiles, full colour logos, no highlight */
	opacity: 1;
	transition: opacity .25s, border-color .25s;
}
body.srs-account-dark:not(.srs-account-dash) .srs-game-tiles a.srs-game-tile img {
	height: 26px;
	width: auto;
	max-width: 110px;
	object-fit: contain;
	object-position: left center;
	filter: none;
	transition: filter .25s;
}
/* a game has been clicked: that tile gets the green border ... */
body.srs-account-dark:not(.srs-account-dash) .srs-game-tiles a.srs-game-tile.dashboard-game-select-button.active {
	border: 1px solid #8fd578 !important;
	background: var(--srs-glass) !important;
	color: #fff !important;
}
/* ... and the other tiles dim (only while a game is chosen, i.e. the hidden "All Setups" is not active) */
body.srs-account-dark:not(.srs-account-dash) .download-filter-form:not(:has(.game-filter-btn[data-game=""].active)) .srs-game-tiles a.srs-game-tile.dashboard-game-select-button:not(.active) {
	opacity: .5;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form:not(:has(.game-filter-btn[data-game=""].active)) .srs-game-tiles a.srs-game-tile:not(.active) img {
	filter: grayscale(1);
}
body.srs-account-dark:not(.srs-account-dash) .srs-game-tiles a.srs-game-tile.dashboard-game-select-button:hover {
	opacity: 1;
}
body.srs-account-dark:not(.srs-account-dash) .srs-game-tiles a.srs-game-tile:hover img {
	filter: none;
}

/* Membership / Owned tabs: same selected and unselected look */
body.srs-account-dark:not(.srs-account-dash) .custom-breadcrumbs-individual-setups.dashboard-game-select-container a.dashboard-game-select-button {
	background: var(--srs-glass) !important;
	border: 1px solid rgba(255, 255, 255, .09) !important;
	border-radius: 5px !important;
	color: var(--srs-muted) !important;
	font-size: 13px;
	font-weight: 600;
	padding: .45rem .9rem !important;
	width: auto !important;
	max-width: none !important;
	opacity: .6;
	text-decoration: none !important;
}
body.srs-account-dark:not(.srs-account-dash) .custom-breadcrumbs-individual-setups.dashboard-game-select-container a.dashboard-game-select-button.active,
body.srs-account-dark:not(.srs-account-dash) .custom-breadcrumbs-individual-setups.dashboard-game-select-container a.dashboard-game-select-button:hover {
	opacity: 1;
	border-color: #8fd578 !important;
	color: #fff !important;
}

/* Sub-filter bar (series, car, week, sort, search): one glass bar under the tiles */
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .game-filter-buttons-container.sub-filters {
	background: var(--srs-glass);
	border-top: 1px solid rgba(255, 255, 255, .09);
	border-bottom: 1px solid rgba(0, 0, 0, .15);
	border-left: 1px solid rgba(0, 0, 0, 0);
	border-right: 1px solid rgba(25, 25, 30, 1);
	border-radius: 5px;
	padding: 12px 14px;
	margin: 0 0 15px;
	gap: 10px;
	align-items: center;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .filter-container,
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .sort-filter-container {
	margin: 0 !important;
}

/* the bar sits full width under the tile row; filters on the left, search on the right */
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .game-filter-buttons-container.sub-filters {
	display: flex !important;
	flex-wrap: wrap !important;
	width: 100% !important;
	flex: 0 0 100% !important;
	justify-content: flex-start;
	box-sizing: border-box;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .filter-container {
	flex: 0 1 190px;
	width: auto !important;
	min-width: 160px;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .sort-filter-container {
	flex: 0 1 190px;
	width: auto !important;
	min-width: 160px;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .search-filter-combo {
	flex: 1 1 220px;
	max-width: 340px;
	margin-left: auto;
	min-width: 160px;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .select2-container {
	width: 100% !important;
}

/* Membership / Owned tabs are gone: "Download Purchased setup bundles" now sits at the left of the filter bar */
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .custom-breadcrumbs-individual-setups.dashboard-game-select-container {
	display: none !important;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters a.srs-bundles-btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: .4rem;
	padding: .6rem 1.2rem;
	color: var(--text-secondary, #B4B4BC);
	background: #ffffff0a;
	border: 1px solid #0000;
	border-radius: 0px;
	transition: .3s;
	text-decoration: none;
	font-size: 13px;
	white-space: nowrap;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters a.srs-bundles-btn:hover {
	background: var(--srs-red);
	color: #fff;
	border-color: var(--srs-red);
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters a.srs-bundles-btn::after {
	content: "";
	width: 16px;
	height: 16px;
	flex: none;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%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 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* "Download Purchased setup bundles": green */
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters a.srs-bundles-btn {
	color: #8fd578;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters a.srs-bundles-btn:hover {
	background: var(--srs-red);
	color: #fff;
	border-color: var(--srs-red);
}
/* sort and search are pushed to the right edge of the bar */
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .sort-filter-container {
	margin-left: auto !important;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .search-filter-combo {
	margin-left: 0 !important;
	flex: 0 1 190px;
}

/* Custom dropdowns drawn by the page script (the real <select> stays underneath, invisible) */
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .filter-container,
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .sort-filter-container {
	position: relative;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters select.srs-dd-native {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
	width: 1px !important;
	height: 1px !important;
	min-width: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	left: 0;
	top: 0;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .srs-dd ~ .select2-container,
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters select.srs-dd-native + .select2-container {
	display: none !important;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd {
	position: relative;
	width: 100%;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-btn {
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	gap: .5rem;
	width: 100%;
	text-align: left;
	padding: 0.45rem 2rem 0.45rem 0.85rem !important;
	background: rgba(24, 24, 30, 0.88) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 9px !important;
	color: var(--text-primary, #fff) !important;
	font-size: .85rem !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	cursor: pointer;
	position: relative;
	box-shadow: none !important;
	transition: border-color .2s;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-btn:hover,
body.srs-account-dark:not(.srs-account-dash) .srs-dd.open .srs-dd-btn {
	border-color: var(--srs-green) !important;
	background: rgba(24, 24, 30, 0.88) !important;
	color: #fff !important;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-btn::after {
	content: "";
	position: absolute;
	right: .75rem;
	top: 50%;
	width: 12px;
	height: 12px;
	background-color: var(--srs-muted);
	transform: translateY(-50%);
	transition: transform .2s;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%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 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd.open .srs-dd-btn::after {
	transform: translateY(-50%) rotate(180deg);
}
/* every click on the label, icon or arrow lands on the button itself: the whole field opens the list */
body.srs-account-dark:not(.srs-account-dash) .srs-dd-btn > * {
	pointer-events: none;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-btn > i {
	flex: none;
	font-size: .8rem;
	color: var(--srs-muted);
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-ico {
	font-family: "Font Awesome 6 Sharp", "Font Awesome 6 Pro", sans-serif;
	font-weight: 400;
	flex: none;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-txt {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-list {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	z-index: 60;
	min-width: 100%;
	max-width: 340px;
	max-height: 280px;
	overflow-y: auto;
	margin: 0 !important;
	padding: 4px !important;
	list-style: none !important;
	background: rgba(24, 24, 30, 0.98);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 9px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
}
/* custom slim scrollbar for the dropdown list */
body.srs-account-dark:not(.srs-account-dash) .srs-dd-list {
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, .28) transparent;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-list::-webkit-scrollbar {
	width: 8px;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-list::-webkit-scrollbar-track {
	background: transparent;
	margin: 6px 0;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-list::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, .22);
	border-radius: 8px;
	border: 2px solid transparent;
	background-clip: padding-box;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-list::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, .4);
	background-clip: padding-box;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-list[hidden] {
	display: none !important;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-list li {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 0 !important;
	padding: .5rem .75rem !important;
	font-size: .85rem;
	color: #e6e8ec;
	border-radius: 6px;
	cursor: pointer;
	white-space: nowrap;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-list li:hover {
	background: var(--srs-red);
	color: #fff;
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-list li.sel {
	background: rgba(255, 255, 255, .08);
	color: var(--srs-green);
}
body.srs-account-dark:not(.srs-account-dash) .srs-dd-list li.sel:hover {
	background: var(--srs-red);
	color: #fff;
}

/* Search box: same style as the select boxes */
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .search-filter-combo .woocommerce-search input,
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content #searchBox {
	background: rgba(24, 24, 30, 0.88) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 9px !important;
	color: var(--text-primary, #fff) !important;
	font-size: .85rem;
	padding: 0.45rem 0.45rem 0.45rem 0.85rem !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	box-sizing: border-box;
	margin: 0 !important;
}

/* Custom dropdowns (select2): arrow, open panel and options replace the browser default look */
body.srs-account-dark:not(.srs-account-dash) .select2-selection--single .select2-selection__arrow b {
	display: none !important;
}
body.srs-account-dark:not(.srs-account-dash) .select2-selection--single .select2-selection__arrow {
	width: 28px;
}
body.srs-account-dark:not(.srs-account-dash) .select2-selection--single .select2-selection__arrow::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 10px;
	width: 12px;
	height: 12px;
	background-color: var(--srs-muted);
	transform: translateY(-50%);
	transition: transform .2s;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%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 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
}
body.srs-account-dark:not(.srs-account-dash) .select2-container--open .select2-selection--single .select2-selection__arrow::after {
	transform: translateY(-50%) rotate(180deg);
}
body.srs-account-dark:not(.srs-account-dash) .select2-container--open .select2-dropdown {
	background: rgba(24, 24, 30, 0.98) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 9px !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
	overflow: hidden;
	margin: 4px 0;
}
body.srs-account-dark:not(.srs-account-dash) .select2-results__option {
	padding: .5rem .85rem !important;
	font-size: .85rem;
	color: #e6e8ec !important;
}
body.srs-account-dark:not(.srs-account-dash) .select2-results__option--highlighted,
body.srs-account-dark:not(.srs-account-dash) .select2-results__option--highlighted[aria-selected] {
	background: var(--srs-red) !important;
	color: #fff !important;
}
body.srs-account-dark:not(.srs-account-dash) .select2-results__option[aria-selected="true"]:not(.select2-results__option--highlighted) {
	background: rgba(255, 255, 255, .08) !important;
	color: var(--srs-green) !important;
}
body.srs-account-dark:not(.srs-account-dash) .select2-results__options {
	max-height: 280px;
}

/* Filter bar: everything is vertically centred on one line (the dropdown wrappers carried extra spacing that pushed them up) */
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .game-filter-buttons-container.sub-filters {
	align-items: center !important;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters > * {
	align-self: center;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .filter-container,
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .sort-filter-container,
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .search-filter-combo {
	display: flex;
	align-items: center;
	height: 40px;
	padding: 0 !important;
	line-height: 1;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .filter-container[style*="display: none"],
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .filter-container[style*="display:none"] {
	display: none !important;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .search-filter-combo .woocommerce-search {
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}
/* Filter bar: the bundles button, the dropdowns and the search box are all exactly the same height */
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters a.srs-bundles-btn {
	height: 40px;
	padding-top: 0;
	padding-bottom: 0;
	box-sizing: border-box;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-form .sub-filters .srs-dd-btn {
	height: 40px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	box-sizing: border-box !important;
}
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .search-filter-combo .woocommerce-search input,
body.woocommerce-account.woocommerce-page.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content #searchBox {
	height: 40px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	box-sizing: border-box !important;
}

/* ---------- Download cards (Downloads page) ---------- */
/* The cards are the rows of an "order_details" table, so the details-table cell rules (line on top, 10px 16px padding)
 * also hit them. Cancel those on the card cells. */
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details.vertical-styling th,
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.shop_table.order_details.vertical-styling td {
	padding: 0 !important;
	border: 0 !important;
	border-top: 0 !important;
	background: transparent !important;
}
/* hover: no lift, no inset shadow. The whole card gets a green border that fades in. */
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-table--order-downloads.vertical-styling tr:not(.filling-empty-space-childs) {
	transition: border-color .3s ease !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce table.woocommerce-table--order-downloads.vertical-styling tr:not(.filling-empty-space-childs):hover {
	transform: none !important;
	box-shadow: none !important;
	border-top: 1px solid #8fd578 !important;
	border-bottom: 1px solid #8fd578 !important;
	border-left: 1px solid #8fd578 !important;
	border-right: 1px solid #8fd578 !important;
}
/* Download Setup button */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .shop_table.vertical-styling .download-file a.button,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .shop_table.vertical-styling .download-file .download-link-locked {
	font-size: 13px !important;
}
/* tags (Week, season, version) */
body.srs-account-dark:not(.srs-account-dash) .woocommerce .shop_table.vertical-styling .custom-download-product .download-label {
	background: #1e1c25 !important;
	border-color: #1e1c25 !important;
}
/* muted text (was #53616f) */
body.srs-account-dark:not(.srs-account-dash) .woocommerce .shop_table.vertical-styling .download-info .series-name,
body.srs-account-dark:not(.srs-account-dash) .woocommerce .shop_table.vertical-styling .download-info .track-info .lap-name,
body.srs-account-dark:not(.srs-account-dash) .woocommerce .shop_table.vertical-styling .download-info .setups-included .setup-title {
	color: #8C8C96 !important;
}
/* file type chips (Race, Quali, .rpy ...): text colour only, their coloured borders stay */
body.srs-account-dark:not(.srs-account-dash) .woocommerce .shop_table.vertical-styling .download-info .setups-included .setup-type {
	color: #8C8C96 !important;
}
/* "How To Use Setups" link */
body.srs-account-dark:not(.srs-account-dash) .woocommerce .shop_table.vertical-styling .how-to-use a {
	opacity: 1 !important;
	color: #B4B4BC !important;
}
body.srs-account-dark:not(.srs-account-dash) .woocommerce .shop_table.vertical-styling .how-to-use a i {
	color: inherit !important;
}

/* ---------- Owned Setups page (/account/owned-setups/): same look as the Downloads page ----------
 * The page template wraps its content in .woocommerce-MyAccount-content.srs-owned-wrap (dark theme only) and the body carries
 * the account classes, so every Downloads rule above applies. Below: layout of that wrapper and the intro note. */
body.srs-account-dark .srs-owned-wrap {
	float: none !important;
	width: 100% !important;
}
body.srs-account-dark:not(.srs-account-dash) .alm-filters.alm-filters-container.downloads-filters.download-filter-owned-setups {
	background: var(--srs-glass) !important;
	border-top: 1px solid rgba(255, 255, 255, .09) !important;
	border-bottom: 1px solid rgba(0, 0, 0, .15) !important;
	border-left: 1px solid rgba(0, 0, 0, 0) !important;
	border-right: 1px solid rgba(25, 25, 30, 1) !important;
	border-radius: 5px !important;
	box-shadow: none !important;
	padding: 14px 18px !important;
	margin: 12px 0 !important;
}
body.srs-account-dark:not(.srs-account-dash) .download-filter-owned-setups p {
	margin: 0 auto !important;
	max-width: none;
	text-align: center !important;
	font-size: 13px;
	color: #8C8C96 !important;
}

/* ---------- Lost password page (/account/lost-password/): the whole form (title, text, field, button) is one glass box ---------- */
body.srs-account-dark form.woocommerce-ResetPassword {
	background: var(--srs-glass) !important;
	border-top: 1px solid rgba(255, 255, 255, .09) !important;
	border-bottom: 1px solid rgba(0, 0, 0, .15) !important;
	border-left: 1px solid rgba(0, 0, 0, 0) !important;
	border-right: 1px solid rgba(25, 25, 30, 1) !important;
	border-radius: 5px !important;
	box-shadow: none !important;
	box-sizing: border-box;
	width: 100%;
	max-width: 720px;
	margin: 40px auto 0 !important;
	padding: 32px 28px !important;
}
body.srs-account-dark form.woocommerce-ResetPassword,
body.srs-account-dark form.woocommerce-ResetPassword::before,
body.srs-account-dark form.woocommerce-ResetPassword p,
body.srs-account-dark form.woocommerce-ResetPassword label,
body.srs-account-dark form.woocommerce-ResetPassword span {
	color: #fff !important;
}
body.srs-account-dark form.woocommerce-ResetPassword .form-row {
	width: 100%;
}
body.srs-account-dark form.woocommerce-ResetPassword .required {
	color: var(--srs-red) !important;
}

/* Lost password button: the same glass button style as the other account pages */
body.srs-account-dark form.woocommerce-ResetPassword button,
body.srs-account-dark form.woocommerce-ResetPassword .button,
body.srs-account-dark form.woocommerce-ResetPassword input[type="submit"],
body.srs-account-dark form.woocommerce-ResetPassword .woocommerce-Button {
	display: inline-flex !important;
	justify-content: center;
	align-items: center;
	gap: .4rem;
	padding: .6rem 1.2rem !important;
	color: var(--text-secondary, #B4B4BC) !important;
	background: #ffffff0a !important;
	border: 1px solid #0000 !important;
	border-radius: 0px !important;
	transition: .3s;
	box-shadow: none !important;
	text-decoration: none !important;
}
body.srs-account-dark form.woocommerce-ResetPassword button:hover,
body.srs-account-dark form.woocommerce-ResetPassword .button:hover,
body.srs-account-dark form.woocommerce-ResetPassword input[type="submit"]:hover,
body.srs-account-dark form.woocommerce-ResetPassword .woocommerce-Button:hover {
	background: var(--srs-red) !important;
	color: #fff !important;
	border-color: var(--srs-red) !important;
}
body.srs-account-dark form.woocommerce-ResetPassword button::after,
body.srs-account-dark form.woocommerce-ResetPassword .button::after,
body.srs-account-dark form.woocommerce-ResetPassword .woocommerce-Button::after {
	content: "" !important;
	display: inline-block !important;
	width: 16px;
	height: 16px;
	flex: none;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%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 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
}


/* ---------- Login / register page (/account/, logged out) ----------
 * The body carries srs-account-login (logged-out visitors only). Login and Register are two glass boxes. */
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-login,
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-register {
	background: var(--srs-glass) !important;
	border-top: 1px solid rgba(255, 255, 255, .09) !important;
	border-bottom: 1px solid rgba(0, 0, 0, .15) !important;
	border-left: 1px solid rgba(0, 0, 0, 0) !important;
	border-right: 1px solid rgba(25, 25, 30, 1) !important;
	border-radius: 5px !important;
	box-shadow: none !important;
	box-sizing: border-box;
	padding: 28px !important;
	color: #fff;
}
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-login h3,
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-register h3,
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-login label,
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-register label,
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-login p,
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-register p,
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-login span,
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-register span {
	color: #fff;
}
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-register .required {
	color: var(--srs-red);
}
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-login a,
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-register a {
	color: var(--srs-muted);
	text-decoration: none;
	transition: color .2s;
}
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-login a:hover,
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-register a:hover {
	color: #fff;
}
/* fields: same dark field as the account forms */
body.woocommerce-account.srs-account-dark.srs-account-login .woocommerce form.woocommerce-form-login .form-row input.input-text,
body.woocommerce-account.srs-account-dark.srs-account-login .woocommerce form.woocommerce-form-register .form-row input.input-text {
	background: rgba(24, 24, 30, 0.88) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 9px !important;
	color: #fff !important;
	font-size: 0.85rem;
	padding: 0.55rem 0.85rem !important;
	width: 100%;
	box-sizing: border-box;
}
body.woocommerce-account.srs-account-dark.srs-account-login .woocommerce form.woocommerce-form-login .form-row .password-input input.input-text,
body.woocommerce-account.srs-account-dark.srs-account-login .woocommerce form.woocommerce-form-register .form-row .password-input input.input-text {
	padding-right: 2.6rem !important;
}
body.woocommerce-account.srs-account-dark.srs-account-login .woocommerce form .form-row input.input-text:focus {
	outline: none;
	border-color: var(--srs-green) !important;
}
body.woocommerce-account.srs-account-dark.srs-account-login .woocommerce form .form-row input.input-text::placeholder {
	color: rgba(255, 255, 255, .45) !important;
}
body.woocommerce-account.srs-account-dark.srs-account-login .woocommerce form .form-row input.input-text:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #1a1a20 inset !important;
	-webkit-text-fill-color: #fff !important;
}
/* Log in / Register buttons: the glass button style, full width */
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-login button.button,
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-register button.button {
	display: inline-flex !important;
	justify-content: center;
	align-items: center;
	gap: .4rem;
	width: 100%;
	padding: .6rem 1.2rem !important;
	color: var(--text-secondary, #B4B4BC) !important;
	background: #ffffff0a !important;
	border: 1px solid #0000 !important;
	border-radius: 0px !important;
	transition: .3s;
	box-shadow: none !important;
	text-decoration: none !important;
}
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-login button.button:hover,
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-register button.button:hover {
	background: var(--srs-red) !important;
	color: #fff !important;
	border-color: var(--srs-red) !important;
}
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-login button.button::after,
body.woocommerce-account.srs-account-dark.srs-account-login form.woocommerce-form-register button.button::after {
	content: "" !important;
	display: inline-block !important;
	width: 16px;
	height: 16px;
	flex: none;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%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 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Single-card login / register (?newlogin=1): one glass card, Login by default, Create an account swaps the form ---------- */
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card {
	display: block;
	max-width: 460px;
	margin: 40px auto 0 !important;
	padding: 32px 30px;
	background: var(--srs-glass);
	border-top: 1px solid rgba(255, 255, 255, .09);
	border-bottom: 1px solid rgba(0, 0, 0, .15);
	border-left: 1px solid rgba(0, 0, 0, 0);
	border-right: 1px solid rgba(25, 25, 30, 1);
	border-radius: 5px;
	box-sizing: border-box;
}
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card .u-column1,
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card .u-column2 {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card form.woocommerce-form-login,
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card form.woocommerce-form-register {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card form h3 {
	display: none;
}
/* only one form at a time */
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card:not(.is-register) .u-column2,
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card.is-register .u-column1 {
	display: none !important;
}
/* heading block */
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card .srs-login-head {
	text-align: center;
	margin-bottom: 24px;
}
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card .srs-login-logo {
	display: block;
	margin: 0 auto 14px;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card .srs-login-title {
	margin: 0 0 6px;
	font-size: 28px;
	font-weight: 700;
	color: #fff;
}
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card .srs-login-sub {
	margin: 0;
	font-size: 14px;
	color: var(--srs-muted);
}
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card:not(.is-register) .srs-login-head .for-register,
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card.is-register .srs-login-head .for-login {
	display: none;
}
/* small uppercase field labels */
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card form label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #8C8C96;
}
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card form .woocommerce-form__label-for-checkbox,
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card form .woocommerce-form__label-for-checkbox span,
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card form .woocommerce-privacy-policy-text,
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card form .woocommerce-form-login__rememberme {
	text-transform: none;
	letter-spacing: 0;
	font-size: 13px;
	font-weight: 400;
	color: var(--srs-muted);
}
/* "Create an account" / "Log in" line under the form */
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card .srs-login-switch {
	margin: 18px 0 0 !important;
	text-align: center;
	font-size: 13px;
	color: var(--srs-muted);
}
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card .srs-login-switch a {
	color: #fff;
	text-decoration: underline;
}
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card .srs-login-switch a:hover {
	color: var(--srs-green);
}

/* the fixed bottom advert is not shown on the login / register / lost password pages */
body.srs-account-dark.srs-account-login .ad-fixed-bottom {
	display: none !important;
}
/* blank / invalid register fields: red border (set by the script in myaccount/form-login.php) */
body.woocommerce-account.srs-account-dark.srs-account-login.srs-account-login-new .woocommerce form .form-row input.input-text.srs-invalid {
	border-color: var(--srs-red) !important;
	box-shadow: 0 0 0 1px var(--srs-red) !important;
}
body.woocommerce-account.srs-account-dark.srs-account-login form .woocommerce-form__input-checkbox.srs-invalid {
	outline: 2px solid var(--srs-red);
	outline-offset: 1px;
}
body.woocommerce-account.srs-account-dark.srs-account-login form ul.srs-login-error {
	margin: 0 0 16px !important;
}

/* notices (wrong password, registration errors) inside the card */
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card .woocommerce-notices-wrapper {
	margin: 0 0 18px;
}
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card .woocommerce-notices-wrapper:empty {
	display: none;
}
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card .woocommerce-notices-wrapper .woocommerce-error,
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-account.srs-account-dark.srs-account-login-new .srs-login-card .woocommerce-notices-wrapper .woocommerce-info {
	margin: 0 0 8px !important;
	width: 100%;
	box-sizing: border-box;
}

/* Password Reset Sent page (/account/lost-password/?reset-link-sent=true): heading and text in white */
body.srs-account-dark.srs-account-login .woocommerce > h1,
body.srs-account-dark.srs-account-login .woocommerce > h2,
body.srs-account-dark.srs-account-login .woocommerce > p {
	color: #fff !important;
}

/* Password Reset Sent: the notice, heading and text all sit inside one glass box */
body.srs-account-dark .srs-reset-sent {
	background: var(--srs-glass);
	border-top: 1px solid rgba(255, 255, 255, .09);
	border-bottom: 1px solid rgba(0, 0, 0, .15);
	border-left: 1px solid rgba(0, 0, 0, 0);
	border-right: 1px solid rgba(25, 25, 30, 1);
	border-radius: 5px;
	box-sizing: border-box;
	width: 100%;
	max-width: 720px;
	margin: 40px auto 0;
	padding: 28px;
}
body.srs-account-dark .srs-reset-sent .woocommerce-message,
body.srs-account-dark .srs-reset-sent .woocommerce-info {
	margin: 0 0 22px !important;
	width: 100%;
	box-sizing: border-box;
}
body.srs-account-dark .srs-reset-sent h1 {
	margin: 0 0 12px;
	text-align: center;
	font-size: 28px;
	color: #fff !important;
}
body.srs-account-dark .srs-reset-sent p {
	margin: 0 !important;
	max-width: none;
	text-align: center;
	color: #fff !important;
}

/* ---------- WooCommerce notices ---------- */
body.srs-account-dark .woocommerce-message,
body.srs-account-dark .woocommerce-info,
body.srs-account-dark .woocommerce-error {
	background: rgba(25, 25, 30, .85) !important;
	color: #fff !important;
	border: 1px solid var(--srs-line) !important;
	border-radius: 5px;
}
body.srs-account-dark .woocommerce-message a,
body.srs-account-dark .woocommerce-info a,
body.srs-account-dark .woocommerce-error a {
	color: var(--srs-green);
}

/* ---------- small screens ---------- */
@media (max-width: 600px) {
	body.srs-account-dark:not(.srs-account-dash) form.woocommerce-EditAccountForm.edit-account {
		padding: 16px !important;
	}
}

/* ---------- printing (invoices): back to plain black on white ---------- */
@media print {
	body.woocommerce-account.srs-account-dark {
		background: #fff !important;
	}
	body.srs-account-dark .woocommerce-MyAccount-content,
	body.srs-account-dark .woocommerce-MyAccount-content * {
		background: transparent !important;
		color: #000 !important;
		border-color: #999 !important;
	}
}

/* ---------- My Subscription page: Reactivate / Resubscribe buttons are green (same green as the other positive buttons) ---------- */
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-button.reactivate,
body.srs-account-dark:not(.srs-account-dash) .woocommerce-MyAccount-content .woocommerce-button.resubscribe,
body.srs-account-dark .woocommerce table.shop_table.subscription_details a.button.reactivate,
body.srs-account-dark .woocommerce table.shop_table.subscription_details a.button.resubscribe {
	background: #8fd578 !important;
	border-color: #8fd578 !important;
	color: #0b0b10 !important;
}
body.srs-account-dark .woocommerce table.shop_table.subscription_details a.button.reactivate:hover,
body.srs-account-dark .woocommerce table.shop_table.subscription_details a.button.resubscribe:hover {
	background: #a3e08d !important;
	border-color: #a3e08d !important;
	color: #0b0b10 !important;
}
