* {
	margin: 0px;
	padding: 0px;
	border: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
	-webkit-font-smoothing: antialiased;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	width: 100%;
}

body {
	color: #cccccc;
	overflow-y: scroll; 
	text-align: left;
	background: #000000;
	line-height: 1.231;
	width: 100%;
}
a,img {
	border-style: none;
}
body,input,select,textarea,button {
	font-family: "Century Gothic", CenturyGothic, AppleGothic, Arial;
}
a:link,a:visited  {
	color: #ffffcc;
	text-decoration: none;
}
a:active,a:hover {
	color: #ffffcc;
	text-decoration: underline;
}

/* ============================================ */
/* GENERAL SORTING STYLES (SHARED BY BOTH TABLES) */
/* ============================================ */

/* Sorting functionality styles */
.sortable {
	cursor: pointer;
	position: relative;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	padding-right: 15px !important;
	transition: background-color 0.2s ease;
	-webkit-transition: background-color 0.2s ease;
	-moz-transition: background-color 0.2s ease;
}

.sortable:hover {
	background-color: #4477bb !important;
}

.sort-arrow {
	display: inline-block;
	position: absolute;
	right: 3px;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	font-size: 12px;
	line-height: 12px;
	color: #ffffff;
	text-align: center;
	opacity: 0.3;
	width: 12px;
	height: 12px;
	margin: 0;
	padding: 0;
	border: none !important;
}

.sort-arrow.asc {
	opacity: 1;
}

.sort-arrow.desc {
	opacity: 1;
}

/* Special handling for vertical text headers */
.deckHeader span {
	position: relative;
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	white-space: nowrap;
	border: 0px;
	margin: 0 0 0 0 !important;
	line-height: 5px;
	width: 28px;
	min-width: 28px;
	max-width: 28px;
}

.deckHeader span .sort-arrow {
	position: absolute;
	right: -16px;
	top: 50%;
	transform: translateY(-50%) rotate(180deg);
	-webkit-transform: translateY(-50%) rotate(180deg);
	-moz-transform: translateY(-50%) rotate(180deg);
}

/* Ensure tagDropDown cells maintain their transparent background */
.tagDropDown {
	background-color: transparent !important;
}

.deckTable th, .deckTable td {
	transition: all 0.4s ease;
	max-width: 1000px;
	opacity: 1;
}

/* Animation for hiding columns */
.hidden {
	/*max-width: 0 !important;
	opacity: 0;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	overflow: hidden;*/
	display: none;
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-button:hover {
	background-color: #336699;
}

.dropdown-button {
	padding: 6px;
	cursor: pointer;
	color: #ffffcc;
	background-color: transparent;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #333;
	padding: 10px;
	text-align: left;
	z-index: 100;
	background-color: #808080;
	top: 35px;
	right: 0;
}

.dropdown-content label {
	display: block;
	font-weight: normal;
	font-size: 12px;
	line-height: 24px;
}

.dropdown-content label input {
	margin-right: 10px;
	vertical-align: middle;
}

.dropdown.open .dropdown-content {
	display: block;
}

.mainBody {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
.menuTable {
	border-spacing: 0px;
	border-collapse: collapse;
	margin: 0px;
	padding: 0px;
	border: 0px;
	width: 100%;
}
.menuTable img {
	display: block;
}
.menuTable td {
	border-spacing: 0px;
	border-collapse: collapse;
	margin: 0px;
	padding: 0px;
	border: 0px;
}
.headerTextRight {
	text-align: right;
	font-size: 12px;
	color: #cccccc;
	line-height: 30px;
	width: 100%;
	white-space: nowrap;
}
.menuTop {
	background-color: #CCCCCC;
	width: 100%;
}
.menuTop a {
	display:inline-block;
	background-color: #CCCCCC;
	line-height: 40px;
	margin: 0px;
	border: 0px;
	padding: 0px 15px;
	color: #333333;
	font-weight: bold;
}
.menuDeck {
	background-color: transparent;
	width: 100%;
}
.menuDeck a {
	display:inline-block;
	background-color: transparent;
	line-height: 40px;
	margin: 0px;
	border: 0px;
	padding: 0px 15px;
	color: #CCCCCC;
	font-weight: bold;
}
.menuTop a:link,.menuTop a:visited, .menuDeck a:link,.menuDeck a:visited {
	text-decoration: none;
}
.menuTop a:active,.menuTop a:hover, .menuDeck a:active,.menuDeck a:hover {
	background-color: #336699;
	color: #ffffff;
	text-decoration: none;
}
.deckTitle {
	border-spacing: 0px;
	border-collapse: collapse;
	padding: 0px;
	margin: 0px;
	border: 0px;
	width: 100%;
	background-color: #555555;
	display:inline-block;
	line-height: 40px;
	color: #ffffff;
	font-weight: bold;
	vertical-align: middle;
	white-space: nowrap;
}

.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}
.autocomplete-items div {
  padding: 5px;
  cursor: pointer;
  background-color: #dddddd;
  border-bottom: 1px solid #d4d4d4;
  color: #333333;
  text-align: left;
  line-height: normal;
  font-weight: normal;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
  color: #333333;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: #336699 !important;
  color: #ffffff;
}


.catDesc {
	font-size: 12px;
}
.itemSpacer {
	height: 3px;
	width: 100%;
	background-color: #CCCCCC;
}
.pageTable {
	padding: 20px;
	width: 100%;
}
.entryTable {
	width: 800px;
	margin-left: 100px;
	margin-right: 100px;
}
.mainContent {
	width: 100%;
}
hr {
	border: 1px solid #990000;
}

.unsliderTableRow {
/*		width: 1000px; */
	height: 200px;
}
.unslider {
	position: relative;
	overflow: auto;
}
.unslider ul {
	list-style: none;
}
.unslider li {
	list-style: none;
}
.unslider ul li {
	list-style: none;
	display: block;
	float: left;
	min-height: 200px;
/*	max-width: 1000px; */
}
.unslider img {
	display: block;
}
.unslider .dot {
	-webkit-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
	-moz-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
	-ms-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
	-o-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
	filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
}

.unslider .dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 15px;
	text-align: center;
}

