/* 🔥 SECTION: Comprehensive Analysis Section Styles START */

/* 스켈레톤 로딩 애니메이션 */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-row {
    opacity: 0.6;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 20px;
    margin: 8px 0;
}

/* 섹션 전용 스타일 - 백테스팅과 동일한 구조 */
#comprehensive-section.section-container.active {
    display: block;
    padding: 20px 40px;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: calc(100vh - 60px);
    background: #f0f2f5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
    overflow-y: auto;
}

/* Hero Section은 base.css에서 제공 */

#comprehensive-section .card {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

/* AI전략생성 input-card와 동일한 상단 보라색 라인 (테이블이 있는 카드 제외) */
#comprehensive-section .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
}

/* 테이블이 있는 카드(종합분석 표 컨테이너)에는 보라색 라인 제거 */
#comprehensive-section .card:has(.table-responsive)::before,
#comprehensive-section .card:has(#comprehensive-analysis-table)::before {
    display: none;
}

#comprehensive-section .card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Filter Section Styling */
#comprehensive-section .form-label {
    font-weight: 600;
    color: #344767;
    margin-bottom: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#comprehensive-section .form-control,
#comprehensive-section .form-select {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    background-color: #f8fafc;
    transition: all 0.2s ease;
    color: #495057;
}

#comprehensive-section .form-control:focus,
#comprehensive-section .form-select:focus {
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* 버튼 스타일은 base.css에서 제공 */

/* Table Styling */
#comprehensive-section .table-responsive {
    border-radius: 0 0 20px 20px;
    overflow: hidden; /* Ensure corners are clipped */
}

#comprehensive-section .table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

#comprehensive-section .table thead th {
    background: #1e293b; /* Dark Navy Background */
    color: #ffffff; /* White Text */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 16px 12px;
    border-bottom: none;
    border-top: none;
    white-space: nowrap;
    text-align: center; /* Center align by default */
}

#comprehensive-section .table thead th:first-child {
    text-align: left; /* Left align Coin Name */
    padding-left: 24px; /* Add some padding for better visual */
}

#comprehensive-section .table thead th.sortable:hover {
    background-color: #334155 !important; /* Slightly lighter on hover */
    color: #ffffff !important;
}

#comprehensive-section .table thead th.sortable.sort-active {
    background-color: #2563eb; /* Blue for active sort */
    color: #ffffff;
}

#comprehensive-section .sort-icon {
    font-size: 0.75rem;
    margin-left: 6px;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.8); /* Light icon */
    transition: all 0.2s;
}

/* Coin Name Styling */
.coin-name-cell {
    vertical-align: middle !important;
    padding-left: 24px !important; /* Ensure left padding matches header */
}

.coin-name-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coin-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #ffffff; /* Fallback background */
}

.coin-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.coin-name-kr {
    display: block;
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
    line-height: 1.2;
}

.coin-name-en {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.2;
}

/* Signal Badges - Image Style */
#comprehensive-section .signal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    min-width: 70px;
    transition: all 0.2s ease;
}

/* Buy - Light Green Background with Dark Green Icon */
#comprehensive-section .signal-badge.buy {
    background: #d1fae5 !important;
    color: #065f46 !important;
    box-shadow: none;
}

#comprehensive-section .signal-badge.buy .badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #059669;
    color: #ffffff;
    font-size: 0.65rem;
    flex-shrink: 0;
}

/* Sell - Light Red Background with Dark Red Icon */
#comprehensive-section .signal-badge.sell {
    background: #fee2e2 !important;
    color: #991b1b !important;
    box-shadow: none;
}

#comprehensive-section .signal-badge.sell .badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.65rem;
    flex-shrink: 0;
}

/* Hold - Light Gray Background with Dark Gray Icon */
#comprehensive-section .signal-badge.hold {
    background: #f1f5f9 !important;
    color: #475569 !important;
    box-shadow: none;
}

#comprehensive-section .signal-badge.hold .badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #64748b;
    color: #ffffff;
    font-size: 0.65rem;
    flex-shrink: 0;
}

