/**
 * Phap-Thoai Audio Player Styles
 * 
 * Custom styling for audio player with Plyr.js integration
 */

/* ==========================================================================
   Audio Player Container
   ========================================================================== */

.phap-thoai-audio-player-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: rgb(253, 251, 247);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(34, 104, 165, 0.1);
}

.audio-player-container {
  max-width: 100%;
}

/* ==========================================================================
   Player Header
   ========================================================================== */

.audio-player-header {
  margin-bottom: 0.8rem;
  text-align: center;
}

.audio-player-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #000;
  line-height: 1.3;
}

.audio-player-album {
  margin: 0;
  font-size: 0.9rem;
  color: var(--global-palette4);
}

.audio-player-album a {
  color: var(--global-palette1);
  text-decoration: none;
}

.audio-player-album a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Main Player Styling (Plyr.js overrides)
   ========================================================================== */

.audio-player-main {
  margin-bottom: 1rem;
}

/* Plyr.js custom theme */
.plyr-audio {
  background: transparent;
}

.plyr--audio .plyr__controls {
  /*Please do not set background color for this element, I want it similar like white color*/

  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.plyr__control {
  color: var(--global-palette1);
  background: rgba(34, 104, 165, 0.1);
  border: 1px solid rgba(34, 104, 165, 0.2);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.plyr__control:hover {
  color: #fff;
  background: var(--global-palette1);
  border-color: var(--global-palette1);
  transform: translateY(-1px);
}

.plyr__control:focus {
  color: #fff;
  background: var(--global-palette1);
  border-color: var(--global-palette1);
  box-shadow: 0 0 0 2px rgba(34, 104, 165, 0.3);
}

.plyr__control--pressed {
  color: #fff;
  background: var(--global-palette-highlight);
  border-color: var(--global-palette-highlight);
}

.plyr__control--pressed:hover {
  background: var(--global-palette-highlight);
  transform: translateY(-1px);
}

/* Play/pause button specific styling */
.plyr__controls .plyr__control[data-plyr="play"] {
  background: var(--global-palette1);
  border: 2px solid var(--global-palette1);
  color: #fff;
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  position: relative;
}

.plyr__controls .plyr__control[data-plyr="play"]:hover {
  background: var(--global-palette-highlight);
  border-color: var(--global-palette-highlight);
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Add Font Awesome icons when SVG is missing */
.plyr__controls .plyr__control[data-plyr="play"]:before {
  font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif;
  font-weight: 900;
  content: "\f04b"; /* play icon */
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-left: 2px; /* slight adjustment for visual centering */
}

.plyr__controls .plyr__control[data-plyr="play"][aria-pressed="true"]:before {
  content: "\f04c"; /* pause icon */
  margin-left: 0;
}

/* Fallback with simple CSS triangles if Font Awesome fails */
.plyr__controls .plyr__control[data-plyr="play"]:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-left: 8px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  display: none; /* Show only if Font Awesome fails */
}

.plyr__controls .plyr__control[data-plyr="play"][aria-pressed="true"]:after {
  border: none;
  width: 3px;
  height: 12px;
  background: currentColor;
  box-shadow: 5px 0 0 currentColor;
  transform: translate(-50%, -50%);
}

/* Show fallback icons if Font Awesome is not loaded */
@supports not (font-family: "Font Awesome 6 Free") {
  .plyr__controls .plyr__control[data-plyr="play"]:before,
  .plyr__controls .plyr__control[data-plyr="mute"]:before,
  .plyr__controls .plyr__control[data-plyr="settings"]:before {
    display: none;
  }

  .plyr__controls .plyr__control[data-plyr="play"]:after,
  .plyr__controls .plyr__control[data-plyr="mute"]:after,
  .plyr__controls .plyr__control[data-plyr="settings"]:after {
    display: block;
  }
}

/* Alternative method - show emoji fallbacks after a delay to test Font Awesome loading */
.plyr__controls .plyr__control[data-plyr="play"],
.plyr__controls .plyr__control[data-plyr="mute"],
.plyr__controls .plyr__control[data-plyr="settings"] {
  font-family: "Font Awesome 6 Free", "FontAwesome", system-ui, sans-serif;
}

/* Force emoji fallback for immediate visibility */
.force-emoji-icons .plyr__controls .plyr__control[data-plyr="play"]:before,
.force-emoji-icons .plyr__controls .plyr__control[data-plyr="mute"]:before,
.force-emoji-icons .plyr__controls .plyr__control[data-plyr="settings"]:before {
  display: none !important;
}

.force-emoji-icons .plyr__controls .plyr__control[data-plyr="play"]:after,
.force-emoji-icons .plyr__controls .plyr__control[data-plyr="mute"]:after,
.force-emoji-icons .plyr__controls .plyr__control[data-plyr="settings"]:after {
  display: block !important;
}

/* Custom control buttons emoji fallbacks - make very specific */
.force-emoji-icons .audio-control-btn svg,
.mobile-device .audio-control-btn svg {
  display: none !important;
}

.force-emoji-icons .audio-control-btn:before,
.mobile-device .audio-control-btn:before {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure emoji icons persist even after dynamic content loads */
.phap-thoai-audio-player-section.force-emoji-icons .audio-control-btn:before,
.phap-thoai-audio-player-section.mobile-device .audio-control-btn:before {
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  font-size: 16px !important;
  z-index: 10 !important;
}

/* Mute button specific styling */
.plyr__controls .plyr__control[data-plyr="mute"] {
  background: rgba(34, 104, 165, 0.15);
  border: 1px solid var(--global-palette1);
  color: var(--global-palette1);
  min-width: 40px;
  height: 40px;
  border-radius: 6px;
  position: relative;
}

.plyr__controls .plyr__control[data-plyr="mute"]:hover {
  background: var(--global-palette1);
  border-color: var(--global-palette1);
  color: #fff;
}

.plyr__controls .plyr__control[data-plyr="mute"][aria-pressed="true"] {
  background: #e74c3c;
  border-color: #e74c3c;
  color: #fff;
}

.plyr__controls .plyr__control[data-plyr="mute"][aria-pressed="true"]:hover {
  background: #c0392b;
  border-color: #c0392b;
}

/* Add Font Awesome icon for mute button */
.plyr__controls .plyr__control[data-plyr="mute"]:before {
  font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif;
  font-weight: 900;
  content: "\f028"; /* volume-high icon */
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.plyr__controls .plyr__control[data-plyr="mute"][aria-pressed="true"]:before {
  content: "\f6a9"; /* volume-xmark icon (muted) */
}

/* Fallback for mute button */
.plyr__controls .plyr__control[data-plyr="mute"]:after {
  content: "🔊";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  display: none;
}

.plyr__controls .plyr__control[data-plyr="mute"][aria-pressed="true"]:after {
  content: "🔇";
}

/* Settings button specific styling */
.plyr__controls .plyr__control[data-plyr="settings"] {
  background: rgba(34, 104, 165, 0.15);
  border: 1px solid var(--global-palette1);
  color: var(--global-palette1);
  border-radius: 6px;
  position: relative;
}

.plyr__controls .plyr__control[data-plyr="settings"]:hover {
  background: var(--global-palette1);
  border-color: var(--global-palette1);
  color: #fff;
}

.plyr__controls .plyr__control[data-plyr="settings"][aria-expanded="true"] {
  background: var(--global-palette-highlight);
  border-color: var(--global-palette-highlight);
  color: #fff;
}

/* Add Font Awesome icon for settings button */
.plyr__controls .plyr__control[data-plyr="settings"]:before {
  font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif;
  font-weight: 900;
  content: "\f013"; /* gear/cog icon */
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Fallback for settings button */
.plyr__controls .plyr__control[data-plyr="settings"]:after {
  content: "⚙️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  display: none;
}

/* Hide default Plyr SVG icons to prevent conflicts with Font Awesome */
.plyr__controls .plyr__control[data-plyr="play"] svg,
.plyr__controls .plyr__control[data-plyr="mute"] svg,
.plyr__controls .plyr__control[data-plyr="settings"] svg {
  display: none;
}

.plyr__progress {
  background: rgba(255, 255, 255, 0.2);
}

.plyr__progress--buffer {
  background: rgba(255, 255, 255, 0.3);
}

.plyr__progress--played {
  background: var(--global-palette-highlight-alt);
}

.plyr__volume {
  max-width: 100px;
}

.plyr__time {
  font-size: 0.875rem;
  color: var(--global-palette1);
  background: rgba(34, 104, 165, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
  border: 1px solid rgba(34, 104, 165, 0.2);
}

/* ==========================================================================
   Custom Controls
   ========================================================================== */

.audio-player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.audio-control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--global-palette1);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(34, 104, 165, 0.2);
  position: relative;
}

.audio-control-btn:hover {
  background: var(--global-palette1);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-color: var(--global-palette1);
}

.audio-control-btn:active {
  transform: translateY(0);
}

.audio-control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.audio-control-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  pointer-events: none;
  position: relative;
  z-index: 2;
}

/* Ensure SVG icons are always visible */
.audio-control-btn svg path,
.audio-control-btn svg rect {
  fill: currentColor;
}

/* iOS-specific fixes for control buttons */
@supports (-webkit-appearance: none) {
  .audio-control-btn {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }
  
  .audio-control-btn:focus {
    outline: 2px solid var(--global-palette1);
    outline-offset: 2px;
  }
}

/* Add emoji fallbacks for custom control buttons */
.audio-control-btn:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  display: none;
  z-index: 1;
  font-family: "SF Pro Text", -apple-system, system-ui, sans-serif;
}

/* Previous track button fallback */
#phap-thoai-prev-track:before {
  content: "⏮";
}

/* Next track button fallback */
#phap-thoai-next-track:before {
  content: "⏭";
}

