bodybody {
    background-color: #f5f5f5;
    color: #333;
    font-family: Arial, sans-serif;
    overflow: auto;
    height: 100vh;
    margin: 0;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex: 1;
    width: 100%;
    min-height: calc(100vh - 50px);
    box-sizing: border-box;
}

.title {
    font-size: 2em;
    color: #d43c33;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.input-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.input-container input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 30px;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s;
}

.input-container input:focus {
    border-color: #d43c33;
    outline: none;
}

.input-container button {
    padding: 10px 20px;
    background-color: #d43c33;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.input-container button:disabled {
    background-color: #b32e28;
}


.music-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.music-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    width: 150px;
    height: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.music-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.music-card img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
}

.music-info {
    text-align: center;
    margin-top: 10px;
}

.music-info h2 {
    font-size: 1em;
    color: #333;
}

.music-info p {
    font-size: 0.8em;
    color: #666;
}

.btn-action {
    background-color: #d43c33;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-action:hover {
    background-color: #b32e28;
}

.loading {
    text-align: center;
    font-size: 1.2em;
    color: #333;
    margin-top: 20px;
}

.loading .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #d43c33;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.player {
    display: flex;
    align-items: center;
    margin-top: 20px;
    width: 100%;
    max-width: 500px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.player-cover {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
}

.player-info {
    flex: 1;
    margin-left: 10px;
}

.player-info h2 {
    font-size: 1.2em;
    color: #333;
}

.player-info p {
    font-size: 0.9em;
    color: #666;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background-color: #ccc;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
}

.progress {
    height: 100%;
    background-color: #d43c33;
}

.controls {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}