/* Comprehensive Column Special Styling */
#comprehensive-section .table tbody td:last-child {
    background-color: #f8fafc;
    border-left: 1px solid #f1f5f9;
    position: relative;
}

#comprehensive-section .table thead th:last-child {
    /* Removed specific light background to inherit dark header style */
    border-left: 1px solid #334155; /* Darker border to match header */
    /* Removed color override to inherit white text */
}

#comprehensive-section .comprehensive-signal {
    font-size: 0.85rem;
    padding: 8px 16px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Indicator Cells */
#comprehensive-section .indicator-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#comprehensive-section .confidence-value {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 500;
}

/* Scrollbar Styling */
.table-responsive::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: transparent;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Sticky Header */
.table thead.sticky-top {
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Empty State */
.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: #94a3b8;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #e2e8f0;
}

/* 🎨 Hero Section 스타일 (AI전략생성과 동일한 디자인) */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

#comprehensive-section .base-section {
    text-align: center;
    padding: 2.5rem 1rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

#comprehensive-section .base-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
    z-index: 0;
}

#comprehensive-section .base-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.8s ease-out;
}

#comprehensive-section .base-subtitle {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

#comprehensive-section .base-subtitle br {
    display: block;
    content: "";
    margin-top: 0.3rem;
}

/* 아이콘 장식 */
#comprehensive-section .base-section::after {
    content: '📊';
    position: absolute;
    font-size: 8rem;
    opacity: 0.03;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 0;
}

/* Title Styling (Legacy) */
.comprehensive-section {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.comprehensive-title {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.comprehensive-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

#comprehensive-section h2 {
    font-size: 2rem;        
    /* font-size: 1.75rem; */
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
}

#comprehensive-section h2 i {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    padding: 10px;
    border-radius: 12px;
    font-size: 1.25rem;
    margin-right: 12px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    #comprehensive-section {
        background: #0f172a;
    }
    
    #comprehensive-section .card {
        background: #1e293b;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    
    #comprehensive-section .form-label {
        color: #e2e8f0;
    }
    
    #comprehensive-section .form-control,
    #comprehensive-section .form-select {
        background-color: #334155;
        border-color: #475569;
        color: #f1f5f9;
    }
    
    #comprehensive-section .form-control:focus,
    #comprehensive-section .form-select:focus {
        background-color: #1e293b;
        border-color: #3b82f6;
    }
    
    #comprehensive-section .table thead th {
        background: #334155;
        color: #cbd5e1;
        border-bottom-color: #475569;
    }
    
    #comprehensive-section .table tbody tr {
        background-color: #1e293b;
    }
    
    #comprehensive-section .table tbody tr:hover {
        background-color: #334155;
    }
    
    #comprehensive-section .table tbody td {
        border-bottom-color: #334155;
        color: #cbd5e1;
    }
    
    #comprehensive-section .table tbody td:first-child {
        color: #f1f5f9;
    }
    
    #comprehensive-section .coin-name {
        color: #f1f5f9;
    }
    
    #comprehensive-section .table tbody td:last-child {
        background-color: #334155;
        border-left-color: #475569;
    }
    
    #comprehensive-section .table thead th:last-child {
        background-color: #334155;
        border-left-color: #475569;
    }
    
    #comprehensive-section h2 {
        color: #f1f5f9;
    }
    
    #comprehensive-section .empty-state i {
        color: #475569;
    }
}

/* Timestamp Display */
.comprehensive-timestamp {
    padding: 12px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.comprehensive-timestamp i {
    color: #3b82f6;
}

.comprehensive-timestamp .timestamp-label {
    margin-right: 8px;
    color: #94a3b8;
}

.comprehensive-timestamp .timestamp-value {
    color: #1e293b;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Dark Mode Support for Timestamp */
@media (prefers-color-scheme: dark) {
    .comprehensive-timestamp {
        background: #334155;
        border-bottom-color: #475569;
        color: #cbd5e1;
    }
    
    .comprehensive-timestamp .timestamp-label {
        color: #94a3b8;
    }
    
    .comprehensive-timestamp .timestamp-value {
        color: #f1f5f9;
    }
}

/* Clickable Badge Hover Effect */
#comprehensive-section .clickable-indicator-badge {
    transition: all 0.2s ease;
}

#comprehensive-section .clickable-indicator-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Indicator Detail Modal Styles */
#indicatorDetailModal .ai-indicator-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#indicatorDetailModal .ai-indicator-card:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

#indicatorDetailModal .modal-body {
    max-height: 75vh;
    overflow-y: auto;
    padding: 24px;
}

