/* Trading Scanner — Figma-aligned UI (Space Grotesk + Inter, #7BFF82 accents) */

.ts-scanner-page {
	--ts-bg: #081011;
	--ts-panel: #081011;
	--ts-surface: #0b1618;
	--ts-surface-2: #121c1d;
	--ts-border: #121c1d;
	--ts-text: #ffffff;
	--ts-muted: #b3b7b7;
	--ts-muted-2: rgb(255 255 255 / 60%);
	--ts-placeholder: #5c6364;
	--ts-green: #7bff82;
	--ts-green-2: #95FF9B;
	--ts-green-trans: rgb(149 255 155 / 20%);
	--ts-green-soft: rgba(123, 255, 130, 0.12);
	--ts-red: #ff4d4f;
	--ts-radius: 16px;
	--ts-radius-sm: 8px;
	--ts-font: "Space Grotesk", sans-serif;
	--ts-font-body: Inter, sans-serif;
	color: var(--ts-text);
	font-family: var(--ts-font-body);
}
.white-text {
    color: var(--white) !important;
}
.count-num {
    margin-left: auto;
    width: 100%;
    max-width: 16px;
    aspect-ratio: 1/1;
    height: 100%;
    background: #FF1919;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
    font-family: 'Inter';
    color: var(--white);
    line-height: 1;
}
.ts-scanner-page *,
.ts-scanner-page *::before,
.ts-scanner-page *::after {
	box-sizing: border-box;
}

/* Hero: title + live badge + subtitle | stats card */
.ts-hero {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 20px;
}

.ts-hero__title-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 8px;
}

.ts-hero__title {
	margin: 0;
	font-family: var(--ts-font);
	font-size: 32px !important;
	font-weight: 500 !important;
	line-height: 1.2;
	color: var(--ts-text);
}

.ts-hero__subtitle {
	margin: 0;
	max-width: 480px;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
	color: var(--ts-text);
	opacity: 0.92;
}

.ts-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgb(255 0 0 / 20%);
    border: 1px solid #FF0000;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    font-family: var(--ts-font-body);
    line-height: 1;
}

.ts-live-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF0000;
}

/* Stats card */
.ts-stats-card {
	display: flex;
	align-items: stretch;
	gap: 0;
	min-width: 280px;
	background: var(--ts-bg);
	border-radius: var(--ts-radius);
	border: 1px solid var(--ts-border);
	flex: 1;
	max-width: 660px;
	flex-wrap: wrap;
}

.ts-stat {
	flex: 1;
	padding: 12px;
	text-align: center;
	/* border-right: 1px solid rgba(255, 255, 255, 0.06); */
}

/* .ts-stat:last-of-type {
	border-right: 0;
} */

.ts-stat__value {
	display: block;
	font-family: var(--ts-font);
	font-size: 48px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
	color: #fff;
}

.ts-stat__label {
	display: block;
	font-size: 14px;
	line-height: 1.3;
	color: var(--ts-muted);
	text-transform: uppercase;
}

.ts-refresh-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 88px;
	padding: 8px 16px;
	margin: 0 8px;
	border: 0;
	background: transparent;
	color: var(--ts-green);
	cursor: pointer;
	font-family: var(--ts-font-body);
	font-size: 14px;
	text-transform: lowercase;
	border-left: 1px solid #121C1D;
}
.ts-refresh-btn span {
	color: var(--ts-muted);
}

.ts-refresh-btn:hover {
	opacity: 0.85;
}

.ts-refresh-btn.is-loading .ts-refresh-icon {
	animation: ts-spin 0.8s linear infinite;
}

@keyframes ts-spin {
	to { transform: rotate(360deg); }
}

/* Main panel / table card */
.ts-panel {
	background: var(--ts-panel);
	border: 1px solid var(--ts-border);
	border-radius: var(--ts-radius);
	overflow: hidden;
}

