body {
    font-family: Arial, sans-serif;
}

#pdf-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.pdf-cover {
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    width: 200px;
}

#pdf-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.hidden {
    display: none !important;
}

#close-popup {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 44px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

#pdf-viewer {
    width: 65%;
    height: 80%;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    overflow: auto;
    margin-top: 65px;
}

@media (max-width: 680px) {
    

#pdf-viewer {
    width: 95%;
    height: 90%;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    overflow: auto;
    margin-top: 65px;
}

}
/* Add this code snippet to the end of the existing styles */
#search-container {
    margin-bottom: 16px;
}

#search-input {
    width: 80%;
    padding: 8px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Add this code snippet to the end of the existing styles */
#button-container {
    display: flex;
    gap: 8px;
}

button {
    padding: 8px 16px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

#pdf-dropdown {
    position: absolute;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    padding: 8px;
    border-radius: 4px;
    z-index: 1000;
    margin-top: 65px;
}

#pdf-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#pdf-list li {
    padding: 8px 16px;
    cursor: pointer;
}

#pdf-list li:hover {
    background-color: #f1f1f1;
    display: block;
}

.pdf-cover {
    display: block;
}

.pdf-cover.hidden {
    display: none;
}