/* ApexCharts 컨테이너 스타일 */
#indicatorDetailModal [id^="modal-chart-"] {
    min-height: 280px;
    width: 100%;
    border-radius: 8px;
    background: #ffffff;
    margin: 16px 0;
}

/* 차트 로딩 상태 */
#indicatorDetailModal .chart-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    color: #94a3b8;
}

/* 모달 헤더 스타일 개선 */
#indicatorDetailModal .modal-header {
    border-bottom: 2px solid #e2e8f0;
    padding: 20px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 0;
}

#indicatorDetailModal .modal-header .modal-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
}

#indicatorDetailModal .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

#indicatorDetailModal .modal-header .btn-close:hover {
    opacity: 1;
}

/* 모달 푸터 스타일 */
#indicatorDetailModal .modal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 16px 24px;
    background: #f8fafc;
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
    #indicatorDetailModal .ai-indicator-card {
        background: #1e293b;
        border-color: #334155;
    }
    
    #indicatorDetailModal .modal-body {
        background: #0f172a;
    }
    
    #indicatorDetailModal [id^="modal-chart-"] {
        background: #1e293b;
    }
    
    #indicatorDetailModal .modal-header {
        background: linear-gradient(135deg, #475569 0%, #334155 100%);
        border-bottom-color: #475569;
    }
    
    #indicatorDetailModal .modal-footer {
        background: #1e293b;
        border-top-color: #334155;
    }
}

/* 더 보기 레이블 스타일 */
.comprehensive-load-more-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 16px;
    background: transparent;
    width: 100%;
    text-align: center;
}

.comprehensive-load-more-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px 16px;
    border-radius: 8px;
    margin: 0 auto;
}

.comprehensive-load-more-label:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
}

.comprehensive-load-more-label:active {
    transform: scale(0.98);
}

.comprehensive-load-more-label i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.comprehensive-load-more-label:hover i {
    transform: translateY(2px);
}

.comprehensive-load-more-label.loading {
    pointer-events: none;
    opacity: 0.6;
}

.comprehensive-load-more-label.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
    .comprehensive-load-more-container {
        background: transparent;
    }
    
    .comprehensive-load-more-label {
        color: #9ca3af;
    }
    
    .comprehensive-load-more-label:hover {
        color: #60a5fa;
        background: rgba(96, 165, 250, 0.1);
    }
}

/* 🔥 SECTION: Draggable Indicator Window Styles START */
.indicator-window {
    position: fixed;
    width: 800px;
    min-width: 400px;
    min-height: 500px;
    max-width: 95vw;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    resize: both;
    cursor: default;
}

.indicator-window.fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    transform: none !important;
    border-radius: 0;
    resize: none;
    position: fixed !important;
}

.indicator-window.minimized {
    height: auto;
    min-height: auto;
}

.indicator-window-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: move;
    user-select: none;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.indicator-window.fullscreen .indicator-window-header {
    cursor: default;
}

.indicator-window-header.minimized {
    border-radius: 12px 12px 0 0;
}

.indicator-window-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.indicator-window-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.indicator-window-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    padding: 0;
}

.indicator-window-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.indicator-window-btn:active {
    transform: scale(0.95);
}

.indicator-window-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px;
    background: #ffffff;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.indicator-window.minimized .indicator-window-body {
    display: none;
}

.indicator-window-resize-handle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    cursor: nwse-resize;
    background: linear-gradient(135deg, transparent 0%, transparent 40%, #cbd5e1 40%, #cbd5e1 50%, transparent 50%, transparent 60%, #cbd5e1 60%, #cbd5e1 100%);
    z-index: 1;
}

.indicator-window.fullscreen .indicator-window-resize-handle {
    display: none;
}

.indicator-window.ai-indicator-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.indicator-window.ai-indicator-card:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

