/* 주식 추천 분석 대시보드 스타일 */

/* 기본 스타일 */
body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 네비게이션 */
.navbar-brand {
    font-weight: bold;
}

/* 카드 스타일 */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: none;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
}

/* 테이블 스타일 */
.table th {
    font-weight: 600;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
}

/* 등락률 표시 */
.text-success.fw-bold {
    color: #198754 !important;
}

.text-danger.fw-bold {
    color: #dc3545 !important;
}

/* 배지 스타일 */
.badge {
    font-weight: 500;
}

/* 프로그레스 바 */
.progress {
    border-radius: 0.25rem;
}

.progress-bar {
    font-size: 0.75rem;
    font-weight: 600;
}

/* 통계 카드 */
.border.rounded.p-2 {
    background-color: #f8f9fa;
}

/* 차트 컨테이너 */
#priceChart,
#channelChart {
    max-height: 400px;
}

/* 반응형 조정 */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.875rem;
    }

    .card-body .row.text-center .col-3,
    .card-body .row.text-center .col-4 {
        margin-bottom: 0.5rem;
    }
}

/* 로딩 상태 */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* 알림 메시지 */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* 푸터 */
footer {
    border-top: 1px solid #dee2e6;
}

/* 호버 효과 */
.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* 버튼 스타일 */
.btn-outline-primary:hover {
    color: #fff;
}

/* 툴팁 커스텀 */
.tooltip-inner {
    max-width: 300px;
}
