/* Layout Structure */
body { 
	font-family: 'Segoe UI', Tahoma, sans-serif;
	background: #f0f0f0;
	margin: 0;
	display: flex;
	flex-direction: column;
	height: 100vh;
	overflow: hidden;
	font-size: 14px;
}

/* Part 1: Top Section (Red Background) */
#header {
    background: #f0f0f0; 
 	color: #fff;
    font-size: 28px;
	font-weight: bold;
	height: 50px;
	line-height: 50px;
	box-sizing: border-box;
	padding: 0 10px;
    display: flex;
    /* Horizontal and Vertical Centering */
    justify-content: space-between;
    align-items: center; /* This aligns everything to the middle vertically */
	user-select: none;
}

.title {
	background: transparent;
	color: #448;
    font-size: 20px;
	font-weight: bold;
	height: 48px;
	line-height: 48px;
	padding-left: 4px;
	text-shadow:
		1px 1px 0 #555,
		-1px -1px 0 #fff;
	filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
}

/************************************************/
#buttons button {
	background: #3b82f6;
	color: #fff;
	border: none;
	padding: 4px 10px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 11px;
	margin: 4px 6px 0 0;
}

#board {
	position: absolute;
	top: 55px;
	bottom: 5px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

#header, #board {
	left: 0;
	right: 0;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

.card {
	background: #fff;
	border-left: 6px solid #3b82f6;
	padding: 4px 8px;
	margin-bottom: 8px;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.card >:first-child {
	font-size: 16px;
	font-weight: bold;
	border-bottom: 1px solid #eee;
	padding-bottom: 4px;
	margin-bottom: 8px;
}

.event {
	font-size: 13px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}

.team {
	font-weight: bold;
	white-space: nowrap;
	margin-bottom: 2px;
	color: #2961bc;
}

.award {
	max-width: 400px;
	font-size: 13px;
	display: flex;
	justify-content: space-between;
	padding: 2px;
	margin-left: 8px;
}

.icon-table {
	margin: 0 auto;
	border-collapse: collapse; /* Prevents cell borders/spacing */
	table-layout: fixed;   /* Forces cells to respect the width defined */
	border: none;
}

.icon-table td {
	/*border: none;*/
	text-align: center;
	width: 152px;
	border: dotted #b88d28 1px;
}

.icon-table td div {
	color: #1d78b6;
	font-size: 11px;
	font-weight: bold;
}

.icon-cell {
	background-image: url('AwardIcons.jpg');
	background-repeat: no-repeat;
	background-size: 300% 500%;

	/* border: 1px solid #ccc; */
	width: 100px;
	height: 85px;
	margin: 0px 26px;
}

/* Column Positioning (X-axis) */
.col1 { background-position-x: 0%; }
.col2 { background-position-x: 50%; }
.col3 { background-position-x: 100%; }

/* Row Positioning (Y-axis) */
.row1 { background-position-y: 0%; }
.row2 { background-position-y: 25%; }
.row3 { background-position-y: 50%; }
.row4 { background-position-y: 75%; }
.row5 { background-position-y: 100%; }

h1 {
	text-align: center;
	width: 100%;
	color: #b88d28; 
	border-bottom: 3px solid #b88d28;
	filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.25));
	line-height: 1.1;
}
