/* modal.css */

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #293045;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 2px 0px;
    border-radius: 5px;
    position: relative;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px; /* Max width */
    color: #ffffff;
    font-family: 'Afacad Flux', sans-serif;
    font-size: 20px;
    text-align: center;
}

.modal-header {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Close Button */
.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

/* Search options (tabs) */
.search-options {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.search-tab {
    background-color: #35455e;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
}

.search-tab:hover {
    background-color: #476196;
}

.search-tab.active {
    background-color: #ffffff;
    color: #293045;
}

/* Search input */
#searchInput {
    width: calc(100% - 80px); /* Adjust width based on button size */
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px; /* Match tab border radius */
    font-size: 16px;
}

/* Clear button */
.modal-content button {
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #35455e;
    color: #ffffff;
    border-radius: 0 5px 5px 0; /* Match tab border radius */
    cursor: pointer;
}

/* Search results */
.search-results {
    max-height: 300px;
    overflow-y: auto;
}

.search-results div {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.search-results div a {
    color: #ffffff;
    text-decoration: none;
}

.search-results div a:hover {
    text-decoration: underline;
}

.number {
    color: #D3D3D3; /* Set the color of numbers to white-gray */
}