.unslider .dots li {
	display: inline-block;
	width: 11px;
	height: 11px;
	margin: 0 4px;
	text-indent: -999em;
	border: 2px solid #fff;
	border-radius: 5.5px;
	cursor: pointer;
	opacity: .4;
	-webkit-transition: background .5s, opacity .5s;
	-moz-transition: background .5s, opacity .5s;
	transition: background .5s, opacity .5s;
}

.unslider .dots li.active {
	background: #fff;
	opacity: 1;
}
.fb-like {
	text-align: left;
}

.mainTable {
	background-color: #222222;
	width: 100%;
}
.text1 {
	padding: 20px;
	font-size: 15px;
	text-align: justify;
	vertical-align:text-top;
}
.text2 {
	background-color: #990000;
	color: #ffffff;
	padding: 5px;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
}
.text3 {
	color: #003366;
	padding: 20px;
	font-size: 20px;
	text-align: left;
}
.text4 {
	padding: 10px;
	font-size: 14px;
	text-align: right;
}
.text5 {
	color: #FF0000;
	padding: 20px;
	font-size: 12px;
	text-align: left;
}
.text6 {
	padding: 10px;
	font-size: 12px;
	text-align: right;
}
.style1 {
	background-color: #990000;
	color: #FFFFFF;
	padding: 5px 40px;
	font-weight: bold;
	font-size: 15px;
	text-align: left;
}
.style3 {
	padding-left: 20px;
	padding-right: 20px;
	font-size: 14px;
	text-align: left;
}
.style4 {
	padding: 3px;
	font-size: 12px;
	text-align: center;
}
.style5 {
	padding-left: 20px;
	padding-right: 20px;
	font-size: 11px;
	text-align: left;
}
.style6 {
	padding-left: 20px;
	padding-right: 20px;
	font-size: 15px;
	text-align: left;
}
.style6 img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #000000;
	background-color: #FFFFFF;
	padding: 3px;
}
.indentText {
	padding-left: 40px;
}
.formButtons, .navButton {
	padding: 10px;
	font-size: 14px;
	text-align: left;
}
.formButtons input, .navButton a:link, .navButton a:visited, .navButton button  {
	background-color: #003366;
	padding: 2px 5px;
	border: 5px solid #003366;
	margin: 5px;
	color: #ffffff;
	border-radius: 5px;
	cursor: pointer;
}
.formButtons input:hover , .navButton a:active, .navButton a:hover, .navButton button:hover {
	background-color: #336699;
	border: 5px solid #336699;
	color: #ffffff;
}
.form {
	font-size: 15px;
	text-align: center;
	vertical-align:text-top;
}
.formTextLeft {
	padding: 10px;
	font-size: 14px;
	text-align: right;
	width: 200px;
}
.formTextLeftSmall {
	color: #888888;
	font-size: 10px;
}
.formTextRight {
	padding: 10px;
	font-size: 14px;
	text-align: left;
	width: 600px;
}
.formTextRightDates {
	padding: 10px;
	font-size: 14px;
	text-align: left;
}
.formTextRightCaptcha {
	padding: 10px;
	font-size: 12px;
	text-align: left;
}
.formTextRightButtons {
	padding: 10px;
	font-size: 14px;
	text-align: left;
}
.formTextRight input {
	width: 600px;
	color: #222222;
	font-size: 14px;
	padding: 2px;
	background-color: #ffffff;
	border: 5px solid #ffffff;
	border-radius: 5px;
}
.formTextRight select {
	color: #222222;
	font-size: 14px;
	padding: 2px;
	background-color: #ffffff;
	border: 5px solid #ffffff;
	border-radius: 5px;
	min-width: 600px;
}
.formTextRightDates select {
	color: #222222;
	font-size: 14px;
	padding: 2px;
	background-color: #ffffff;
	border: 5px solid #ffffff;
	border-radius: 5px;
}
.formTextRightDates input {
	width: 175px;
	color: #222222;
	font-size: 14px;
	padding: 2px;
	background-color: #ffffff;
	border: 5px solid #ffffff;
	border-radius: 5px;
}
.formTextRightInput {
	width: 600px;
}
.formTextRight textarea {
	color: #222222;
	font-size: 14px;
	padding: 2px;
	background-color: #ffffff;
	border: 5px solid #ffffff;
	border-radius: 5px;
	width: 600px;
	height: 250px;
}
.formTextRightTextArea {
	width: 600px;
	height: 250px;
}

