body {
	font-family: Arial, sans-serif;
	margin: 20px;
	background: #121212;
	color: #e0e0e0;
}

.controls,
.filters,
.tab-content,
table {
	background: #1e1e1e;
	color: #e0e0e0;
	border-radius: 6px;
	padding: 10px;
	margin-bottom: 20px;
}

.tab {
	padding: 10px 20px;
	background: #2e2e2e;
	border-radius: 5px 5px 0 0;
	cursor: pointer;
	display: inline-block;
}

.tab.active {
	background: #3a3a3a;
	font-weight: bold;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}

table {
	width: 100% !important;
	border-collapse: collapse;
}

th,
td {
	padding: 8px;
	text-align: left;
}

canvas {
	max-width: 100%;
}

.tooltip {
	position: relative;
	cursor: help;
}

#matchupGridWrapper {
	padding: 0px;
}

.clickable-hero {
	cursor: pointer;
	color: #90caf9;
	text-decoration: underline;
}

ul {
	width: 400px;
	height: 120px;
	overflow: auto
}


tbody tr:nth-child(odd) {
	background: linear-gradient(to right, #2a2a2a, #2a2a2a);
}


.jsonSelectorOption {
	text-transform: capitalize;
}

a {
	color: aqua
}

ul {
	list-style-type: none;
}

.matchupTable {
	padding: 0px;
}

.pan-container {
	width: 1800px;
	height: 600px;
	overflow: auto;
	border: 1px solid #000;
	position: relative;
}

.pan-container:active {
	cursor: grabbing;
}

.noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.category-header {
	position: sticky;
	top: 0;
	left: 0;
	background: #161414;
	z-index: 1;
}

.category-headerLeft {
	position: sticky;
	top: 0;
	left: 0;
	background: #161414;
	z-index: 3;
}

.category-headerOver {
	position: sticky;
	background: #161414;
	z-index: 4;
	top: 0;
	left: 0;
}

#deck-search-container {
	background-color: #1e1e1e;
	padding: 20px;
	border-radius: 8px;
	color: #ffffff;
	font-family: 'Segoe UI', sans-serif;
}

#heroSearch,
#heroFilter {
	padding: 8px 12px;
	border: 1px solid #444;
	border-radius: 4px;
	background-color: #2c2c2c;
	color: #fff;
	margin-right: 10px;
}

#search-condition {
	padding: 8px 12px;
	border: 1px solid #444;
	border-radius: 4px;
	background-color: #2c2c2c;
	color: #fff;
	margin-top: 10px;
	margin-right: 10px;
}

#card-name-input {
	padding: 8px 12px;
	border: 1px solid #444;
	border-radius: 4px;
	background-color: #2c2c2c;
	color: #fff;
	margin-top: 10px;
	margin-right: 10px;
}

#remove-button,
#add-search-field-button,
#deckSearchBtn {
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	background-color: rgb(80, 95, 133);
	color: white;
	cursor: pointer;
	margin-top: 10px;
	margin-right: 10px;
	transition: background-color 0.3s ease;
}

#remove-button:hover,
#add-search-field-button:hover,
#search-button:hover {
	background-color: #2a50b8;
}

.top-section {
    display: flex;
    gap: 1rem; 
}

.details-box {
    background-color: #1e1e1e;
    padding: 1rem;
    flex: 1;
    border-radius: 8px;
}

.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.matchupGridThTd {
    padding: 8px;
    text-align: left;
    height: 75px; 
    vertical-align: middle; 
    text-overflow: ellipsis;
}

.matchupGridTr {
    height: 75px; /* Matches cell height */
    
}

td
{
  border-width: 10px;
  border-radius: 10px;
  border: #971313;
}
