/* Set the overall background to black */
html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui;
    background-color: black;
}

/* Wrapper for the site content with a maximum width */
.site-wrapper {
    max-width: 600px;  /* Change to your desired maximum width */
    margin: 0 auto;     /* Centers the wrapper horizontally */
    background-color: white; /* Optional: set a different background for your content */
}

.input-field {
    color: #ffffff;
}

#detailsFullHeader {
    font-weight: bold;
}

.bold-text {
    font-weight: bold;
}

#homePageBanner {
    color: #ffffff;
    background-color: #4f6265;
    background-image: url("../images/TheArena.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    font-size:larger;

    background-blend-mode: multiply;

    padding-top: 200px;
    padding-bottom: 200px;
}

#Head2Head {
    color: #ffffff;
    background-color: #4f6265;
    background-image: url("../images/TheArena.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    font-size:larger;
    font-weight: bold;

    background-blend-mode: multiply;

    padding-top: 10px;
    padding-bottom: 10px;
}

#NewTeamButton{
    display: flex;
    flex-direction: column;
    align-items: center; /* centers items horizontally */
    gap: 7px;         /* adds 10px spacing between buttons */
    
    padding-top: 5px;
    padding-bottom: 50px;
}

#NewTeamButton .btn {
    width: 200px;      /* set desired fixed width */
  }

  
/* Container for all mat panels */
#matGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px;
  }
  
  /* Each mat panel styling */
  .mat-panel {
    background: #3e37a3;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Ensure the table uses full width */
  .mat-panel table {
    width: 100%;
  }
  
  /* Padding for table cells */
  .mat-panel td {
    padding: 8px;
  }
  
  
#MatSchedule {
    color: #ffffff;
    background-color: #243b3d;
    background-image: url("../images/TheArena.jpg");
    background-repeat: no-repeat;
    font-size:larger;

    background-blend-mode: multiply;

    padding-top: 10px;
    padding-bottom: 10px;
}

#scoreTable {
    color: #ffffff;
    background-color: #243b3d;
    background-image: url("../images/TheArena.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    font-size:larger;

    background-blend-mode: multiply;

    padding-top: 10px;
    padding-bottom: 10px;
}

#classDisplayContainer {
    color: #ffffff;
    background-color: #4f6265;
    background-image: url("../images/TheArena.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    font-size:larger;

    background-blend-mode: multiply;

    padding-top: 250px;
    padding-bottom: 50px;
}

.selection-btn.selected {
    background-color: #8abccc !important;
    font-weight: bold;
    color: #000000;
}


.selection-btn {
    background-color: #808080 !important;
    width: 100%; /* Make the button fill its container */
    display: block; /* Ensure it behaves as a block-level element */
    font-size: smaller;
}

.modal {
    display: none; /* Hidden by default */
    /* Add more styling for the modal */
}

#spinner {
    display: none; /* Spinner is hidden by default */
    position: fixed; /* Fixed positioning relative to the viewport */
    top: 15%; /* Align the top edge of the spinner with the top of the viewport */
    left: 50%; /* Center the spinner horizontally */
    transform: translateX(-50%); /* Adjust horizontal position to truly center the spinner */
    z-index: 1000; /* Ensure the spinner is above other content */
}

#scoreboard tr {
    line-height: 1; /* Adjust line height to reduce vertical space */
}

#scoreboard td {
    padding: 4px 8px; /* Adjust padding as needed, smaller values mean less space */
}

/* Ensure the table itself has collapsed borders to reduce spacing */
#scoreboard {
    border-collapse: collapse;
}

.frozenHeader {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure it stays on top of other content */
    background-color: white; /* Optional: background color */
    padding-top: 2px; /* Optional: add some space on the top */
    padding-bottom: 2px; /* Optional: add some space on the top */
}

.class-indicators {
    display: flex;
    justify-content: center;
    margin-bottom: 1px;
}

.indicator {
    width: 50px;
    height: 50px;
    line-height: 50px; /* Center text vertically */
    margin: 0 1px; /* Spacing between indicators */
    background-color: #666; /* Default background */
    color: #fff; /* Text color */
    text-align: center;
    border-radius: 5px; /* Rounded corners */
}

.indicator.selected {
    background-color: #8abccc; /* Highlighted background */
    font-weight: bold;
    color: #000000;
}

.underliners {
    display: flex;
    justify-content: center;
    margin-top: 1px;
}

.underliner {
    width: 50px;
    height: 5px;
    margin: 0 1px; /* Spacing between indicators */
    background-color: #ffffff; /* Default background */
    border-radius: 5px; /* Rounded corners */
}

.underliner.selected {
    background-color: #000000; /* Highlighted background */
}

#nameEntryHeader {
    padding-top: 50px;
}

/* Ensure the row expands as needed; adjust this value as necessary */
#classDisplayContainer .row {
    height: 100%; /* Adjust this as needed based on your layout */
}

/* Target the buttons specifically by their IDs */
#prevClass, #nextClass {
    height: 100%; /* Make the button fill the entire height of its container */
    display: flex;
    justify-content: center;
    align-items: center;
}

.room-links {
    display: flex;
    flex-direction: column;
}

.room-link {
    margin-bottom: 10px; /* Adds some space between the buttons */
}

#head2head-table {
    width: 100%;
    table-layout: fixed; /* Ensures columns obey the width settings */
    margin: 0 auto;      /* Centers the table in its container */
  }
  
#head2head-table td:nth-child(2) {
width: 150px; /* Fixed width for the center column; adjust as needed */
}