.searchTextRight {
	padding: 5px;
	font-size: 14px;
	text-align: right;
	width: 100%;
}
.searchTextRight input, .searchTextRight select {
	width: 300px;
	color: #222222;
	font-size: 14px;
	padding: 2px;
	background-color: #ffffff;
	border: 5px solid #ffffff;
	border-radius: 5px;
}

/* Custom card hover styles */
.mtg-card {
	cursor: pointer;
	text-decoration: none;
	color: #ffffcc;
}

.mtg-card:hover {
	text-decoration: underline;
	color: #ffffcc;
}

.card-tooltip {
	position: absolute;
	z-index: 10000;
	background: #1a1a1a;
	border: 2px solid #333;
	border-radius: 8px;
	padding: 0;
	display: none;
	pointer-events: none;
	box-shadow: 0 4px 12px rgba(0,0,0,0.5);
	max-width: 250px;
}

.card-tooltip img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
	max-height: 350px;
}

/* Legacy auto-card styling compatibility */
auto-card-image img {
	max-height: 300px;
}

/* Overview tab styling */
.overview-container {
	background-color: #2a2a2a;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 2px 0px;
}

.deckTable {
	border-collapse: separate;
	border-spacing: 2px;
	color: #ffffff;
}
.deckTable td {
	padding: 5px;
	font-size: 13px;
	white-space: nowrap;
	line-height: 120%;
}
.deckHeader {
	font-weight: bold;
	background-color: #336699;
	color: #ffffff;
	vertical-align: bottom;
	padding: 5px;
	font-size: 13px;
	white-space: nowrap;
	width: auto;
	min-width: 20px;
	max-width: 150px;
}

/* ============================================ */
/* DECK DETAIL TABLE SPECIFIC SORTING STYLES */
/* ============================================ */

/* Force narrow columns for vertical text headers in deck detail table only */
#deck-table .deckHeader[data-text-orientation="vertical"] {
	width: 28px !important;
	min-width: 28px !important;
	max-width: 28px !important;
	padding: 2px !important;
}

/* Position arrows to the right for horizontal text headers in deck detail table */
#deck-table .sortable[data-text-orientation="horizontal"] {
	position: relative;
	padding-right: 20px;
}

/* Extra padding for Section column in deck detail table */
#deck-table .sortable[data-column="0"] {
	padding-right: 25px;
	min-width: 60px !important;
	width: 60px !important;
}

