/* 유튜브 음성 다운로드 스타일 - mockup-generator 디자인 언어 차용 (red 테마) */
.ytaudio-tool {
    --tool-primary: #ef4444;
    --tool-bg: #fef2f2;
    --tool-gradient: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

/* 히어로 */
.ytaudio-hero {
    background: var(--tool-gradient);
    border-radius: 16px;
    padding: 36px 32px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
}
.ytaudio-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}
.ytaudio-hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -60px;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}
.ytaudio-hero h1 {
    font-size: 28px;
    font-weight: 800;
    position: relative;
    z-index: 1;
    margin: 10px 0 6px;
}
.ytaudio-hero p {
    opacity: 0.85;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

/* 에디터 카드 */
.editor-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
}
.editor-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f5;
}
.editor-title {
    font-weight: 700;
    font-size: 14px;
    color: #343a40;
}
.editor-title i {
    color: var(--tool-primary);
}
.editor-body {
    padding: 18px;
}

/* URL 입력 / 셀렉트 포커스 */
.ytaudio-tool .form-control:focus,
.ytaudio-tool .form-select:focus {
    border-color: var(--tool-primary);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* 액션 버튼 */
.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.btn-action:hover {
    border-color: var(--tool-primary);
    color: var(--tool-primary);
    background: var(--tool-bg);
}
.btn-action-primary {
    background: var(--tool-gradient);
    border: none;
    color: #fff;
}
.btn-action-primary:hover {
    background: var(--tool-gradient);
    border: none;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.3);
}
/* 비활성 상태에서 hover 효과 제거 */
.btn-action:disabled,
.btn-action:disabled:hover,
.btn-action-primary:disabled,
.btn-action-primary:disabled:hover {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 결과 - 영상 정보 */
.ytaudio-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}
.ytaudio-meta-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12.5px;
    font-weight: 600;
    color: #495057;
    background: #f1f3f5;
    padding: 4px 12px;
    border-radius: 20px;
}
.ytaudio-info-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tool-primary);
    background: var(--tool-bg);
    border: 1px solid #fecaca;
    padding: 5px 12px;
    border-radius: 20px;
}

/* 로딩 영역 */
.ytaudio-tool .spinner-border {
    color: var(--tool-primary) !important;
}

/* 다운로드 진행 바 */
.ytaudio-tool .progress-bar {
    background-color: var(--tool-primary) !important;
}

/* 미리보기 플레이어 */
.ytaudio-player {
    border-radius: 12px;
    overflow: hidden;
}

/* 저작권 안내 */
.ytaudio-notice {
    background: var(--tool-bg);
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 18px 20px;
}
.ytaudio-notice li {
    color: #7f1d1d;
    line-height: 1.6;
}
.ytaudio-notice li + li {
    margin-top: 6px;
}

/* 서포트 카드 */
.support-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
}
.support-card .card-hd {
    padding: 14px 18px;
    font-weight: 700;
    font-size: 15px;
    border-bottom: 1px solid #f1f3f5;
}
.support-card .card-bd {
    padding: 18px;
}
.support-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: #343a40;
    margin: 18px 0 10px;
}

/* 아코디언 */
.ytaudio-tool .accordion-button:not(.collapsed) {
    background-color: var(--tool-bg);
    color: var(--tool-primary);
    box-shadow: none;
}
.ytaudio-tool .accordion-button:focus {
    box-shadow: none;
}

/* 반응형 */
@media (max-width: 768px) {
    .ytaudio-hero { padding: 28px 20px; border-radius: 12px; }
    .ytaudio-hero h1 { font-size: 22px; }
}