.ts-panel__head {
	/* display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px; */
}

.ts-panel__title {
	/* margin: 0;
	margin-right: auto;
	font-family: var(--ts-font);
	font-size: 20px;
	font-weight: 500; */
}

.ts-notif-head {
	justify-content: space-between;
	flex-wrap: wrap;
	padding-bottom: 8px;
}

/* Filters */
.ts-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 12px;
}

.ts-filters__left {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.ts-filter-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 16px;
	border-radius: 999px;
	background: var(--ts-surface);
	border: 1px solid var(--ts-border);
	cursor: pointer;
	margin: 0;
}

.ts-filter-pill__label {
    font-size: 14px;
    color: var(--ts-muted-2);
    white-space: nowrap;
}

.ts-filter-pill select {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: transparent;
	color: var(--ts-green);
	font-size: 14px;
	font-weight: 500;
	font-family: var(--ts-font-body);
	padding-right: 16px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237BFF82' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right center;
	outline: none;
}

.ts-search {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 220px;
	height: 36px;
	padding: 0 12px;
	border-radius: var(--ts-radius-sm);
	background: var(--ts-surface);
	border: 1px solid var(--ts-border);
	color: var(--ts-placeholder);
	margin: 0;
}

.ts-search input {
	flex: 1;
	border: 0;
	background: transparent;
	color: var(--ts-text);
	font-size: 14px;
	font-family: var(--ts-font-body);
	outline: none;
	min-width: 0;
}

.ts-search input::placeholder {
	color: var(--ts-placeholder);
}

.ts-chip {
	border: 0;
	background: var(--ts-green-soft);
	color: var(--ts-green);
	border-radius: 999px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 14px;
}

/* Table */
.ts-table-scroll {
	overflow-x: auto;
	/* margin: 0 -4px;
	padding-bottom: 4px; */
}

.ts-table-scroll::-webkit-scrollbar {
	height: 6px;
}
.ts-table-scroll::-webkit-scrollbar-thumb {
	background: #2a3436;
	border-radius: 999px;
}

.ts-table {
	border-collapse: collapse;
	min-width: 1100px;
}

.ts-table th,
.ts-table td {
	/* padding: 12px 10px;
	text-align: left;
	vertical-align: middle;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	white-space: nowrap; */
}

.ts-table th {
	/* font-size: 12px !important;
	color: var(--ts-muted) !important;
	font-weight: 400;
	background: var(--ts-surface);
	padding-top: 14px;
	padding-bottom: 14px; */
}

.ts-table td, .ts-table th {
	/* font-size: 12px !important;
	background: transparent; */
}

.woocommerce-page .ts-table thead th:not(.white-text), .woocommerce-page .ts-table tbody td:not(.white-text) {
    color: var(--ts-muted);
}
.woocommerce-page .ts-table thead th, .woocommerce-page .ts-table tbody td {
    font-size: 12px !important;
}

.ts-table tbody tr:hover td {
	background: rgba(255, 255, 255, 0.02);
}

.ts-th-sort::after {
	content: "";
	display: inline-block;
	margin-left: 4px;
	border: 4px solid transparent;
	border-top-color: var(--ts-muted);
	transform: translateY(2px);
}

.mobile-block {
    display: none !important;
}
.mobile-block.ts-perf-pos {
    margin-left: 8px;
}

.ts-asset {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 150px;
}

.ts-asset img {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
	background: #20304a;
	flex-shrink: 0;
}

.ts-asset__text strong {
	display: block;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
}

.ts-asset__text span {
	display: block;
	color: var(--ts-muted-2);
	font-size: 12px;
	line-height: 1.3;
}
.ts-asset__text .singal-type {
    font-size: 8px;
    color: var(--ts-green);
}

.ts-signal-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 999px;
    border: 1px solid var(--ts-green);
    color: var(--ts-green);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: normal;
    background: var(--ts-green-trans);
}