#deck-table .sortable[data-text-orientation="horizontal"] .sort-arrow {
	position: static;
	display: inline;
	margin-left: 5px;
	vertical-align: middle;
	width: 12px !important;
	min-width: 12px !important;
	max-width: 12px !important;
}

/* Special handling for vertical text headers in deck detail table */
#deck-table .deckHeader span {
	position: relative;
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	white-space: nowrap;
	border: 0px;
	margin: 0 0 0 0 !important;
	line-height: 5px;
	width: 28px;
	min-width: 28px;
	max-width: 28px;
}

#deck-table .deckHeader span .sort-arrow {
	font-size: 10px;
	margin: 0 2px;
}

/* ============================================ */
/* DECK LIST TABLE SPECIFIC SORTING STYLES */
/* ============================================ */

/* All headers in deck list table are normal horizontal text */
#deck-list-table .sortable {
	position: relative;
	padding-right: 25px;
}

/* Remove width constraints for horizontal text columns */
#deck-list-table .deckHeader[data-text-orientation="horizontal"] {
	min-width: auto !important;
	max-width: none !important;
	width: auto !important;
}

#deck-list-table .sort-arrow {
	position: static;
	display: inline;
	margin-left: 5px;
	vertical-align: middle;
	width: 12px !important;
	min-width: 12px !important;
	max-width: 12px !important;
}

/* Vertical text styling for deck list table */
#deck-list-table .deckHeader[data-text-orientation="vertical"] span {
	position: relative;
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	white-space: nowrap;
	border: 0px;
	margin: 0 auto !important;
	line-height: 5px;
	width: 40px;
	text-align: center;
}

/* Width constraints for vertical columns in deck list table */
#deck-list-table .deckHeader[data-text-orientation="vertical"] {
	width: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	padding: 2px !important;
}

/* Arrows for vertical text in deck list table */
#deck-list-table .deckHeader[data-text-orientation="vertical"] .sort-arrow {
	font-size: 10px;
	margin: 0 2px;
}
.deckEven {
	background-color: #666666;
	white-space: nowrap;
}
.deckOdd {
	background-color: #555555;
	white-space: nowrap;
}
.deckAdd {
	background-color: #000044;
	white-space: nowrap;
}
.deckTotals {
	background-color: #336699;
	color: #ffffff;
}
.deckPostBy {
	vertical-align:top;
	font-size: 12px;
	text-align: right;
}
.deckPost {
	vertical-align:top;
}
.tagDropDown {
	position: relative;
	display: inline-block;
	z-index: 1;
}
.tagDropDown a {
	position: relative;
	z-index: 1;
}
.tagDropDownButton, .tagDropDownButton:hover {
	padding: 5px;
	border: none;
	text-decoration: none;
}
.tagDropDownContent {
	display: none;
	position: absolute;
	background-color: #808080;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 2;
	top: 0;
	left: 45px;
}
.tagDropDownContent a {
	padding: 10px;
	display: block;
	position: relative;
	z-index: 2;
}
.tagDropDownContent a:hover {
	background-color: #909090;
	text-decoration: none;
	position: relative;
	z-index: 2;
}
.tagDropDown:hover .tagDropDownContent {
	display: block;
}
.tagDropDown:hover {
	background-color: #336699;
	position: relative;
	z-index: 1;
}

.dropDownMenuText {
	padding-right: 20px;
	position: relative;
	display: table-cell;
	width: 100%;
	z-index: 1;
}
.dropDownMenu {
	position: relative;
	display: table-cell;
	font-weight:normal;
	text-align: right;
	line-height: 100%;
	z-index: 1;
}
.dropDownMenu:hover {
	z-index: 1001;
}
.dropDownMenu a {
	background-color: #336699;
	border: 3px solid #336699;
	border-radius: 3px;
	text-decoration: none;
	padding: 0px 5px;
	position: relative;
	z-index: 11;
}
.dropDownMenuContent {
	text-align: left;
	display: none;
	position: absolute;
	top: 41px;
	right: 0;
	/*left: auto;*/
	margin-top: 0;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1000;
	border: 0px;
	background-color: #808080;
}
.dropDownMenuContent a {
	padding: 10px;
	display: block;
	background-color: #808080;
	position: relative;
	z-index: 11;
	border: 0px;
}
.dropDownMenuContent a:hover {
	background-color: #909090;
	text-decoration: none;
}
.dropDownMenu:hover .dropDownMenuContent {
	display: block;
}