/* Playlist toggle button fallback */
#phap-thoai-toggle-playlist:before {
  content: "☰";
}

/* iOS-specific control button fixes */
@supports (-webkit-touch-callout: none) {
  .audio-control-btn {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
  }
  
  /* Ensure SVG icons are properly displayed on iOS */
  .audio-control-btn svg {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .audio-control-btn svg path,
  .audio-control-btn svg rect {
    fill: currentColor !important;
    stroke: none !important;
  }
}

/* Show emoji fallbacks on mobile if SVG is not visible */
@media (max-width: 768px) {
  .force-emoji-icons .audio-control-btn svg {
    display: none !important;
  }
  
  .force-emoji-icons .audio-control-btn:before {
    display: block !important;
  }
  
  /* iOS Safari specific fixes */
  @supports (-webkit-touch-callout: none) {
    .audio-control-btn {
      border: 2px solid rgba(34, 104, 165, 0.3);
    }
    
    .audio-control-btn svg {
      width: 16px;
      height: 16px;
    }
  }
}

.audio-track-info {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--global-palette1);
  min-width: 60px;
  justify-content: center;
}

.track-separator {
  color: var(--global-palette4);
}

/* ==========================================================================
   Playlist
   ========================================================================== */

.audio-player-playlist {
  margin-top: 1rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(34, 104, 165, 0.1);
}

.playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--global-palette1);
  color: #fff;
}

.playlist-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.playlist-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.playlist-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.playlist-items {
  max-height: 300px;
  overflow-y: auto;
}

.playlist-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(34, 104, 165, 0.1);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.playlist-item:hover {
  background: rgba(34, 104, 165, 0.05);
}

.playlist-item:last-child {
  border-bottom: none;
}

.playlist-item.current {
  background: rgba(34, 104, 165, 0.1);
  border-left: 4px solid var(--global-palette1);
  color: var(--global-palette1);
}

.playlist-item-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--global-palette1);
  color: #fff;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 600;
  margin-right: 1rem;
  flex-shrink: 0;
}

.playlist-item.current .playlist-item-number {
  background: var(--global-palette-highlight);
}

.playlist-item-content {
  flex: 1;
  min-width: 0;
}

.playlist-item-title {
  font-weight: 500;
  /* color: var(--global-palette1); */
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-item-duration {
  font-size: 0.875rem;
  color: var(--global-palette4);
}

/* ==========================================================================
   States (Loading, Error)
   ========================================================================== */

.audio-player-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(34, 104, 165, 0.1);
  border-top: 3px solid var(--global-palette1);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.audio-player-error {
  padding: 1rem;
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 4px;
  color: #a00;
  text-align: center;
}

.audio-player-error a {
  color: #a00;
  font-weight: 500;
}

/* ==========================================================================
   Download Button
   ========================================================================== */

.audio-player-download {
  text-align: center;
  margin-top: 1rem;
}

.audio-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--global-palette1);
  border-radius: 4px;
  color: var(--global-palette1);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.audio-download-btn:hover {
  background: var(--global-palette1);
  color: #fff;
}

