body {
  background-color: #333;
  margin: 0;
  padding: 0;
  height: 100%;
  color: white;
}

* {
	font-size: 18px;
}

.header {
  height: 200px;
  background: #333; /* url('your-banner-image.jpg') no-repeat center center; */
  background-size: cover; /* Ensures the image covers the full area */
  color: white;
  text-align: center;
  line-height: 100px;
}

.layout {
  display: flex;
  flex-direction: row;
  height: calc(100vh - 200px); /* Full height minus header */
  overflow: hidden;
}

.left {
  width: min(100%, 200px);
  background-color: #333;
  padding: 30px 0 0 20px;
  box-sizing: border-box;
}

.right {
  width: min(100%, 400px);
  background-color: #333;
  padding: 0 10px;
}

.main {
  flex: 1;
  background: #333;
  padding: 8px;
  overflow-y: auto;
  -ms-overflow-style: none;  /* For Internet Explorer */
  scrollbar-width: none;  /* For Firefox */
  display: flex;
  flex-direction: column;
}

.main::-webkit-scrollbar {
  display: none;  /* Hide scrollbar for webkit browsers (Chrome, Safari, etc.) */
}

.fixed-top-main {
  position: sticky; /* Keep it fixed within the layout container */
  top: 0; /* Keep it at the top of the main section */
  width: 100%; /* Center relative to the sidebar */
  padding: 8px;
  background-color: #333;
  z-index: 2;
  text-align: center;
}

/* Table Styles */

.table-container {
  overflow-y: auto;
}

table {
  margin-left: auto;
  margin-right: auto;
}

th, td {
  border: 1px solid white;
  color: white;
  padding: 8px;
}

 thead tr {
  position: sticky;
  top: 0; /* Sticks to the top of the table container */
  background-color: #333; /* Match your header background color */
  color: white; /* Text color for the header */
  z-index: 2; /* Make sure the header is above table rows */
}

/* Dropdown Button */
.dropbtn {
  background-color: #333;
  color: white;
  padding: 4px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* Dropdown Container */
.dropdown {
  display: inline-block;
  position: relative;
}

/* Dropdown Content - Hidden by default */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* Position the dropdown just below the button */
  left: 0;
  background-color: #333;
  min-width: 160px;
  max-height: 300px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  scroll-behavior: smooth; /* Smooth scroll */
}

.magic {
	color: white;
	text-shadow: 
		3px 3px 6px black,  /* bottom-right shadow */
		-3px -3px 6px black,  /* top-left shadow */
		3px -3px 6px black,  /* top-right shadow */
		-3px 3px 6px black;  /* bottom-left shadow */
}

.rare {
	color: white;                      
	text-shadow: 
		3px 3px 6px black,  /* bottom-right shadow */
		-3px -3px 6px black,  /* top-left shadow */
		3px -3px 6px black,  /* top-right shadow */
		-3px 3px 6px black;  /* bottom-left shadow */
}

.epic {
	color: white;                     
	text-shadow: 
		3px 3px 6px black,  /* bottom-right shadow */
		-3px -3px 6px black,  /* top-left shadow */
		3px -3px 6px black,  /* top-right shadow */
		-3px 3px 6px black;  /* bottom-left shadow */
}

.legendary {
	color: white;
	text-shadow: 
		3px 3px 6px black,  /* bottom-right shadow */
		-3px -3px 6px black,  /* top-left shadow */
		3px -3px 6px black,  /* top-right shadow */
		-3px 3px 6px black;  /* bottom-left shadow */
}


/* Magic background */
.dropdown-content .magic {
	background-color: rgba(88, 173, 189, 0.8);
}

/* Rare background */
.dropdown-content .rare {
	background-color: rgba(255, 255, 0, 0.7);
}

/* Epic background */
.dropdown-content .epic {
	background-color: rgba(172, 99, 181, 0.8);
}

/* Legendary background */
.dropdown-content .legendary {
	background-color: rgba(218, 165, 32, 1);
}

/* Ultimate background */
.dropdown-content .ultimate {
	background-color: rgba(195, 76, 76, 0.8);
}

/* Fixed top items */
.fixed-top {
  padding: 8px;
  background-color: #333; /* Match background color */
  z-index: 2; /* Ensure these elements are on top */
}