.addCardDropDown {
	position: relative;
	display: table-cell;
	font-weight:normal;
	text-align: right;
	line-height: 100%;
	z-index: 1;
}
.addCardDropDown:hover {
	z-index: 1001;
}
.addCardDropDown a {
	background-color: #336699;
	border: 3px solid #336699;
	border-radius: 3px;
	text-decoration: none;
	padding: 0px 5px;
	position: relative;
	z-index: 11;
}
.addCardDropDownContent {
	text-align: left;
	display: none;
	position: absolute;
	top: 41px;
	right: 0;
	/*left: auto;*/
	margin-top: 0;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1000;
	border: 0px;
	background-color: #808080;
}
.addCardDropDownContent a {
	padding: 10px;
	display: block;
	background-color: #808080;
	position: relative;
	z-index: 11;
	border: 0px;
}
.addCardDropDownContent a:hover {
	background-color: #909090;
	text-decoration: none;
}
.addCardDropDown:hover .addCardDropDownContent {
	display: block;
}

.modifyCardDropDown {
	position: relative;
	display: table-cell;
	font-weight:normal;
	text-align: right;
	line-height: 100%;
	z-index: 1;
}
.modifyCardDropDown:hover {
	z-index: 1001;
}
.modifyCardDropDown a {
	background-color: #336699;
	border: 3px solid #336699;
	border-radius: 3px;
	text-decoration: none;
	padding: 0px 5px;
	position: relative;
	z-index: 11;
}
.modifyCardDropDownContent {
	text-align: left;
	display: none;
	position: absolute;
	top: 18px;
	left: 0;
	/*left: auto;*/
	margin-top: 0;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1000;
	border: 0px;
	background-color: #808080;
}
.modifyCardDropDownContent a {
	padding: 10px;
	display: block;
	background-color: #808080;
	position: relative;
	z-index: 11;
	border: 0px;
}
.modifyCardDropDownContent a:hover {
	background-color: #909090;
	text-decoration: none;
}
.modifyCardDropDown a:hover + .modifyCardDropDownContent,
.modifyCardDropDownContent:hover {
	display: block;
}

/* Deck dropdown - left-aligned like modify card but with proper spacing */
.deckDropDown {
	position: relative;
	display: table-cell;
	font-weight:normal;
	text-align: right;
	line-height: 100%;
	z-index: 1;
}
.deckDropDown:hover {
	z-index: 1001;
}
.deckDropDown a {
	background-color: #336699;
	border: 3px solid #336699;
	border-radius: 3px;
	text-decoration: none;
	padding: 0px 5px;
	position: relative;
	z-index: 11;
}
.deckDropDownContent {
	text-align: left;
	display: none;
	position: absolute;
	top: 41px;
	left: 0;
	margin-top: 0;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1000;
	border: 0px;
	background-color: #808080;
}
.deckDropDownContent a {
	padding: 10px;
	display: block;
	background-color: #808080;
	position: relative;
	z-index: 11;
	border: 0px;
}
.deckDropDownContent a:hover {
	background-color: #999999;
}
.deckDropDown:hover .deckDropDownContent {
	display: block;
}

img {
	position: relative;
	z-index: 11;
}

.footerText {
	background-color: #000000;
	text-align: center;
	font-size: 9px;
	color: #aaaaaa;
	width: 100%;
	padding: 5px 10px;
}

/* Bulk Card Management Styles */
#bulk-card-controls {
	background: #333;
	border-radius: 5px;
	margin: 10px 0;
	padding: 10px;
	border: 1px solid #555;
}

#bulk-card-controls strong {
	color: #fff;
}

#selected-count {
	color: #4CAF50;
	font-weight: bold;
}

.bulk-action-btn, #select-all-cards, #select-none-cards, #create-new-section, #cancel-new-section {
	background-color: #003366;
	border: 1px solid #004477;
	color: #ffffff;
	padding: 4px 8px;
	margin: 2px;
	border-radius: 3px;
	cursor: pointer;
	font-size: 12px;
}

.bulk-action-btn:hover, #select-all-cards:hover, #select-none-cards:hover, #create-new-section:hover, #cancel-new-section:hover {
	background-color: #004477;
}

.bulk-action-btn[data-action="delete"] {
	background-color: #dc3545;
	border-color: #c82333;
}

