body {
    font-family: Arial, sans-serif;
    margin: 40px;
    width: 950px;
    /* Fixed width */
}

.tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    /* border-bottom: 2px solid #ccc; */
    cursor: pointer;
    /* width: 800px; */
}

.tab {
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-bottom: none;
    background-color: #f1f1f1;
    text-align: center;
}

.tab.active {
    background-color: white;
    font-weight: bold;
    border-top: 2px solid #007BFF;
    border-left: 2px solid #007BFF;
    border-right: 2px solid #007BFF;
    /* fixed the missing '2' */
}

.tab-content {
    display: none;
    padding: 20px;
    border: 2px solid #007BFF;
    /* border-top: none; */
    width: 1050px;
    /* Match the tab width */
}

.tab-content.active {
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th,
td {
    padding: 8px 12px;
    border: 1px solid #ccc;
    text-align: left;
}

th {
    background-color: #007BFF;
    color: white;
}


#hero-filter {
    margin-bottom: 10px;
    padding: 8px;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}


/* Tab 1 css */

.units-container {
    display: flex;                /* Align child elements horizontally */
    justify-content: flex-start;  /* Align elements to the left */
    flex-wrap: nowrap;            /* Prevent wrapping of the child elements */
    width: 100%;                  /* Ensure the container takes full width of the parent */
    gap: 10px;                    /* Add horizontal spacing between the child elements */
    box-sizing: border-box;       /* Make sure padding doesn't affect layout */
}

.units-container>div {
    width: calc(25% - 10px);  /* Each div takes 25% of the width minus gap space */
    padding: 10px;
    box-sizing: border-box;   /* Include padding and border in the width */
    min-width: 200px;         /* Prevent the div from becoming smaller than 200px */
}

.unitClass {
    border: 2px solid black;
    padding: 10px;
    width: 200px;            /* Container width */
    box-sizing: border-box;  /* Ensure border + padding are inside the 200px width */
    text-align: center;      /* Center the content inside the container */
}

input {
    width: 80%;               /* Make the input take up 80% of the .unitClass width */
    box-sizing: border-box;   /* Ensures padding/border on the input does not affect its width */
    margin-bottom: 10px;      /* Optional, to add space between the input and button */
    margin-top: 10px;         /* Optional, to add space between the input and button */
    font-weight: bold;
}

input::placeholder {
    color: #aaa;       /* Lighter gray */
    font-weight: 300;    /* Thinner text, if supported */
    opacity: 1;          /* Ensures visibility in all browsers */
}


#hero-filter {
    width: 300px
}

button {
    width: 150px;    /* Fixed button width */
    margin: 0 auto;  /* Centers the button horizontally inside */
}

#hero-table th:nth-child(1),
#hero-table td:nth-child(1) {
    width: 150px;
}

#hero-table th:nth-child(2),
#hero-table td:nth-child(2),
#hero-table th:nth-child(3),
#hero-table td:nth-child(3) {
    width: 50px;
    text-align: center;
}




.dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    max-height: 400px;
    overflow-y: auto;
    position: absolute;
    background-color: white;
    width: 200px;
    display: none;
}

.dropdown-list li {
    padding: 8px;
    cursor: pointer;
}

.dropdown-list li:hover {
    background-color: #f0f0f0;
}


.dropdown-list li.highlighted {
    background-color: #007BFF;
    color: white;
}

.dropdown-list li {
    padding: 5px 10px;
    cursor: pointer;
}

.dropdown-list li.highlight {
    background-color: #bde4ff;
}

.search-hero {
    font-size: 16px;
    height: 30px;
    padding: 6px 12px;
    width: 100%;
    box-sizing: border-box;
    font-weight: bold;
}

