:root {
	--maincolourTEST: purple;
	--maincolour: white;
	--offmaincolour: black;
	--disclaimercolour: #DA3D25;
	--linkcolour: #807fff;
	--updatescolour: #DAAD52;
}

body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 20px;
	background-color: #000000;
	color: yellow;
	box-sizing: border-box;
}

p {
	color: var(--maincolour);	
}

.container {
	background-color: #211F1F;
	color: var(--maincolourTEST);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	max-width: 100%;
	margin: auto;
	overflow-x: auto;
}
.title {
	color: var(--maincolour);
	text-align: center;
	margin-top: 0;
	margin-bottom: 10px;
	font-size:16px
}

.titleside {
	font-size:12px
}

.disclaimer {
	color: var(--disclaimercolour);
	text-align: center;
	margin-top: 0;
	margin-bottom: 10px;
	font-size:12px
}

a {
	color: var(--linkcolour);
}

.updates {
	color: var(--updatescolour);
	font-size:11px;
}

.updatesTitle {
	margin-top:5px;
	font-weight:bold;
}

.updatesLine {
	
}

.updatesLineDate {
	font-weight:bold;
}

table {
	color:inherit;
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
	font-size:inherit;
}
th, td {
	border: 0px solid #ddd;
	padding: 3px;
	text-align: left;
	word-wrap: break-word;
}
th {
	color: var(--offmaincolour);
	background-color: #f2f2f2;
	white-space: nowrap;
}
tr {
	border: 1px solid;
	margin-bottom: 10px;
}
.message {
	margin-top: 20px;
	padding: 10px;
	border-radius: 4px;
	text-align: center;
}
.error {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
}
.no-data {
	background-color: #e2e3e5;
	border: 1px solid #d6d8db;
}

.linediv {
		display: flex;
		padding: 5px;
		gap: 2px;
}
.chboxdiv {
	color: var(--maincolour);
	background-color: none;
	border: 1px solid white;
	padding: 2px;
	text-align: center;
	font-size:8px;
}
.unselectable-text {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
  user-select: none;         /* Standard */
}
.hidden {
	display: none;
}


.unit-image-container {
	position: relative;
	width: 50px;
	height: 50px;
	overflow: hidden;
}

.unit-rarity-back {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.unit-transparent-image {
	width: 50px;
	height: auto;
	position: absolute;
	z-index: 2;
}

.corner-image {
	position: absolute;
	width: 15px;
	height: auto;
	z-index: 3;
}

.top-left {
	top: 1px;
	left: 1px;
}

.top-right {
	top: 1px;
	right: 1px;
}

.bottom-left {
	bottom: 1px;
	left: 1px;
}
.unit-name {
	color: var(--maincolour);
	width: 50px;
	font-size: 8px;
	white-space: normal; 
	overflow: hidden;
	display: -webkit-box;
	text-align:center;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.flexwrap {
	display: flex;
	flex-wrap: wrap;
}
.lettertd {
	width:20px;
	text-align:center;
	font-weight:bold;
}
.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: rgba(0, 0, 0, 0.9);
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.filterlabel {
	color: var(--maincolour);
	font-size:11px;
	text-align:center
}

#div_howitworks {
	color: var(--maincolour);
	margin-top:10px;
	font-size:11px
}

.popuptable {
	color: var(--maincolour);
}

.toggletext {
	margin-top:10px;
	font-size:11px;
	color: var(--maincolour);
}