.bulk-action-btn[data-action="delete"]:hover {
	background-color: #c82333;
}

.bulk-action-btn:disabled {
	background-color: #666;
	color: #999;
	cursor: not-allowed;
}

#bulk-target-section, #new-section-name {
	background-color: #222;
	border: 1px solid #555;
	color: #fff;
	padding: 3px;
	margin: 2px;
	border-radius: 3px;
}

.card-select-checkbox {
	cursor: pointer;
	margin-left: 5px;
	vertical-align: middle;
	transform: scale(1.1);
	position: relative;
	z-index: 1;
	accent-color: #336699;
}

.card-select-checkbox:checked {
	accent-color: #336699;
}

/* Notification styles */
.bulk-notification {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 15px 20px;
	border-radius: 5px;
	color: white;
	font-weight: bold;
	z-index: 1000;
	max-width: 400px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.bulk-notification.success {
	background-color: #4CAF50;
}

.bulk-notification.error {
	background-color: #f44336;
}

.bulk-notification.warning {
	background-color: #ff9800;
}

.bulk-notification.info {
	background-color: #2196F3;
}

/* ============================================ */
/* EDHREC RECOMMENDATIONS STYLES */
/* ============================================ */

#edhrec-container {
	background-color: #1a1a1a;
	border-radius: 8px;
	margin: 20px 0;
}

.edhrec-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 15px;
	margin-top: 20px;
}

.edhrec-card {
	border-radius: 8px;
	padding: 10px;
	position: relative;
	transition: transform 0.3s ease;
}

.edhrec-card:hover {
	transform: translateY(-2px);
}

.edhrec-card img {
	width: 100%;
	border-radius: 4px;
	transition: transform 0.3s ease;
}

.edhrec-card img:hover {
	transform: scale(1.02);
}

.add-card-overlay {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 10;
}

.add-card-btn {
	background-color: #4CAF50;
	color: white;
	border: none;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0,0,0,0.5);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.add-card-btn:hover {
	background-color: #45a049;
	transform: scale(1.1);
	box-shadow: 0 4px 8px rgba(0,0,0,0.6);
}

.dropdown-content {
	display: none;
	position: absolute;
	right: 0;
	top: 38px;
	background-color: #333;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
	z-index: 1000;
	border-radius: 4px;
	border: 1px solid #555;
	overflow: hidden;
}

.dropdown-content a {
	color: white !important;
	padding: 10px 15px;
	text-decoration: none;
	display: block;
	font-size: 14px;
	border-bottom: 1px solid #555;
	transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
	background-color: #555;
	text-decoration: none !important;
}

.dropdown-content a:last-child {
	border-bottom: none;
}

#load-edhrec-btn {
	background-color: #4CAF50;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s ease;
}

#load-edhrec-btn:hover:not(:disabled) {
	background-color: #45a049;
}

#load-edhrec-btn:disabled {
	background-color: #666;
	cursor: not-allowed;
}

#edhrec-loading {
	color: #999;
	font-style: italic;
}

#edhrec-error {
	color: #ff6b6b;
	font-weight: bold;
}

/* Home Page Styles */
.homeContainer {
	width: calc(100vw - 40px);
	margin: 0 -20px;
	padding: 0 20px;
}

.welcomeSection {
	padding: 30px 0;
	margin-bottom: 30px;
	text-align: center;
}

.welcomeSection h2 {
	color: #ffffff;
	font-size: 28px;
	margin-bottom: 15px;
	font-weight: bold;
}

.welcomeSection p {
	color: #cccccc;
	font-size: 16px;
	line-height: 1.6;
}

.homeGrid {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-bottom: 30px;
}

.homeSection {
	background: transparent;
	border: none;
	border-radius: 8px;
	padding: 20px;
	box-shadow: none;
}

.homeSection h3 {
	color: #ffffff;
	font-size: 20px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #444444;
	display: flex;
	align-items: center;
	gap: 10px;
}

.decksList {
	display: grid;
	grid-template-columns: repeat(auto-fit, 300px);
	justify-content: center;
	justify-items: center;
	gap: 25px;
}

.deckCardLink {
	text-decoration: none;
	color: inherit;
	display: block;
}

.deckCardLink:hover {
	text-decoration: none;
	color: inherit;
}

