.floating-music-player iframe {
    width: 300px !important;
    height: 150px !important;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: none;
}

@media (max-width: 767px) {
    .floating-music-player iframe {
        width: 200px !important; /* Smaller width for mobile */
        height: 100px !important; /* Smaller height for mobile */
        bottom: 10px !important;
        right: 10px !important;
    }
}

.player-container {
    background: #000000; /* Light background */
    padding: 10px; /* Padding around the iframe */
    border-radius: 12px; /* Slightly larger radius for the container */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.floating-music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    animation: fadeIn 1s ease-in;
}
.floating-music-player iframe {
    width: 280px !important;
    height: 130px !important;
    border: none;
}
.player-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center text and iframe horizontally */
    position: relative; /* Allow absolute positioning of buttons */
}
.player-title {
    color: #f9f9f9;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: center;
}
.close-player {
    position: absolute;
    top: -10px;
    right: 5px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.close-player:hover {
    background: #ff6f61;
}
.minimized-player {
    background: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.minimized-player:hover {
    background: #ff6f61;
}
@media (max-width: 767px) {
    .floating-music-player {
        right: auto;
        left: 50%;
        transform: translateX(-50%); /* Center on mobile */
        bottom: 10px;
    }
    .floating-music-player iframe {
        width: 180px !important; /* Explicitly set to 180px */
        height: 100px !important;
    }
    .player-title {
        font-size: 14px;
    }
    .close-player {
        top: -8px;
        right: 3px;
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    .minimized-player {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile default logo size */
.custom-logo {
  width: 200px !important;
  height: auto !important;
  max-width: 100%;
}

/* Desktop logo size */
@media (min-width: 768px) {
  .custom-logo {
    width: 343px !important; /* Adjust as needed */
    height: auto !important;
  }
}

.sfm-button {
  display: none !important;
}

/* Desktop: center the slide caption container */
@media (min-width: 768px) {
  .eead-slide-caption-container {
    max-width: 1200px; /* adjust width as needed */
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile: full width with side padding */
@media (max-width: 767px) {
  .eead-slide-caption-container {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 15px;  /* optional */
    padding-right: 15px; /* optional */
  }
}