.ts-tf-pill {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 6px;
    background: #121C1D;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    border: 1px solid #2E2E2E;
}

.ts-perf-pos {
	color: var(--ts-green) !important;
	font-weight: 500;
}

.ts-perf-neg {
	color: var(--ts-red) !important;
	font-weight: 500;
}

.ts-time-cell {
	line-height: 1.35;
	color: var(--white);
}
.ts-time-cell span {
	display: block;
	font-size: 8px;
	color: var(--ts-muted-2);
}

.ts-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(179, 183, 183, 0.35);
	color: var(--ts-muted);
	font-size: 12px;
}
.ts-status-pill::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ts-muted);
}

/* Buttons */
.ts-btn-track {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 100px;
	height: 36px;
	padding: 0 18px;
	border-radius: 60px;
	border: 1px solid var(--ts-green);
	background: var(--ts-green-trans);
	color: var(--ts-green);
	font-size: 14px;
	font-family: var(--ts-font-body);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.ts-btn-track:hover {
	background: var(--ts-green-soft);
}

.ts-btn-tracked {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 118px;
	height: 36px;
	padding: 0 16px;
	border-radius: 60px;
	border: 1px solid #2e2e2e;
	background: var(--ts-surface-2);
	color: #fff;
	font-size: 14px;
	cursor: pointer;
}
.ts-btn-tracked svg {
    fill: var(--ts-green-2);
	width: 16px;
	aspect-ratio: 1/1;
}

.ts-btn-untrack {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 100px;
	height: 36px;
	padding: 0 16px;
	border-radius: 60px;
	border: 1px solid rgba(255, 77, 79, 0.45);
	background: transparent;
	color: var(--ts-red);
	font-size: 14px;
	cursor: pointer;
}

.ts-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 28px;
    border-radius: 60px;
    border: 0;
    background: #fff;
    color: #252525;
    font-family: var(--ts-font);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0px 4px 0px 0px var(--text-gray-color);
}

.ts-btn-solid:hover {
	opacity: 0.9;
	color: #252525;
}

.ts-btn-solid .ts-btn__spinner,
.ts-btn-ghost .ts-btn__spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: ts-spin 0.8s linear infinite;
	flex-shrink: 0;
}

.ts-btn-solid.is-loading,
.ts-btn-ghost.is-loading {
	gap: 8px;
	pointer-events: none;
	opacity: 0.7;
}

.ts-btn-solid.is-loading .ts-btn__spinner,
.ts-btn-ghost.is-loading .ts-btn__spinner {
	display: inline-block;
}

.ts-btn-solid:disabled,
.ts-btn-ghost:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.ts-btn-solid.is-loading:disabled,
.ts-btn-ghost.is-loading:disabled {
	opacity: 0.75;
	cursor: wait;
}

.ts-btn-track:disabled,
.ts-btn-tracked:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Pagination */
.ts-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 16px;
	background: var(--ts-surface);
	/* margin: 8px -16px -12px;
	padding-left: 16px;
	padding-right: 16px;
	padding-bottom: 12px; */
}

.ts-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 100px;
    border: 1px solid #5C6364;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-family: var(--ts-font-body);
    cursor: pointer;
}

.ts-page-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/* Tabs */
.ts-notif-outer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.ts-tabs,
.ts-notif-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	border: 1px solid #121C1D;
    border-radius: 8px;
    padding: 8px;
}

.ts-tabs {
    border: 1px solid #121C1D;
    border-radius: 8px;
    padding: 8px;
}

.ts-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px;
	border-radius: 8px;
	border: 1px solid transparent;
	background: transparent;
	color: var(--ts-muted);
	font-size: 14px;
	font-family: var(--ts-font-body);
	cursor: pointer;
}

.ts-tab.is-active {
	border-color: var(--ts-green);
	color: var(--white);
	background: rgba(123, 255, 130, 0.05);
}

