 a {
       text-decoration: none;
}

:root {
	--color-primary: #e0e0e0;
	--color-secondary: #0d6efd;
	--color-tertiary: #0d6efd;
	--color-bg: #ffffff;
}

html, body {
    position: relative; /* Ensure the dropdown is positioned relative to the page */
}


/* * {
    outline: 1px solid red;
 } */



/* ensure game cards keep their horizontal layout */
.schedule-container {
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: #ffffff;
    max-width: 100%;
    box-sizing: border-box;
}

/* make both rows take the same inner width so they scroll together */
.dates-row,
.games-row {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    width: 100%; /* will match the .horizontal-scroll__inner width */
    gap: 0;
}

.schedule-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns of equal width */
    gap: 20px; /* Add spacing between grid items */
    justify-items: center; /* Center items horizontally */
    align-items: start; /* Align items at the top */
    margin: 20px auto; /* Center the grid within its container */
    width: 100%; /* Ensure the grid takes up the full width of the container */
}

@media (max-width: 1000px) {
    .schedule-grid-container {
        grid-template-columns: 1fr; /* One column per row on small screens */
    }
}

.schedule-grid-container .big-game-card {
    border: 1px solid #000000;
    min-width: 100%;
    min-height: 100%;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.schedule-grid-container a {
    width: 100%;
    padding: 1%;
}

.big-game-card:hover {
    background-color: #e9ecef;
}

.schedule-date {
    white-space: nowrap;        /* prevent wrapping */
    overflow: hidden;          /* hide overflow */
    text-overflow: ellipsis;   /* show ellipsis for long text */
    flex: 0 0 auto;            /* keep the element at its minWidth */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    box-sizing: border-box;
    border: 1px solid #000;
}

/* single scroll bar that controls both rows */
.horizontal-scroll__wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

/* an inner element sized to the combined width of items */
.horizontal-scroll__inner {
    display: inline-block;
    min-width: max-content; /* ensures it grows to fit children */
}

/* optional: keep the scrollbar visible and make padding consistent */
.horizontal-scroll__wrapper {
    padding-bottom: 8px; /* space for scrollbar on some platforms */
}

.game-card {
    min-width: 120px;
    height: 100%;
    border: 1px solid #000000;
    background: #fff;
    flex: 0 0 auto;
    
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    margin-bottom: 0px;
    font-weight: bold;
}
.game-card:hover {
    background-color: #e9ecef;
}

.game-card .date {
    padding-top: 4px;
}

.game-card .teams {
    font-weight: bold;
    margin-bottom: 0px;
}

.game-card .score,
.game-card .time {
    margin-bottom: 3px;
    font-weight: normal;
    font-size: 12px;
}

.game-card .logos {
    margin-top: 5px;
}

.big-game-card {
    width: 100%;
    height: 100%;
    flex: 0 0 auto;
}

.table-responsive table {
    table-layout: auto; /* Enforce fixed layout for columns */
    width: 100%; /* Ensure the table takes up the full width of the container */
}

.table-responsive th, 
.table-responsive td {
    word-wrap: break-word; /* Break long words to prevent overflow */
    white-space: normal; /* Allow wrapping of text */
}

.scoresheet-card {
    width: 100%;
    box-sizing: border-box;
}

.floating-dropdown {
    position: fixed;         /* Take it out of the normal flow */
    top: 200px;               /* Adjust as needed */
    right: 10px;             /* Adjust as needed */
    width: 220px;
    background-color: white;
    border: 1px solid black;
    border-radius: 0;
}

.dropdown-and-schedule-container-wrapper {
    position: relative;
    overflow-y: hidden; /* Prevent vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: 100%;
    display: flex;
    flex-direction: column;
}

.team-link-standings {
    white-space: nowrap !important;
    width: 1%;
    min-width: 120px;
    max-width: none;     
}














*,
*::before,
*::after {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	backface-visibility: hidden;
}

.ticket {
	background-color: var(--color-primary);
	color: var(--color-secondary);
	width: 100%;

    display: grid;
	grid-template-columns: 20% 1fr;
	font-family: var(--font-body);
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}
.ticket-sub {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	text-align: center;
	padding: 10px 10px;
	border-right: 6px dotted var(--color-bg);
	position: relative;
	z-index: 1;
    border-bottom: 3px dotted grey;
    border-top: 3px dotted grey;

}
.ticket-sub::before,
.ticket-sub::after {
	background-color: var(--color-bg);
	width: 22px;
	height: 22px;
	border-radius: 50%;
	content: "";
	position: absolute;
	z-index: 2;
	top: -14px;
	right: -14px;
}
.ticket-sub::after {
	top: unset;
	bottom: -14px;
}
.ticket-sub h3 {
	font-size: 30px;
	padding: 10px 8px 10px 4px;
	background: var(--color-tertiary);
	color: white;
    margin-bottom: 0px;
}
.ticket-sub h3::before,
.ticket-sub h3::after {
	background-color: var(--color-bg);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	content: "";
	position: absolute;
	z-index: 2;
	top: -18px;
	left: -22px;
}
.ticket-sub h3::after {
	top: unset;
	bottom: -18px;
}
.ticket-sub p {
	font-size: 18px;
	letter-spacing: 8px;
	font-weight: 500;
	padding: 14px 4px 14px 0;
	text-align: center;
    margin-bottom: 0px;
}
.ticket-sub p::before {
	content: "";
	width: 2px;
	height: 100%;
	position: absolute;
	top: 0;
	right: calc(100% - 3px);
	border-right: dotted 5px var(--color-bg);
}
.ticket-sub p::after {
	content: "";
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	box-shadow: inset 0 0 0 2px var(--color-secondary);
	position: absolute;
	top: 10px;
	left: 10px;
}

.ticket-main {
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
    grid-template-rows: 80% 20%;
    width: 100%;
    border: 3px dotted grey;
    position: relative;
}

.ticket-main P {
    font-size: 32px;
    font-weight: bold;
    grid-column: 1 / -1; /* Span across both columns */
    text-align: center;
    margin-bottom: 0px;
    text-decoration: none;
}

.ticket-main .logos {
    grid-row: 1 / 2; /* Place in the first row */
    grid-column: 1 / -1; /* Span across both columns */
    display: flex;
    justify-content: center; /* Center logos horizontally */
    overflow: hidden; /* Hide any overflow from logos */
}

/* .ticket-main .logos::after {
    content: "";
    position: absolute;
    left: 50%; 
    width: 0px; 
    height: 100%; 
    transform: translateY(-20%); 
    border: 3px dotted grey;
} */

.ticket-main .logos img {
    max-height: 100%; /* Constrain the height of the logos */
    max-width: 70%; /* Ensure logos scale proportionally */
    object-fit: contain; /* Ensure logos fit within their container */
    transform: translateY(-10%);
    margin-left: -20px; /* Negative margin to overlap logos */
    margin-right: -20px; /* Negative margin to overlap logos */
    margin-bottom: -20px;
}

.ticket-main .game-time {
    grid-row: 2 / 3; /* Place in the second row */
    grid-column: 1 / -1; /* Span across both columns */
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    border-top: 3px dotted grey;
}

.interest-icons-home, .interest-icons-away {
    border: 3px dotted grey;
    background-color: rgba(13, 110, 253, 0.8);
    position: absolute; /* Position relative to the .ticket container */
    display: flex;
}

.interest-icons-away {
    position: absolute; /* Position relative to ticket-main */
    top: 10px; /* Adjust to move it closer to the top */
    left: 10px; /* Adjust to move it closer to the left */
    justify-content: space-between;
}

.interest-icons-home {
    position: absolute; /* Position relative to ticket-main */
    top: 10px; /* Adjust to move it closer to the top */
    right: 10px; /* Adjust to move it closer to the right */
    justify-content: space-between;
}

.interest-icon {
    font-size: 24px; /* Adjust size of the icons */
    margin: 0 10px; /* Add spacing between icons */
}
