/* Grid layout for MP3 preview cards */
.wcmp3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 15px;
    margin: 20px 0;
}

/* Card styling */
.wcmp3-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

/* File name styling */
.wcmp3-file-name {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Play/stop button styling */
.wcmp3-play-button {
    text-decoration: none !important;
    background: transparent; /* No background */
    border: none; /* Remove default border */
    cursor: pointer;
    height: 50px; /* Adjust based on your image size */
    width: 50px; /* Adjust based on your image size */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* Remove default padding */
    outline: none; /* Remove focus outline */
}

/* Hide stop icon by default */
.wcmp3-stop-icon {
    display: none;
}

/* Show stop icon when playing */
.wcmp3-playing .wcmp3-play-icon {
    display: none;
}

.wcmp3-playing .wcmp3-stop-icon {
    display: inline;
}

/* Remove any browser-specific button styles */
.wcmp3-play-button::-moz-focus-inner {
    text-decoration: none !important;
    border: 0; /* Remove Firefox inner border */
}

/* Responsive adjustments for tablets */
@media (max-width: 768px) {
    .wcmp3-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row on tablets */
    }
}

/* Responsive adjustments for mobile phones */
@media (max-width: 480px) {
    .wcmp3-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 card per row on mobile phones */
    }
}