.ts-tab__count,
.ts-tab__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--ts-surface);
	color: #E7E8E8;
	font-size: 11px;
	font-weight: 600;
}
.ts-tab__badge[hidden] {
	display: none;
}
.ts-tab.is-active .ts-tab__count, .ts-tab.is-active .ts-tab__badge {
	background: var(--ts-green-soft);
	color: var(--ts-green);
}

.ts-status-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--ts-surface-2);
    color: var(--ts-muted);
    font-size: 12px;
    border: 1px solid #2E2E2E;
    line-height: 1.5;
}

/* Empty */
.ts-empty-state {
	padding: 56px 20px;
	text-align: center;
	color: var(--ts-muted);
}

.ts-empty-state strong {
	display: block;
	color: #fff;
	font-family: var(--ts-font);
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 8px;
}

/* Upgrade */
.ts-upgrade-banner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	padding: 14px 16px;
	border-radius: var(--ts-radius-sm);
	background: rgba(245, 166, 35, 0.1);
	border: 1px solid rgba(245, 166, 35, 0.28);
	margin-bottom: 16px;
}

.ts-upgrade-banner p {
	margin: 0;
	color: #ffd79a;
	font-size: 14px;
}

/* Notifications list */
.ts-notif-list {
	min-height: 280px;
}

.ts-notif-group-title {
    padding: 8px 20px;
    color: var(--white);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #0B1618;
    line-height: 160%;
}

.ts-notif-item {
    display: grid;
    grid-template-columns: 10px 56px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px;
    border-bottom: 1px solid #121C1D;
}

.ts-notif-item__dot {
	width: 8px;
	height: 8px;
	margin-top: 8px;
	border-radius: 50%;
	background: transparent;
}
.ts-notif-item.is-unread {
	cursor: pointer;
}
.ts-notif-item.is-unread .ts-notif-item__dot {
	background: var(--ts-green);
}

.ts-notif-item__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid #2E2E2E;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ts-muted);
    background: #121C1D;
}

.ts-notif-item__body h3 {
	margin: 0 0 3px;
	font-size: 16px;
	font-weight: 500;
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ts-notif-item__body p {
    color: var(--white);
    font-size: 12px;
    line-height: 160%;
	display: inline-block;
	margin-right: 8px;
}

.ts-notif-item__body time {
    display: inline-block;
    font-size: 12px;
    color: var(--ts-muted);
    line-height: 160%;
    font-style: italic;
}

.ts-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 400;
    border: 1px solid transparent;
    color: #fff;
    line-height: 1.2;
}
.ts-tag--open {
    background: #346B37;
    border-color: var(--ts-green);
}
.ts-tag--closed {
	background: #6B0B0B;
	border-color: #FF1919;
}

.ts-pnl {
	color: var(--ts-green);
	font-weight: 500;
}

/* Alert settings */
.ts-alert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.ts-alert-grid .ts-alert-col {
    padding: 24px 16px;
    display: flex;
    align-items: stretch;
    flex-direction: column;
	gap: 12px;
}

.ts-alert-info h3 {
    font-family: var(--ts-font);
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 3px;
    line-height: 160%;
}

.ts-alert-info p {
	color: var(--ts-muted);
	font-size: 12px;
	line-height: 160%;
}

.ts-alert-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
}

.ts-alert-col__icon {
	width: 100%;
	max-width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid #2E2E2E;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	background: #121C1D;
}

