/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* --- Analysis Result UI Enhancements --- */

/* 1. Good/Bad Point Cards */
.analysis-point-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s;
}

@media (hover: hover) {
    .analysis-point-card:hover {
        transform: translateX(5px);
        background: rgba(255, 255, 255, 0.08);
    }
}

.point-icon {
    margin-top: 3px;
    flex-shrink: 0;
}

.point-text {
    font-size: 0.95rem;
    color: #eee;
    line-height: 1.5;
}

/* Good Points Specifics */
.card-good {
    border-left: 3px solid #00ff88;
}

.card-good .point-icon {
    color: #00ff88;
}

/* Bad Points Specifics */
.card-bad {
    border-left: 3px solid #ff4b4b;
}

.card-bad .point-icon {
    color: #ff4b4b;
}

/* 2. Action Plan (Step UI) */
.action-step-card {
    position: relative;
    padding: 15px 15px 15px 45px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 15px 15px 0;
    border-left: 4px solid var(--accent-color);
}

.step-number {
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--accent-color);
    color: #000;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.step-content {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-content strong {
    color: #fff;
    font-weight: 600;
    background: rgba(255, 215, 0, 0.15);
    padding: 0 4px;
    border-radius: 4px;
}

/* Progress Bar Decoration for Steps */
.action-step-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
    z-index: -1;
    border-radius: 0 15px 15px 0;
}

/* === 📱 MOBILE INLINE STYLES OPTIMIZATION === */
@media (max-width: 600px) {
    /* 인라인 스타일 요소들 모바일 최적화 */

    /* 대시보드 헤더 내부 요소 */
    .dashboard-header>div[style*="display:flex"] {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    /* 차트 범례 */
    #custom-chart-legend {
        gap: 10px !important;
        font-size: 0.85rem !important;
        flex-wrap: wrap !important;
    }

    /* YouTube 임베드 컨테이너 */
    .youtube-embed-container iframe,
    .youtube-embed-container>div {
        height: 220px !important;
    }

    /* 드릴 비디오 프레임 */
    #drill-video-frame,
    #drill-video-placeholder {
        height: 220px !important;
    }

    /* 그리드 레이아웃 강제 단일 컬럼 */
    div[style*="grid-template-columns: repeat"] {
        grid-template-columns: 1fr !important;
    }

    /* 버튼 그룹 간격 */
    div[style*="display: flex"][style*="gap"] {
        gap: 12px !important;
    }

    /* 섹션 구분선 상단 여백 */
    div[style*="border-top"][style*="padding-top"] {
        padding-top: 20px !important;
        margin-top: 25px !important;
    }
}