.febc-modern-audio-wrapper {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
}

.febc-modern-player {
    all: initial;
    display: flex;
    flex-direction: column; /* 상하 구조로 변경 */
    gap: 12px; /* 위 아래 간격 */
    background: #1e1e1e;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    font-family: 'Segoe UI', sans-serif;
    color: white;
    box-sizing: border-box;
    width: 100%;
    margin-top:10px;
}

.febc-modern-player video {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
}

.febc-modern-control-box {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.febc-modern-slider {
  width: 100%;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: #444;
  max-width: 100%;
  position: relative;
}
.febc-modern-slider.volume-bar {
    flex: 0 0 120px;
    margin-left: -20px; 
}

/* Webkit (크롬, 사파리 등) */
.febc-modern-slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  background: #fe508b;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  
  position: relative;
  z-index: 2;
  
}

/* Firefox용 */
.febc-modern-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #fe508b;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

/* Firefox의 트랙 중앙 정렬 보정 */
.febc-modern-slider::-moz-range-track {
  height: 8px;
  background: #444;
  border-radius: 4px;
}

.febc-modern-time-box {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  opacity: 0.8;
  min-width: 80px;
  max-width: 120px;
  flex: 0 0 80px;
}

.febc-modern-hidden {
  display: none !important;
}

.febc-modern-slider.volume-bar {
  flex: 0 0 120px;
}

.febc-modern-fullscreen-button {
    background: transparent;
    border: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    cursor:pointer;
}

.febc-video-wrapper {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
}

.febc-video-element {
  width: 100%;
  height: auto;
  max-height: 70vh; /* 최대 높이 제한 */
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background-color: black;
}
.febc-video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}
.febc-video-overlay-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    color: white;
    opacity: 0.7;
    z-index: 2;
    cursor: pointer;
    transition: opacity 0.2s ease;
    user-select: none;
}
.febc-video-overlay-play,
.febc-video-hover-toggle {
    position: absolute;
    width: 64px;
    height: 64px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.7;
    cursor: pointer;
    z-index: 5;
}


.febc-video-wrapper:hover .febc-video-overlay-button {
    opacity: 1;
}
.play-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  vertical-align: middle;
}
.control-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  vertical-align: middle;
}

.febc-modern-play-button,
.febc-modern-mute-button {
    background: transparent;
    border: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor:pointer;
}
.febc-modern-play-button {
  margin-right:-20px;
}