/* Scrollable items */
.scrollable-items {
  max-height: 200px; /* Limit the height of the scrollable content */
  overflow-y: scroll; /* Make this part scrollable */
  -ms-overflow-style: none; /* For Internet Explorer */
  scrollbar-width: none; /* For Firefox */
}

.scrollable-items::-webkit-scrollbar {
  display: none; /* Hide scrollbar for webkit browsers (Chrome, Safari, etc.) */
}

.scrollable-items a {
  display: block;  /* Ensure they stay in a single line */
  padding: 8px;
  color: white;
  text-decoration: none;
}

/* Styling for individual items */
.dropdown-content a {
  color: white;
  text-decoration: none;
  padding: 8px;
  background-color: transparent;
  text-shadow: 
		3px 3px 6px black,  /* bottom-right shadow */
		-3px -3px 6px black,  /* top-left shadow */
		3px -3px 6px black,  /* top-right shadow */
		-3px 3px 6px black;  /* bottom-left shadow */
}

/* Lighten background and text */
.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-content .magic:hover {
  background-color: rgba(88, 173, 189, 0.6); 
}

.dropdown-content .rare:hover {
  background-color: rgba(255, 255, 0, 0.5); 
}

.dropdown-content .epic:hover {
  background-color: rgba(172, 99, 181, 0.6); 
}

.dropdown-content .legendary:hover {
  background-color: rgba(218, 165, 32, 0.8); 
}

.dropdown-content .ultimate:hover {
  background-color: rgba(195, 76, 76, 0.6); 
}

/* To make the dropdown visible when hovered (but only using JavaScript for showing and hiding) */
.dropdown:hover .dropbtn {
  background-color: #333;
}

/* Prevent dropdown from closing when hovering over the content */
.dropdown-content:hover {
  display: block; /* Keep dropdown visible when hovering inside the dropdown */
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.short-input {
  width: 60px;
  padding: 2px 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.title-input {
	width: 80px;
}

.editable-box, 
.noneditable-box,
.title-input {
	background-color: #222; /* Dark background */
	color: #fff; /* White text for contrast */
	padding: 6px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
	text-align: center;
}

.flex-row {
	display: flex;
	justify-content: space-evenly; /* Distribute space evenly between the items */
	align-items: center;
	width: 80%
}

.editable-box:hover,
.title-input:hover {
	background-color: #333;
}

.alignleft {
	justify-content: flex-start; /* Align the items to the left */
}

.alignright {
	justify-content: flex-end; /* Align the items to the right */
}

/* Wrapper to apply 20% spacing */
.flex-wrapper {
	display: flex;
	justify-content: center; /* Align all items in the center */
	width: 100%;
	margin-bottom: 16px;
}

/* Set font size for subtitle wrapper elements */
.alignleft,
.aligncenter,
.alignright,
.title-input,
.noneditable-box {
	font-size: 26px;
}

/* New button class for the grey theme and rounded corners */
.button-grey-theme {
  background-color: #555; /* Dark grey */
  color: white; /* Text color */
  border: none; /* Remove default border */
  padding: 5px 10px; /* Add some padding */
  font-size: 16px; /* Adjust text size */
  border-radius: 12px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s ease; /* Smooth transition */
}

.button-grey-theme:hover {
  background-color: #777; /* Lighter grey on hover */
}

.button-grey-theme:active {
  background-color: #444; /* Darker grey on click */
}

#time {
	margin-right: 10px;
	font-size: 24px;
}

.icon-button {
	background: none;
	color: white;
	border: none;
	cursor: pointer;
	font-size: 26px; /* Double the usual size (default is 16-18px) */
	padding: 0;
	margin: 0 4px; /* optional spacing between buttons */
}

/* Styling for highlighted items (when using the arrow keys) */
.dropdown-content a.highlighted {
  filter: brightness(0.7); /* Darken the background color */
}

.video-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

#policyOverlay {
  padding: 20px 100px; /* 100px left/right, 20px top/bottom */
  box-sizing: border-box; /* so padding doesn’t increase overall size */
}

#mySynolEmbed iframe,
#myGoobaEmbed iframe {
  width: 400px !important;
  height: 225px !important;
  display: block; /* remove any inline spacing */
  max-width: 100%; /* responsive fallback */
}