.audio-download-btn svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Screen Reader Support
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  .phap-thoai-audio-player-section {
    margin: 1.5rem 0;
    padding: 1rem;
  }

  .audio-player-title {
    font-size: 1.125rem;
  }

  .audio-player-controls {
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .audio-control-btn {
    width: 40px;
    height: 40px;
    border-radius: 6px;
  }

  .audio-control-btn svg {
    width: 16px;
    height: 16px;
  }
  
  /* Make SVG icons more visible on mobile */
  .audio-control-btn svg path,
  .audio-control-btn svg rect {
    fill: currentColor !important;
    stroke: none;
  }
  
  /* iOS-specific mobile fixes */
  @supports (-webkit-touch-callout: none) {
    .audio-control-btn {
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid rgba(34, 104, 165, 0.4);
      color: var(--global-palette1);
    }
    
    .audio-control-btn:active {
      background: var(--global-palette1);
      color: #fff;
    }
  }

  .plyr--audio .plyr__controls {
    padding: 0.75rem;
  }

  .playlist-items {
    max-height: 250px;
  }

  .playlist-item {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .phap-thoai-audio-player-section {
    margin: 1rem 0;
    padding: 0.75rem;
  }

  .audio-player-title {
    font-size: 1rem;
    line-height: 1.4;
  }

  .audio-player-controls {
    gap: 0.5rem;
    padding: 0.5rem;
  }

  .audio-control-btn {
    width: 36px;
    height: 36px;
    border-radius: 4px;
  }

  .audio-control-btn svg {
    width: 14px;
    height: 14px;
  }
  
  /* Increase visibility for very small screens */
  .audio-control-btn svg path,
  .audio-control-btn svg rect {
    fill: currentColor !important;
    stroke: none;
  }
  
  /* Ensure emoji fallbacks are properly sized */
  .audio-control-btn:before {
    font-size: 12px;
  }
  
  /* iOS-specific small screen fixes */
  @supports (-webkit-touch-callout: none) {
    .audio-control-btn {
      background: rgba(255, 255, 255, 0.95);
      border: 1px solid rgba(34, 104, 165, 0.5);
      min-height: 36px;
      min-width: 36px;
    }
  }

  .audio-track-info {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    min-width: 50px;
  }

  .plyr__time {
    font-size: 0.8125rem;
  }

  .playlist-item-title {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   Dark Mode Support (Optional)
   ========================================================================== */

/* @media (prefers-color-scheme: dark) {
  .phap-thoai-audio-player-section {
    background-color: rgba(20, 20, 20, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .audio-player-playlist {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.1);
  }

  .playlist-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .playlist-item:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .playlist-item.current {
    background: rgba(255, 255, 255, 0.1);
  }

  .playlist-item-title {
    color: #fff;
  }

  .playlist-item-duration {
    color: #ccc;
  }

  .audio-player-controls {
    background: rgba(255, 255, 255, 0.1);
  }

  .audio-track-info {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
  }
} */

.plyr--full-ui input[type="range"] {
  color: #a00;
}

/* ==========================================================================
   iOS-specific Fixes
   ========================================================================== */

/* iOS Safari specific fixes for audio controls */
@supports (-webkit-appearance: none) and (not (overflow: -webkit-marquee)) {
  .audio-control-btn {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--global-palette1) !important;
    border: 1px solid rgba(34, 104, 165, 0.3) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  }
  
  .audio-control-btn:hover,
  .audio-control-btn:active {
    background: var(--global-palette1) !important;
    color: #fff !important;
    border-color: var(--global-palette1) !important;
  }
  
  .audio-control-btn svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .audio-control-btn svg path,
  .audio-control-btn svg rect {
    fill: currentColor !important;
    stroke: none !important;
    opacity: 1 !important;
  }
}

/* Force proper display on iOS WebKit browsers */
@supports (-webkit-touch-callout: none) {
  .phap-thoai-audio-player-section {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  .audio-player-controls {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  .audio-control-btn {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
  }
  
  .audio-control-btn svg {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

/* iOS Chrome specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
  .audio-control-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(34, 104, 165, 0.4);
  }
  
  .audio-control-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Fix for iOS Safari button appearance */
@supports (-webkit-appearance: none) {
  .audio-control-btn {
    -webkit-appearance: none;
    appearance: none;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .audio-control-btn:focus {
    outline: 2px solid var(--global-palette1);
    outline-offset: 2px;
  }
}
