body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 20px;
    color: #333;
    position: relative;
    min-height: 100vh;
    padding-bottom: 100px; /* Increased space for the audio player */
}

#app {
    width: 80%;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Ensures box-shadow isn't cut off */
}

h1 {
    color: #5D5C61;
    margin-bottom: 1em; /* Spacing between title and content */
}

/* Category button styles */
.category-button {
    background: #8A9BAE;
    border: none;
    padding: 10px 15px;
    margin-right: 10px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-family: inherit;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.category-button:hover {
    background-color: #6C7A89;
}

.category-button.active {
    background-color: #3A7FFF;
    cursor: default;
}

/* File button styles */
.file-button {
    background: #3A7FFF;
    border: none;
    color: white;
    cursor: pointer;
    display: block;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: left;
    width: calc(100% - 20px); /* Account for padding */
}

.file-button:hover {
    background-color: #7289AB;
}

.file-button:disabled, .file-button.disabled {
    background: #C5C6C7;
    color: #6B6E70;
    cursor: not-allowed;
}

/* Now Playing and Download styles */
.info-container {
    margin-top: 20px;
    padding: 10px;
    background: #5CDB95;
    border-radius: 5px;
    color: white;
    text-align: center;
}

.download-button {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.2s ease;
    display: block;
    margin: 10px auto; /* Center button */
    width: 90%;
}

.download-button:hover {
    background-color: #45a049;
}

/* Audio Player styles */
audio {
    position: fixed;
    bottom: 20px; /* Raise slightly from the bottom */
    left: 50%;
    transform: translateX(-50%); /* Center align */
    width: 60%;
    max-width: 600px; /* Don't let it grow too large */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    background: white;
    border-radius: 10px;
    padding: 10px;
}

/* Transition styles */
.fade-enter {
    opacity: 0.01;
}

.fade-enter.fade-enter-active {
    opacity: 1;
    transition: opacity 500ms ease-in;
}

.fade-exit {
    opacity: 1;
}

.fade-exit.fade-exit-active {
    opacity: 0.01;
    transition: opacity 300ms ease-in;
}