/* 차트 컨테이너 - 높이도 동적으로 조정 */
.indicator-window [id^="modal-chart-"] {
    min-height: 200px;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: #ffffff;
}

/* 차트 영역 flex 레이아웃 */
.indicator-window .indicator-chart-area {
    display: flex;
    flex-direction: column;
}

.indicator-window .indicator-chart-area [id^="modal-chart-"] {
    flex: 1;
    min-height: 0;
}

/* ApexCharts 차트 리사이즈 지원 */
.indicator-window .apexcharts-canvas {
    width: 100% !important;
    height: 100% !important;
}

.indicator-window .apexcharts-svg {
    width: 100% !important;
    height: 100% !important;
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
    .indicator-window {
        background: #1e293b;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }
    
    .indicator-window-header {
        background: linear-gradient(135deg, #475569 0%, #334155 100%);
    }
    
    .indicator-window-body {
        background: #0f172a;
    }
    
    .indicator-window.ai-indicator-card {
        background: #1e293b;
        border-color: #334155;
    }
    
    .indicator-window [id^="modal-chart-"] {
        background: #1e293b;
    }
}

/* 윈도우 스택 관리 */
.indicator-window.active {
    z-index: 10001;
}

/* 🔥 SECTION: Draggable Indicator Window Styles END */

/* ========== 반응형 - 태블릿 ========== */
@media (max-width: 992px) {
    #comprehensive-section.section-container.active {
        padding: 16px 20px;
    }
    
    #comprehensive-section .card {
        border-radius: 12px;
    }
    
    #comprehensive-section .card-body {
        padding: 16px;
    }
    
    .comprehensive-title {
        font-size: 2rem;
    }
}