.ts-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.ts-field > span {
    color: var(--white);
    font-family: var(--secondary-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: -0.16px;
}

.ts-field input {
	border-radius: 60px;
    border: 1px solid var(--primary-gray);
    padding: 10px 20px;
    background: transparent;
    color: var(--white);
    font-family: var(--secondary-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 160%;
    height: initial;
    width: 100%;
}

.ts-field input::placeholder {
	color: var(--ts-placeholder);
}

.ts-phone-row {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.ts-dial-code {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	border-radius: 60px;
	border: 1px solid var(--primary-gray);
	padding: 10px 14px;
	min-width: 90px;
	background: transparent;
	cursor: pointer;
}

.ts-dial-code:focus-within {
	border-color: #5c6364;
}

.ts-dial-code__flag {
	width: 20px;
	height: 14px;
	object-fit: cover;
	border-radius: 2px;
	display: block;
	flex-shrink: 0;
}

.ts-dial-code__value {
	color: var(--white);
	font-family: var(--secondary-family);
	font-size: 14px;
	font-weight: 400;
	line-height: 160%;
	white-space: nowrap;
}

.ts-dial-code__select {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	appearance: none;
	-webkit-appearance: none;
}

.ts-phone-row input[type="tel"] {
	flex: 1;
	min-width: 0;
}

.ts-telegram-box {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border-radius: var(--ts-radius-sm);
	background: var(--ts-surface);
	border: 1px solid #121C1D;
}

.ts-telegram-status {
	margin: 0;
	color: #E7E8E8;
	font-size: 14px;
	line-height: 160%;
}

.ts-telegram-box[data-connected="1"] .ts-telegram-status {
	color: var(--ts-green);
}

.ts-telegram-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ts-btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 20px;
	border-radius: 60px;
	border: 1px solid var(--primary-gray);
	background: transparent;
	color: var(--white);
	font-family: var(--ts-font);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.ts-btn-ghost:hover {
	border-color: #5c6364;
	color: var(--white);
}

.ts-field small {
	color: var(--ts-muted);
	font-size: 14px;
	line-height: 160%;
	padding: 0 4px;
}

.ts-check {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: var(--ts-muted);
    font-size: 12px;
    line-height: 160%;
}
.ts-check .input-checkbox {
    margin-right: initial;
}
.ts-check-label {
	flex: 1;
	min-width: 0;
}
.ts-check-label p {
    color: #E7E8E8;
    font-size: 12px;
    line-height: 160%;
}
.ts-check-label span {
	display: block;
	color: var(--ts-muted);
}
.ts-check-label a {
	color: var(--ts-green);
	text-decoration: underline;
}
.ts-check-label a:hover,
.ts-check-label a:focus {
	color: var(--white);
}

.ts-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: var(--ts-radius-sm);
    background: var(--ts-surface);
    border: 1px solid #121C1D;
}

.ts-toggle-row strong {
    display: block;
    font-size: 16px;
    color: #E7E8E8;
    line-height: 160%;
}
.ts-toggle-row small {
    color: var(--ts-muted);
    font-size: 12px;
    line-height: 160%;
}

.ts-switch {
	position: relative;
	display: inline-flex;
	width: 44px;
	height: 24px;
	margin: 0;
	cursor: pointer;
}

.ts-switch input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.ts-switch__ui {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: #2a3436;
	transition: background 0.2s ease;
}

.ts-switch__ui::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0B1618;
    transition: transform 0.2s ease;
}

.ts-switch input:checked + .ts-switch__ui {
	background: var(--ts-green);
}

.ts-switch input:checked + .ts-switch__ui::after {
	transform: translateX(20px);
}

.ts-alert-actions {
    display: flex;
    justify-content: flex-end;
    padding: 16px 20px;
    border-top: 1px solid var(--ts-border);
}

.ts-form-msg {
	padding: 10px;
	text-align: center;
	color: var(--ts-green);
	font-size: 14px;
}

/* Account nav: SCANNER section label */
.woocommerce-MyAccount-navigation-link--ts-scanner-label {
    pointer-events: none;
    position: relative;
}
.woocommerce-MyAccount-navigation-link--ts-scanner-label a {
    font-size: 12px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5C6364 !important;
    padding: 0px 10px 0px 0px !important;
    min-height: auto !important;
    background: transparent !important;
    font-family: var(--font-family);
    line-height: 160%;
    display: inline-flex !important;
    background: #0a1416 !important;
}
.ts-section-label a:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 100%;
    height: 1.5px;
    background: #121C1D;
    margin-top: 2px;
	z-index: -1;
}

