/* Base Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1E1E1E; /* Dark background */
    color: #FFD700; /* Gold text */
}

header {
    background-color: #2B2B2B; /* Darker header background */
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 24px;
    margin: 0;
    color: #FFD700; /* Gold header text */
}

header button, #search-bar {
    padding: 10px;
    font-size: 16px;
    background-color: #5A5A5A; /* Dark gray buttons */
    color: #FFD700; /* Gold text */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid #FFD700; /* Gold border */
}

header button:hover, #search-bar:hover {
    background-color: #FFD700; /* Gold background on hover */
    color: #2B2B2B; /* Dark text */
}

#search-bar {
    display: none;
}

main {
    padding: 20px;
}

#book-list, #chapter-list {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#book-list button, #chapter-list button {
    background-color: #5A5A5A; /* Dark gray buttons */
    color: #FFD700; /* Gold text */
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid #FFD700; /* Gold border */
}

#book-list button:hover, #chapter-list button:hover {
    background-color: #FFD700; /* Gold background on hover */
    color: #2B2B2B; /* Dark text */
}

#audio-controls {
    margin-top: 20px;
}

#audio-controls button {
    background-color: #5A5A5A; /* Dark gray buttons */
    color: #FFD700; /* Gold text */
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-right: 10px;
    border: 2px solid #FFD700; /* Gold border */
}

#audio-controls button:hover {
    background-color: #FFD700; /* Gold background on hover */
    color: #2B2B2B; /* Dark text */
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #2B2B2B; /* Darker footer background */
}

footer button {
    background-color: #5A5A5A; /* Dark gray buttons */
    color: #FFD700; /* Gold text */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    border: 2px solid #FFD700; /* Gold border */
}

footer button:hover {
    background-color: #FFD700; /* Gold background on hover */
    color: #2B2B2B; /* Dark text */
}

/* Notification */
#notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #FFD700; /* Gold notification background */
    color: #2B2B2B; /* Dark text */
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#notification.visible {
    display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    #books-btn {
        display: none;
    }

    #search-bar {
        display: block;
        width: 100%;
        margin-top: 10px;
        background-color: #2B2B2B;
        color: #FFD700;
    }

    footer {
        flex-direction: column;
    }

    footer button {
        width: 100%;
        margin: 5px 0;
    }
}

#notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #3C3D37;
    color: #ECDFCC;
    padding: 10px 20px;
    border: 2px solid #697565;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-size: 16px;
    display: none;
}

#notification.visible {
    display: block;
    border: 5px solid #ECDFCC;
    animation: fadeOut 3s ease-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    90% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
        display: none;
    }
}