.deckCard {
	background: #333333;
	border: 1px solid #555555;
	border-radius: 8px;
	padding: 15px;
	transition: all 0.2s ease;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 220px;
	width: 300px;
	aspect-ratio: 1.37;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.deckCard::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	border-radius: 8px;
	z-index: 1;
}

.deckCard > * {
	position: relative;
	z-index: 2;
}

.deckCard:hover {
	border-color: #666666;
	transform: translateY(-1px);
	box-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

.deckCard:hover::before {
	background: rgba(0, 0, 0, 0.6);
}

.deckCardHeader {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.deckCardTitle {
	color: #ffffff;
	font-weight: bold;
	font-size: 16px;
}

.deckCardInfo {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	color: #aaaaaa;
	flex-wrap: wrap;
	gap: 10px;
}

.deckPrice {
	color: #4CAF50;
	font-weight: bold;
}

.deckBuilder {
	color: #888888;
	font-style: italic;
}

.deckDate {
	color: #999999;
}

.contentList {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.contentItem {
	background: #333333;
	border: 1px solid #555555;
	border-radius: 6px;
	padding: 15px;
	transition: background-color 0.2s ease;
}

.contentItem:hover {
	background: #3a3a3a;
}

.contentItem h4 {
	margin-bottom: 8px;
}

.contentItem h4 a {
	color: #ffffff;
	text-decoration: none;
	font-size: 16px;
}

.contentItem h4 a:hover {
	color: #dddddd;
	text-decoration: underline;
}

.contentItem p {
	color: #cccccc;
	font-size: 14px;
	line-height: 1.5;
}

.statsList {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 15px;
	margin-bottom: 20px;
}

.statsListSecondary {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.statItem {
	background: #333333;
	border: 1px solid #555555;
	border-radius: 6px;
	padding: 20px;
	text-align: center;
	transition: all 0.2s ease;
}

.statItem:hover {
	background: #3a3a3a;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.statNumber {
	color: #4CAF50;
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 8px;
}

.statLabel {
	color: #cccccc;
	font-size: 14px;
	font-weight: normal;
}

/* New enhanced stat styles */
.statValue {
	color: #ffffff;
	font-size: 16px;
}

.statSubtext {
	font-size: 12px;
	color: #aaa;
	margin-top: 4px;
}

.popularColors {
	text-align: left;
}

.colorsList {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 10px;
}

.colorIdentityItem {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	background: #2a2a2a;
	border-radius: 4px;
	border: 1px solid #444;
}

.colorIdentityIcon {
	flex-shrink: 0;
}

.colorIdentityInfo {
	flex-grow: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.colorIdentityName {
	color: #4CAF50;
	font-weight: bold;
	font-size: 14px;
}

.colorIdentityCount {
	color: #aaa;
	font-size: 12px;
}

.topTags {
	text-align: left;
}

.tagsList {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 10px;
}

.tagItem {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 12px;
	background: #2a2a2a;
	border-radius: 4px;
	border: 1px solid #444;
}

.tagName {
	color: #4CAF50;
	font-weight: bold;
	font-size: 13px;
}

.tagCount {
	color: #aaa;
	font-size: 12px;
}

.colorsList {
	display: flex;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
	margin-top: 10px;
}

.colorIdentity {
	display: flex;
	align-items: center;
	gap: 5px;
	background: #444444;
	border: 1px solid #666666;
	border-radius: 4px;
	padding: 8px 12px;
	color: #ffffff;
	font-size: 14px;
	font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.homeGrid {
		gap: 20px;
	}
	
	.decksList {
		grid-template-columns: repeat(auto-fit, 280px);
		justify-content: center;
		justify-items: center;
		gap: 20px;
	}
	
	.deckCard {
		width: 280px;
		min-height: 200px;
	}
	
	.deckCardInfo {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.statsList {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.statsListSecondary {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.colorsList {
		gap: 8px;
	}
	
	.colorIdentity {
		padding: 6px 8px;
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.welcomeSection {
		padding: 20px;
	}
	
	.welcomeSection h2 {
		font-size: 24px;
	}
	
	.homeSection {
		padding: 15px;
	}
	
	.decksList {
		grid-template-columns: 1fr;
		justify-content: center;
		justify-items: center;
		gap: 20px;
	}
	
	.deckCard {
		width: 100%;
		max-width: 300px;
		min-height: 180px;
	}
	
	.statsList {
		grid-template-columns: 1fr;
	}
}