.woocommerce-MyAccount-navigation-link--ts-scanner-label .woostify-svg-icon {
	display: none !important;
}

.woocommerce-MyAccount-navigation-link--notifications a {
	position: relative;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--scanner.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--historical-scans.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--my-positions.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--notifications.is-active a {
	background: var(--bg-color, rgba(123, 255, 130, 0.1));
	color: var(--primary-color, #7bff82);
}

@media (max-width: 1100px) {
	.ts-hero {
		flex-direction: column;
	}
	.ts-stats-card {
		width: 100%;
		max-width: initial;
	}
	.ts-alert-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.ts-hero__title {
		font-size: 26px;
	}
	.ts-stat__value {
		font-size: 32px;
	}
	.ts-filters {
		flex-direction: column-reverse;
		align-items: stretch;
	}
	.ts-search {
		width: 100%;
	}
	.ts-pagination {
		flex-wrap: wrap;
	}

	/* Table Box */
	.mobile-block {
		display: block !important;
	}
	.ts-table tbody td.desktop-block {
		display: none !important;
	}
	.ts-table {
		min-width: initial;
	}
	.ts-table thead {
		display: none;
	}
	.ts-table tbody tr {
		display: flex;
		flex-wrap: wrap;
		padding: 4px 12px;
	}
	.ts-table tbody td {
		display: block !important;
		padding: 8px 20px!important;
		text-align: right;
		width: 50%;
		white-space: initial !important;
	}
	.ts-table tbody td.w-full {
		width: 100%;
	}
	.ts-table tbody td:last-child {
		width: 100%;
	}
	.ts-table tbody td[data-table]:before {
		content: attr(data-table);
		float: left;
		font-size: 12px;
		line-height: 160%;
		color: var(--white);
		white-space: nowrap;
	}
	.ts-asset {
		min-width: initial;
		text-align: left;
	}
	.ts-asset__text strong {
		display: inline-block;
		margin-right: 4px;
	}
	.ts-asset__text span {
		display: inline-block;
	}
	.order-1 {
		order: -2;
	}
	.order-2 {
		order: -1;
	}
	.mobile-block.ts-perf-pos {
		display: inline-block !important;
	}
	.ts-btn-track, .ts-btn-tracked, .ts-btn-untrack {
		width: 100%;
	}
	.white-text {
		color: var(--ts-muted) !important;
	}
	.ts-table tbody td[data-table="Entry Price:"] {
		color: var(--ts-green) !important;
	}



}
@media (max-width: 575px) {
	.ts-refresh-btn {
		border-top: 1px solid #121C1D;
		border-left: initial;
		width: 100%;
		padding: 12px 16px;
		flex-direction: row;
	}
	.ts-notif-head {
		position: relative;
		flex-direction: column;
	}
	.ts-notif-head.explore-area h3 {
		justify-content: flex-start;
	}
	.ts-status-chip {
		position: absolute;
		top: 20px;
		right: 20px;
	}
	.ts-tabs, .ts-notif-tabs {
		width: 100%;
	}
	.ts-notif-item {
		grid-template-columns: 10px 1fr;
	}
	.ts-notif-item__body {
		position: relative;
	}
	.ts-tag {
		position: absolute;
		right: 0;
		top: 16px;
	}
	.ts-notif-item__body h3 {
		display: block;
		width: calc(100% - 100px);
	}
	.ts-notif-item__icon {
		display: none;
	}
	.ts-btn-solid {
		width: 100%;
	}
}

@media (max-width: 490px) {
	.ts-table tbody td {
		padding: 8px 12px!important;
	}
	.ts-table tbody tr {
		padding: 4px 0px;
	}
}
