body {
    background-color: #F5F9FF;
}



/* search */
.heading, h2, img {
    display: flex;
    gap: 12px;
    margin: 7px;
    margin-top: 20px;
}
.heading h2 {
    position: relative;
    bottom: 5px;
}

/* search */
header {
    display: flex;
    justify-content: center; /* Center the search bar horizontally */
    padding: 10px 0;
}

.search-bar {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px; /* Adjust width as needed */
    position: relative;
    margin: 0 auto; /* Center the search bar */
}

.search-bar .search-icon {
    position: absolute;
    left: 7px;
    width: 20px;
    height: 20px;
    top: 0px; /* Center vertically */
    transform: translateY(-50%); /* Adjust for exact centering */
}

.search-bar input[type="text"] {
    width: 100%; /* Take full width of the container */
    padding: 10px 40px; /* Adjust padding for space inside the search bar */
    height: 40px; /* Increase height for a larger search bar */
    border: 1px solid #ccc; /* Updated border color for visibility */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
    outline: none;
}

.search-bar .filter-icon {
    position: absolute;
    right: 0px; /* Position to the right inside the search bar */
    width: 40px;
    height: 40px;
    top: 0px; /* Center vertically */
    transform: translateY(-50%); /* Adjust for exact centering */
}

/* Dropdown content for search history */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 5px;
}

.dropdown-content p {
    padding: 12px 16px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.dropdown-content p:last-child {
    border-bottom: none;
}

.dropdown-content p:hover {
    background-color: #f1f1f1;
}

.dropdown-content p .delete-icon {
    margin-left: 10px;
    color: #888;
    cursor: pointer;
}

#search-history.show {
    display: block;
}

/* test */
.test-info {
    background-color: #EBEBEB;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap; /* Prevent wrapping to keep items in a single row */
    cursor: pointer; /* Make it clear that the div is clickable */
    padding: 20px; /* Add padding */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add box shadow */
    margin-left: 10px;
    margin-right: 10px;
   
}

/* Each <p> element will have equal space around it */
.test-info p {
    color: #007bff;
    margin: 0;
    flex: 1;
    text-align: center;
}

/* Mobile View for Your Test */
@media (max-width: 600px) {
    .container {
        padding: 10px;
        margin-bottom: 100px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .see-all {
        margin-top: 10px;
    }

    .test-info {
        flex-direction: row; /* Ensure items are in a row */
        overflow-x: auto; /* Allow horizontal scrolling if needed */
        flex-wrap: nowrap; /* Prevent wrapping */
    }
}

/* Navbar */
.navbar {
    position: fixed;
    bottom: 0;
    left: 0; /* Ensures it starts from the left edge */
    width: 100%; /* Full width */
    background-color: #F5F9FF;
    display: flex;
    justify-content: center; /* Center the navbar content */
    padding: 10px 0;
    margin: 0; /* Remove margin */
    z-index: 99999 !important;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
    justify-content: space-around;
}

.navbar li {
    flex: 1;
    text-align: center;
}

.nav-link {
    display: block;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
    color: #757575;
    font-weight: bold;
}

.nav-link i {
    display: block;
    margin-bottom: 5px;
    font-size: 20px;
}

.nav-link:hover {
    color: #000;
}

.nav-link.active {
    color: #000;
}