/* ========== 반응형 - 모바일 ========== */
@media (max-width: 576px) {
    #comprehensive-section.section-container.active {
        padding: 8px !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    #comprehensive-section .card {
        border-radius: 10px;
        margin-bottom: 12px !important;
    }
    
    #comprehensive-section .card-body {
        padding: 12px !important;
    }
    
    /* Hero 영역 - 모바일에서 최소화 */
    #comprehensive-section .base-section.comprehensive-hero {
        padding: 0.4rem 0.5rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    #comprehensive-section .base-title {
        font-size: 1.5rem !important;
        margin-bottom: 6px !important;
        line-height: 1.2 !important;
    }
    
    #comprehensive-section .base-subtitle {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        color: #64748b !important;
        animation: fadeInUp 0.6s ease-out 0.15s both;
    }
    
    #comprehensive-section .base-section::before,
    #comprehensive-section .base-section::after {
        display: none !important; /* 배경 효과 숨김 */
    }
    
    /* 모바일 필터 토글 바 */
    .comprehensive-mobile-toolbar {
        display: flex !important;
        align-items: center;
        gap: 8px;
        padding: 8px;
        background: white;
        border-radius: 10px;
        margin-bottom: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .comprehensive-filter-toggle {
        display: flex;
        align-items: center;
        flex: 1;
        padding: 10px 14px;
        background: #f8f9fa;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        color: #4b5563;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .comprehensive-filter-toggle:hover {
        background: #f3f4f6;
        border-color: #667eea;
    }
    
    .comprehensive-filter-toggle[aria-expanded="true"] {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-color: #667eea;
        color: white;
    }
    
    .comprehensive-filter-toggle[aria-expanded="true"] .toggle-icon {
        transform: rotate(180deg);
    }
    
    .toggle-icon {
        transition: transform 0.3s ease;
    }
    
    .comprehensive-quick-actions {
        display: flex;
        gap: 6px;
        align-items: center;
    }
    
    .comprehensive-quick-interval {
        width: 70px !important;
        padding: 8px 6px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }
    
    .comprehensive-quick-refresh {
        width: 38px;
        height: 38px;
        padding: 0 !important;
        border-radius: 8px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 지표 토글 버튼 */
    .comprehensive-indicators-toggle {
        width: 38px;
        height: 38px;
        padding: 0 !important;
        border-radius: 8px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }
    
    .comprehensive-indicators-toggle.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        border-color: #667eea !important;
        color: white !important;
    }
    
    /* 필터 카드 모바일 스타일 */
    .comprehensive-filter-card {
        margin-bottom: 8px !important;
        border-radius: 10px !important;
    }
    
    .comprehensive-filter-card .card-body {
        padding: 12px !important;
    }
    
    .comprehensive-filter-card.show {
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* 헤더 영역 (Legacy) */
    .comprehensive-section {
        margin-top: 10px;
        margin-bottom: 16px;
    }
    
    .comprehensive-title {
        font-size: 1.5rem;
    }
    
    .comprehensive-subtitle {
        font-size: 0.95rem;
    }
    
    #comprehensive-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    #comprehensive-section h2 i {
        font-size: 1rem;
        padding: 8px;
        margin-right: 8px;
    }
    
    /* 필터 영역 - 가로 스크롤 가능한 칩 형태 */
    #comprehensive-section .form-label {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    
    #comprehensive-section .form-control,
    #comprehensive-section .form-select {
        padding: 10px 12px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    /* 필터 버튼들을 칩 형태로 */
    #comprehensive-section .btn-group {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    
    #comprehensive-section .btn-group .btn {
        flex: 1 1 auto !important;
        min-width: 60px !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
        border-radius: 20px !important;
        border: 1px solid #e5e7eb !important;
    }
    
    #comprehensive-section .btn-group .btn.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        border-color: #667eea !important;
        color: white !important;
    }
    
    /* 시간 간격 버튼들 - 그리드 형태로 (Bootstrap btn-group 덮어쓰기) */
    #comprehensive-interval-controls.btn-group {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important; /* 한 줄에 4개 */
        gap: 6px !important;
        width: 100% !important;
        flex-wrap: unset !important;
    }
    
    #comprehensive-interval-controls.btn-group > .btn {
        padding: 10px 6px !important;
        font-size: 12px !important;
        border-radius: 10px !important;
        white-space: nowrap !important;
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        border: 1px solid #e5e7eb !important;
        background: white !important;
        color: #4b5563 !important;
    }
    
    #comprehensive-interval-controls.btn-group > .btn:hover {
        background: #f3f4f6 !important;
        border-color: #667eea !important;
    }
    
    #comprehensive-interval-controls.btn-group > .btn.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        border-color: #667eea !important;
        color: white !important;
    }
    
    #comprehensive-section .d-flex.flex-wrap {
        gap: 4px !important;
    }
    
    #comprehensive-section .d-flex.flex-wrap .btn {
        padding: 6px 10px !important;
        font-size: 11px !important;
        border-radius: 16px !important;
    }
    
    /* 검색창 */
    #comprehensive-section input[type="text"],
    #comprehensive-section input[type="search"] {
        width: 100% !important;
        margin-bottom: 8px;
    }
    
    /* 테이블 컨테이너 - 컴팩트 모드 */
    #comprehensive-section .table-responsive {
        border-radius: 8px;
        margin: 0;
    }
    
    /* 테이블 헤더 - 초소형 */
    #comprehensive-section .table thead th {
        padding: 6px 3px !important;
        font-size: 0.55rem !important;
        letter-spacing: -0.3px !important;
        white-space: nowrap !important;
    }
    
    #comprehensive-section .table thead th:first-child {
        padding-left: 8px !important;
    }
    
    /* 테이블 셀 - 초소형 */
    #comprehensive-section .table tbody td {
        padding: 4px 2px !important;
        font-size: 0.65rem !important;
        vertical-align: middle !important;
    }
    
    #comprehensive-section .table tbody tr {
        height: 36px !important;
    }
    
    /* 코인명 셀 - 초컴팩트 */
    .coin-name-cell {
        min-width: 70px !important;
        max-width: 90px !important;
        padding-left: 4px !important;
    }
    
    .coin-name-wrapper {
        gap: 0 !important;
    }
    
    .coin-text {
        gap: 0 !important;
        line-height: 1 !important;
    }
    
    .coin-name,
    .coin-name-kr {
        font-size: 0.55rem !important;
        line-height: 1.1 !important;
        font-weight: 600 !important;
    }
    
    .coin-name-en,
    .coin-ticker {
        font-size: 0.4rem !important;
        line-height: 1 !important;
        margin-top: 1px !important;
        opacity: 0.7;
    }
    
    /* 코인 로고 */
    .coin-name-cell img,
    .coin-name-cell .coin-logo,
    #comprehensive-section .coin-logo {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        margin-right: 4px !important;
    }
    
    /* 🎨 모바일 테이블 간소화 - 지표 열 숨김 (기본 상태) */
    #comprehensive-section:not(.show-indicators) .table thead th:not(:first-child):not(:last-child),
    #comprehensive-section:not(.show-indicators) .table tbody td:not(:first-child):not(:last-child) {
        display: none !important;
    }
    
    /* 코인명과 종합분석만 표시 (기본 상태) */
    #comprehensive-section:not(.show-indicators) .table thead th:first-child,
    #comprehensive-section:not(.show-indicators) .table thead th:last-child,
    #comprehensive-section:not(.show-indicators) .table tbody td:first-child,
    #comprehensive-section:not(.show-indicators) .table tbody td:last-child {
        display: table-cell !important;
    }
    
    /* 종합분석 열 너비 확장 (기본 상태) */
    #comprehensive-section:not(.show-indicators) .table thead th:last-child,
    #comprehensive-section:not(.show-indicators) .table tbody td:last-child {
        width: auto !important;
        min-width: 100px !important;
    }
    
    /* 상세보기 모드 - 모든 지표 표시 */
    #comprehensive-section.show-indicators .table thead th,
    #comprehensive-section.show-indicators .table tbody td {
        display: table-cell !important;
    }
    
    #comprehensive-section.show-indicators .table thead th:last-child,
    #comprehensive-section.show-indicators .table tbody td:last-child {
        width: auto !important;
        min-width: 80px !important;
    }
    
    /* 시그널 배지 - 초소형 */
    #comprehensive-section .signal-badge {
        padding: 2px 4px !important;
        font-size: 0.5rem !important;
        min-width: 32px !important;
        border-radius: 10px !important;
        gap: 2px !important;
    }
    
    #comprehensive-section .signal-badge .badge-icon {
        width: 10px !important;
        height: 10px !important;
        font-size: 0.4rem !important;
    }
    
    /* 신뢰도 값 숨김 */
    #comprehensive-section .confidence-value {
        display: none !important;
    }
    
    /* 지표 셀 */
    #comprehensive-section .indicator-cell {
        padding: 0 !important;
    }
    
    /* 종합분석 컬럼 - 초소형 배지 */
    #comprehensive-section .table tbody td:last-child .signal-badge,
    #comprehensive-section .table tbody td:last-child .badge {
        padding: 2px 5px !important;
        font-size: 0.5rem !important;
    }
    
    /* 종합분석 배지 (inline style 덮어쓰기) */
    #comprehensive-section .strength-bar-container .badge,
    #comprehensive-section .clickable-comprehensive .badge,
    #comprehensive-section td:last-child .badge {
        font-size: 0.5rem !important;
        padding: 2px 5px !important;
        border-radius: 8px !important;
    }
    
    /* 강도 바 컨테이너 축소 */
    #comprehensive-section .strength-bar-container {
        padding: 2px !important;
    }
    
    #comprehensive-section .strength-bar {
        height: 3px !important;
    }
    
    /* 정렬 아이콘 숨김 */
    #comprehensive-section .sort-icon {
        display: none !important;
    }
    
    /* 짝수/홀수 행 구분 */
    #comprehensive-section .table tbody tr:nth-child(even) {
        background-color: #f8fafc !important;
    }
    
    /* 행 호버 효과 최소화 */
    #comprehensive-section .table tbody tr:hover {
        background-color: #e8f4ff !important;
    }
    
    /* 타임스탬프 */
    .comprehensive-timestamp {
        padding: 8px 12px;
        font-size: 0.8rem;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    /* 더보기 레이블 */
    .comprehensive-load-more-label {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
    
    /* 페이지네이션 */
    #comprehensive-section .pagination {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    #comprehensive-section .pagination .page-link {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* 🔥 SECTION: Comprehensive Analysis Section Styles END */
