* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	max-height: 999999px;
}

.noselect {
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  -khtml-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none
}

h4 {
  font-size: 1.4rem;
  margin-top: 50px;
}

ul {
  margin: 16px 0; 
  padding-left: 21px; 
  list-style-type: disc; 
}

li {
  margin-bottom: 8px; 
  line-height: 1.6; 
  font-size: 1.2rem;
}

ul ul {
  margin-top: 8px; 
  padding-left: 16px; 
}

ul ul li {
  list-style-type: square; 
}

body {
	font-family: Arial, sans-serif;
	background: #000428;
	color: white;
	padding: 20px;
	padding-bottom: 100px;
}

.dashboard-container {
	max-width: 1200px;
	margin: 0 auto;
}

h1 {
	text-align: center;
	margin-bottom: 38px;
	margin-top: 30px;
	color: white;
	font-size: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 18px;
	text-transform: uppercase;
	font-family: "Montserrat", serif
}

h1 ion-icon {
	font-size: 4.2rem;
}

h2 {
	text-align: center;
	margin-bottom: 20px;
	margin-top: -10px;
	color: white;
	font-size: 1.6rem;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 10px;
}

#credit {
	color: #fff;
	text-align: center;
	margin-bottom: 48px;
	margin-right: 20px;
	text-transform: uppercase;
}

h3 {
	margin: 14px 0;
	font-size: 1.2rem;
	text-align: center;
}

#scorecard-heading::before {
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	background-color: red;
	border-radius: 50%;
	margin-right: 12px;
	vertical-align: middle;
	animation: blink 1.3s infinite;
}

@keyframes blink {
	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.3;
	}
}

.tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.tile {
	padding: 20px;
	text-align: center;
	border-radius: 8px;
	font-size: 1.1rem;
	font-weight: bold;
	color: white;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
}

.tile:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
        cursor: pointer;
}

.tile.ruby {
	background-color: #e74c3c;
}

.tile.emerald {
	background-color: #27ae60;
}

.tile.sapphire {
	background-color: #2980b9;
}

.tile.topaz {
	background-color: #f39c12;
	background-color: #bc9a11;
}

.tile span {
	font-size: 2rem;
	display: inline-block;
	margin: 7px 0;
}

.tile .position-indicator {
  position: absolute;
  background: #fff;
  color: rgb(40,40,40);
  width: 60%;
  padding: 5px 0;
  font-size: 0.9em;
  text-align: center;
  border-radius: 6px;
  z-index: 2;
  top: calc(100% - 12px);
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.4s;
}

.position-indicator::after {
  content: " ";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent white transparent;
}

.tile.ruby:hover .position-indicator {
  opacity: 1;
}

.tile.emerald:hover .position-indicator {
  opacity: 1;
}

.tile.sapphire:hover .position-indicator {
  opacity: 1;
}

.tile.topaz:hover .position-indicator {
  opacity: 1;
}

.table-container {
	overflow-x: auto;
	background: white;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	margin-bottom: 20px;
	max-height: 500px;
	overflow-y: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	color: #333;
 text-transform: uppercase;
}

thead {
	background: #004e92;
	color: white;
	position: sticky;
	top: 0;
	z-index: 5;
}

th,
td {
	padding: 15px;
	text-align: center;
	border: 0;
	min-width: 125px;
}

tbody tr:nth-child(even) {
	/* background: #f9f9f9; */
	background: hsl(225, 50%, 96%)
}

tbody tr:hover {
	/* background: #f1f1f1; */
        background: #e0ecfe;
	cursor: pointer;
}

table th:first-child,
table td:first-child {
	text-align: left;
}

.btn-download {
	display: block;
	width: 200px;
	margin: 20px auto;
	padding: 12px 20px;
	font-size: 1.2rem;
	text-align: center;
	color: white;
	background: #27ae60;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
	transition: background 0.3s ease, transform 0.3s ease;
}

.btn-download:hover {
	background: #2ecc71;
	transform: translateY(-3px);
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}

.scrolling-strip {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #121302;
	color: white;
	overflow: hidden;
	padding: 14px 6px;
	z-index: 9999;
	box-shadow: 0 -5px 5px rgba(0, 0, 0, 0.5);
	font-size: 1.1rem;
}

.scrolling-text {
	white-space: nowrap;
	text-transform: uppercase;
}

@keyframes scrollText {
	from {
		transform: translateX(100%);
		/* Start off-screen to the right */
	}

	to {
		transform: translateX(-100%);
		/* Move completely off-screen to the left */
	}
}

/* Pop-up Box styling */
.popup-box {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	justify-content: center;
	align-items: center;
	backdrop-filter: blur(5px);
	z-index: 200;
}

#popupHeading {
	font-size: 2.8rem;
	color: #FFD700;
	margin-bottom: 1.5rem;
	font-family: "Montserrat", serif;
}

#popupMsg {
	font-size: 2rem;
	line-height: 1.4;
	color: white;
}

.popup-content {
	background: #1B1C1E;
	padding: 40px;
	border-radius: 20px;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
	max-width: 1000px;
	width: 90%;
	position: relative;
	color: #000;
	animation: popUp 0.5s ease;
	border: 10px solid #f3b10ebf;
	text-align: center;
}

@keyframes popUp {
	0% {
		transform: scale(0.8);
		opacity: 0;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.popup-close-btn {
	font-size: 2em;
	color: #242526;
	cursor: pointer;
	position: absolute;
	top: 15px;
	right: 25px;
	transition: color 0.3s ease;
}

.popup-close-btn:hover {
	color: #f00;
}

.popup-box,
.popup-content,
.popup-close-btn {
	transition: all 0.3s ease;
}

#ribbons {
	position: fixed;
	top: 0;
	left: 50%;
	max-width: 100vw;
	display: none;
	z-index: 100000000;
	pointer-events: none;
	transform: translateX(-50%);
}

@keyframes showHide {
	0% {
		opacity: 0;
		visibility: visible;
	}

	20% {
		opacity: 1;
	}

	80% {
		opacity: 1;
	}

	100% {
		opacity: 0;
		visibility: hidden;
	}
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 1.8rem;
  }
  h1 ion-icon {
    font-size: 3rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  #popupHeading {
    font-size: 1.2rem;
  }

  #popupMsg {
    font-size: 1rem;
  }
}

.hidden {
 display: none;
}
