/* JIMS 커스텀 스타일 */

body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.app-body {
    background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 45%, #fdfdfd 100%);
    color: #0f172a;
}

.app-main {
    position: relative;
    padding: 2.5rem 0 3.5rem;
    min-height: calc(100vh - 220px);
}

.app-main__container {
    width: min(1600px, 100%);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.app-content-surface {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 35px 65px -40px rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    padding: 2.25rem 2.5rem;
}

.app-content-surface > *:first-child {
    margin-top: 0;
}

.app-content-surface > *:last-child {
    margin-bottom: 0;
}

.app-content-surface .section-title {
    font-weight: 700;
    color: #111827;
}

.app-main__container .app-alert {
    border-radius: 18px;
    border: 1px solid rgba(248, 250, 252, 0.9);
    box-shadow: 0 12px 30px -25px rgba(15, 23, 42, 0.45);
    padding: 1rem 1.25rem;
}

.app-main__container .app-alert + .app-alert {
    margin-top: 0.75rem;
}


.app-panel--metrics {
    padding: 2rem;
}

.app-panel + .app-panel {
    margin-top: 1.75rem;
}

.app-panel--table {
    padding: 1.75rem 1.75rem 1.25rem;
}

.app-panel__toolbar {
    margin-top: 0.5rem;
}

.app-table-wrapper {
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

.app-table {
    color: #0f172a;
    vertical-align: middle;
    background: transparent;
}

.app-table thead th {
    background: rgba(248, 250, 252, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    font-weight: 700;
    color: #1e293b;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.app-table tbody td {
    border-color: rgba(226, 232, 240, 0.6);
    padding: 0.85rem 1rem;
}

.app-table tbody tr {
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.app-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.08);
    box-shadow: 0 16px 40px -26px rgba(59, 130, 246, 0.55);
    transform: translateY(-1px);
}

.app-select {
    min-width: 180px;
    border-radius: 999px;
    border-color: rgba(99, 102, 241, 0.35);
    font-weight: 600;
}

.influencer-card {
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 50px -30px rgba(15, 23, 42, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.influencer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 55px -28px rgba(59, 130, 246, 0.45);
}

.influencer-card .card-header {
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    background: transparent;
}

.influencer-card .card-body {
    background: transparent;
}

.app-panel {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.75);
    box-shadow: 0 24px 60px -38px rgba(15, 23, 42, 0.6);
    padding: 1.75rem;
}

.app-panel--compact {
    padding: 1.5rem;
}

.app-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.app-panel__title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
}

.app-panel__subtitle {
    font-size: 0.9rem;
    color: #64748b;
}

.card {
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 0 18px 45px -32px rgba(15, 23, 42, 0.55);
    background-color: rgba(255, 255, 255, 0.96);
}

.card-header {
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    background: transparent;
    font-weight: 600;
    color: #0f172a;
}

.card-footer {
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    background: transparent;
}

.btn-primary {
    background: linear-gradient(120deg, #6366f1, #3b82f6);
    border: none;
    color: #fff;
    box-shadow: 0 12px 32px -18px rgba(59, 130, 246, 0.7);
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(120deg, #4f46e5, #2563eb);
    box-shadow: 0 15px 36px -18px rgba(59, 130, 246, 0.75);
    color: #fff;
}

.btn-outline-primary {
    border: 2px solid rgba(99, 102, 241, 0.7);
    color: #4f46e5;
    font-weight: 600;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: rgba(99, 102, 241, 0.12);
    color: #4338ca;
}

.table {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 20px 40px -35px rgba(15, 23, 42, 0.55);
}

.table thead th {
    background: rgba(248, 250, 252, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    color: #1f2937;
    font-weight: 600;
}

.table tbody tr {
    border-color: rgba(226, 232, 240, 0.6);
}

.badge {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
}

@media (max-width: 991.98px) {
    .app-main {
        padding: 1.75rem 0 2.5rem;
    }

    .app-main__container {
        padding: 0 1rem;
    }

    .app-content-surface {
        padding: 1.5rem 1.75rem;
        border-radius: 20px;
    }
}

/* ======================
   VLING STYLE COMPONENTS
   ====================== */

/* Vling Header Styles */
.vling-header {
    padding: 2rem 0;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.vling-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #f1f3f4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vling-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Vling Buttons */
.vling-btn-primary {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.vling-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.6);
    color: white;
}

.vling-btn-secondary {
    background: linear-gradient(45deg, #a8a8a8, #d4d4d4);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vling-btn-outline-primary {
    border: 2px solid #4facfe;
    color: #4facfe;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vling-btn-outline-primary:hover {
    background: #4facfe;
    color: white;
    transform: translateY(-1px);
}

/* ======================
   Modern Dashboard System
   ====================== */

.manager-dashboard {
    color: #1f2937;
}

.dashboard-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
}

.dashboard-subtitle {
    font-size: 0.95rem;
    color: #64748b;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.metric-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 12px 36px -18px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(226, 232, 240, 0.8);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px -22px rgba(15, 23, 42, 0.45);
}

.metric-card::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    pointer-events: none;
}

.metric-card .metric-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.metric-card .metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
}

.metric-card .metric-hint {
    font-size: 0.8rem;
    color: #94a3b8;
}

.metric-card.accent-primary::after {
    background: linear-gradient(120deg, #6366f1, #3b82f6);
}

.metric-card.accent-success::after {
    background: linear-gradient(120deg, #10b981, #0ea5e9);
}

.metric-card.accent-warning::after {
    background: linear-gradient(120deg, #f59e0b, #f97316);
}

.metric-card.accent-danger::after {
    background: linear-gradient(120deg, #ef4444, #ec4899);
}

.metric-card.accent-neutral::after {
    background: linear-gradient(120deg, #0ea5e9, #2563eb);
}

.ranking-card,
.activity-card,
.comparison-card,
.summary-card,
.recent-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 16px 48px -22px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ranking-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.ranking-count {
    font-size: 0.85rem;
    color: #94a3b8;
}

.ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ranking-item {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: transform 0.2s ease;
}

.ranking-item:hover {
    transform: translateY(-2px);
}

.ranking-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.ranking-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

.status-badge.warning {
    background: rgba(249, 115, 22, 0.12);
    color: #c2410c;
}

.ranking-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.8rem;
    color: #64748b;
}

.ranking-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.activity-card .activity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.activity-item {
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: rgba(248, 250, 252, 0.75);
}

.activity-label {
    font-size: 0.85rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
}

.trend-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.trend-positive {
    color: #10b981;
}

.trend-negative {
    color: #ef4444;
}

.trend-neutral {
    color: #64748b;
}

.comparison-details {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

.summary-card .summary-body {
    display: grid;
    gap: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.summary-label {
    color: #475569;
}

.summary-value {
    font-weight: 600;
    color: #0f172a;
}

.recent-campaign-item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.recent-campaign-item:last-child {
    border-bottom: none;
}

.recent-campaign-name {
    font-weight: 600;
    color: #1f2937;
}

.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* 반응형 미디어 쿼리 - 태블릿 (768px ~ 991px) */
@media (max-width: 991px) {
    .activity-card .activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-heading {
        font-size: 1.5rem;
    }

    .ranking-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .ranking-meta {
        flex-wrap: wrap;
    }
}

/* 반응형 미디어 쿼리 - 모바일 가로 (577px ~ 767px) */
@media (max-width: 767px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .activity-card .activity-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 1rem;
    }

    .comparison-card .metric-card {
        min-height: 120px;
    }

    .platform-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* 반응형 미디어 쿼리 - 모바일 세로 (~ 576px) */
@media (max-width: 576px) {
    .metric-card {
        min-height: 120px;
        padding: 1rem 1.2rem;
    }

    .metric-card .metric-value {
        font-size: 1.6rem;
    }

    .dashboard-heading {
        font-size: 1.3rem;
    }

    .dashboard-subtitle {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1rem;
    }

    .ranking-card,
    .activity-card,
    .comparison-card,
    .summary-card,
    .recent-card {
        padding: 1rem;
    }

    .ranking-item {
        padding: 0.75rem;
    }

    .ranking-name {
        font-size: 0.9rem;
    }

    .ranking-meta {
        font-size: 0.75rem;
        gap: 0.5rem;
    }

    .activity-item {
        padding: 0.75rem;
    }

    .activity-label {
        font-size: 0.85rem;
    }

    .activity-value {
        font-size: 1.3rem;
    }

    .recent-campaign-item {
        padding: 0.75rem;
    }

    .summary-row {
        padding: 0.75rem 0;
        font-size: 0.9rem;
    }

    .platform-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .platform-stats .stat-label {
        font-size: 0.8rem;
    }

    .platform-stats .stat-value {
        font-size: 1rem;
    }
}

/* Phase 2: 고급 매니저 위젯 스타일 (Phase 1과 통일된 톤앤매너) */
.goal-card, .platform-card, .budget-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 16px 48px -22px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.goal-card:hover, .platform-card:hover, .budget-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px -22px rgba(15, 23, 42, 0.45);
}

/* 목표 달성률 게이지 */
.goal-gauges {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.gauge-item {
    text-align: center;
}

.gauge-item > span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.progress-bar-custom {
    width: 100%;
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(120deg, #10b981, #0ea5e9);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.progress-fill-budget {
    background: linear-gradient(120deg, #f59e0b, #f97316);
}

.gauge-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.gauge-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.gauge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.goal-summary {
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    background: rgba(248, 250, 252, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 12px;
}

.goal-summary small {
    color: #64748b;
    font-weight: 500;
}

/* 플랫폼별 성과 */
.platform-item {
    background: rgba(248, 250, 252, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.platform-item:hover {
    background: rgba(226, 232, 240, 0.4);
    transform: translateX(4px);
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.platform-name {
    font-weight: 600;
    font-size: 1rem;
    color: #1f2937;
}

.platform-count {
    background: linear-gradient(120deg, #6366f1, #3b82f6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.platform-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.platform-stats .stat-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.platform-stats .stat-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.platform-stats .stat-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

/* 예산 사용 현황 */
.budget-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.budget-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(248, 250, 252, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 12px;
}

.budget-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.budget-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.budget-progress {
    margin-bottom: 1rem;
}

.budget-campaigns {
    margin-top: 1rem;
}

.budget-campaigns small {
    color: #64748b;
    font-weight: 500;
}

.budget-campaign-item {
    background: rgba(248, 250, 252, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.budget-campaign-item:hover {
    background: rgba(226, 232, 240, 0.4);
    transform: translateX(2px);
}

.campaign-name-budget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.campaign-name {
    font-weight: 600;
    color: #1f2937;
}

.campaign-budget {
    background: linear-gradient(120deg, #6366f1, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.campaign-cost-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.usage-rate {
    font-weight: 700;
    color: #0f172a;
}

.progress-bar-small {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill-small {
    height: 100%;
    background: linear-gradient(120deg, #10b981, #0ea5e9);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.vling-btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vling-btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
}

/* Vling Search Section */
.vling-search-section {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.vling-search-box {
    position: relative;
}

.vling-search-box .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 10;
}

.vling-search-input {
    padding-left: 3rem !important;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 1rem;
    height: 50px;
    transition: all 0.3s ease;
}

.vling-search-input:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 0.2rem rgba(79, 172, 254, 0.25);
}

.vling-select {
    border: 2px solid #e9ecef;
    border-radius: 50px;
    height: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vling-select:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 0.2rem rgba(79, 172, 254, 0.25);
}

/* Vling Stats Bar */
.vling-stats-bar {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Vling Cards Grid */
.vling-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Vling Influencer Card */
.vling-influencer-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border-left: 4px solid #4facfe;
}

.vling-influencer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Card Header */
.vling-influencer-card .card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.influencer-avatar {
    position: relative;
    margin-right: 1rem;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    position: relative;
}

.platform-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
    border: 2px solid white;
}

.influencer-info {
    flex: 1;
}

.influencer-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.category-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Category Colors */
.category-beauty { --category-color: #e91e63; }
.category-fashion { --category-color: #9c27b0; }
.category-gaming { --category-color: #3f51b5; }
.category-food { --category-color: #ff5722; }
.category-kids { --category-color: #4caf50; }
.category-music { --category-color: #f44336; }
.category-lifestyle { --category-color: #ff9800; }
.category-talk { --category-color: #607d8b; }
.category-entertainment { --category-color: #e91e63; }
.category-default { --category-color: #6c757d; }

.category-tag {
    background-color: var(--category-color);
    color: white;
}

.vling-influencer-card {
    border-left-color: var(--category-color);
}

/* Platform Colors */
.platform-youtube { background: linear-gradient(45deg, #ff0000, #ff4444); }
.platform-instagram { background: linear-gradient(45deg, #e1306c, #fd1d1d); }
.platform-tiktok { background: linear-gradient(45deg, #000000, #444444); }
.platform-facebook { background: linear-gradient(45deg, #1877f2, #42a5f5); }
.platform-naver { background: linear-gradient(45deg, #03c75a, #66d9a5); }
.platform-other { background: linear-gradient(45deg, #6c757d, #adb5bd); }
.platform-default { background: linear-gradient(45deg, #6c757d, #adb5bd); }

/* Card Stats */
.card-stats {
    padding: 1rem 1.5rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.stat-row:last-child {
    margin-bottom: 0;
}

.card-stats .stat-item {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0.5rem;
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 1rem;
    color: white;
}

.stat-icon.followers { background: linear-gradient(45deg, #4facfe, #00f2fe); }
.stat-icon.engagement { background: linear-gradient(45deg, #f093fb, #f5576c); }
.stat-icon.content { background: linear-gradient(45deg, #4facfe, #00f2fe); }
.stat-icon.channels { background: linear-gradient(45deg, #43e97b, #38f9d7); }

.stat-content {
    flex: 1;
}

.card-stats .stat-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.125rem;
}

.card-stats .stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Footer */
.card-footer {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.contact-item i {
    margin-right: 0.5rem;
    width: 16px;
}

.card-actions-footer {
    display: flex;
    gap: 0.5rem;
}

.card-actions-footer .btn {
    flex: 1;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.empty-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.empty-state h4 {
    color: #2d3748;
    margin-bottom: 1rem;
}

/* Loading State */
.loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
}

.loading-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.loading-card i {
    font-size: 2rem;
    color: #4facfe;
    margin-bottom: 1rem;
}

.loading-card p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vling-title {
        font-size: 2rem;
    }
    
    .vling-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .card-actions-footer {
        flex-direction: column;
    }
}

/* 향상된 네비게이션 스타일 */
.navbar {
    z-index: 1030;
}

/* 모달 및 레이어 팝업 z-index 설정 (Bootstrap 기본값 사용) */
/* Bootstrap 기본값: .modal-backdrop = 1040, .modal = 1050 */
/* navbar = 1030 이므로 기본값만으로도 충분 */
.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1050 !important;
}

/* 네비게이션 바 배경색 통일 */
.navbar.navbar-dark.bg-primary,
.navbar-dark.bg-primary,
nav.navbar.navbar-dark.bg-primary {
    background-color: #0d6efd !important;
    background: #0d6efd !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.375rem;
    margin: 0 0.125rem;
    padding: 0.5rem 0.75rem;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    margin-top: 0.25rem;
}

.navbar-nav .dropdown-item {
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease;
    border-radius: 0.25rem;
    margin: 0.125rem 0.25rem;
}

.navbar-nav .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

.navbar-nav .dropdown-header {
    color: #6c757d;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.5rem 1rem 0.25rem 1rem;
}

/* 실시간 상태 표시 */
.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.status-indicator.status-online {
    background-color: #28a745;
    animation: pulse-green 2s infinite;
}

.status-indicator.status-warning {
    background-color: #ffc107;
    animation: pulse-yellow 2s infinite;
}

.status-indicator.status-error {
    background-color: #dc3545;
    animation: pulse-red 2s infinite;
}

.status-indicator.status-offline {
    background-color: #6c757d;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes pulse-yellow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes pulse-red {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* 사용자 정보 스타일 */
.user-avatar {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.user-details {
    line-height: 1.2;
}

/* 알림 배지 스타일 */
.navbar-nav .badge {
    font-size: 0.6rem;
    padding: 0.25em 0.4em;
    position: relative;
    top: -2px;
}

/* 상단 알림 바 스타일 */
#notification-bar {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#notification-bar.slide-down {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 모바일 반응형 네비게이션 */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem 0;
    }
    
    .user-details {
        display: none;
    }
    
    .status-indicator {
        display: none;
    }
}

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

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

/* 버튼 스타일 */
.btn {
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* 테이블 스타일 */
.table {
    background-color: white;
}

.table thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* 폼 스타일 */
.form-control, .form-select {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 500;
    color: #495057;
}

/* 통계 카드 */
.stats-card {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.stats-card h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stats-card p {
    opacity: 0.9;
    margin-bottom: 0;
}

/* 액션 버튼 그룹 */
.action-buttons {
    display: flex;
    gap: 0.25rem;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* 알림 스타일 */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* 검색 영역 */
.search-section {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* 테이블 반응형 */
.table-responsive {
    border-radius: 0.75rem;
    overflow: hidden;
}

/* 페이지네이션 */
.pagination {
    margin-bottom: 0;
}

.page-link {
    color: #0d6efd;
    border-color: #dee2e6;
}

.page-link:hover {
    color: #0a58ca;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* 푸터 */
footer {
    margin-top: auto;
}

/* 유틸리티 클래스 */
.text-muted-light {
    color: #6c757d;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e91e63 100%);
}

/* 실시간 모니터링 스타일 */
.channel-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* 플랫폼별 배지 스타일 */
.platform-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.platform-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.platform-youtube {
    background: linear-gradient(45deg, #ff0000 0%, #cc0000 100%);
}

.platform-tiktok {
    background: linear-gradient(45deg, #000000 0%, #ff0050 50%, #00f2ea 100%);
}

.platform-facebook {
    background: linear-gradient(45deg, #1877f2 0%, #42a5f5 100%);
}

.platform-twitter {
    background: linear-gradient(45deg, #1da1f2 0%, #0d8bd9 100%);
}

.platform-naver {
    background: linear-gradient(45deg, #03c75a 0%, #02a64a 100%);
}

.platform-unknown {
    background: linear-gradient(45deg, #6c757d 0%, #495057 100%);
}

/* K-Score 표시 */
.k-score-container {
    position: relative;
}

.k-score-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: white;
    border: 2px solid;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 상태 인디케이터 */
.status-indicator {
    position: relative;
}

.status-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.status-indicator.status-active::before {
    background-color: #28a745;
    animation: pulse 2s infinite;
}

.status-indicator.status-warning::before {
    background-color: #ffc107;
    animation: pulse 2s infinite;
}

.status-indicator.status-error::before {
    background-color: #dc3545;
    animation: pulse 2s infinite;
}

.status-indicator.status-inactive::before {
    background-color: #6c757d;
}

/* 펄스 애니메이션 */
@keyframes pulse {
    0% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-50%) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* 참여율 프로그레스바 */
.engagement-progress {
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.engagement-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        #dc3545 0%, 
        #ffc107 25%, 
        #20c997 50%, 
        #28a745 100%);
    border-radius: 3px;
    width: var(--engagement-width, 0%);
    transition: width 0.5s ease;
}

/* 실시간 알림 애니메이션 */
.alert-realtime {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 새로고침 버튼 로딩 애니메이션 */
.btn-refresh-loading {
    position: relative;
    pointer-events: none;
}

.btn-refresh-loading .fa-sync-alt {
    animation: spin 1s linear infinite;
}

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

/* 채널 상태 카드 */
.channel-status-card {
    position: relative;
    overflow: hidden;
}

.channel-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--status-color);
}

.channel-status-card.status-active {
    --status-color: #28a745;
}

.channel-status-card.status-warning {
    --status-color: #ffc107;
}

.channel-status-card.status-error {
    --status-color: #dc3545;
}

.channel-status-card.status-inactive {
    --status-color: #6c757d;
}

/* =============================
   NOXINFLUENCER-STYLE RANKING
   ============================= */

/* 폰트 설정 - Bootstrap 재정의 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background-color: #f8fafb !important;
    color: #2d3748 !important;
    line-height: 1.6 !important;
}

.layout-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding-inline: 24px;
}

.card,
.glass-panel,
.metric-card,
.ranking-card,
.activity-card,
.timeline-card,
.goal-card,
.platform-card,
.budget-card,
.summary-card,
.comparison-card,
.recent-card {
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    background: #ffffff;
}

/* 컨테이너 재정의 */
.container {
    max-width: 1600px !important;
}

/* 랭킹 컨테이너 */
.ranking-container {
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    background: transparent !important;
}

/* 헤더 섹션 */
.ranking-container .ranking-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3) !important;
    border: none !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.title-section h1.ranking-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ranking-title i {
    color: #ffd700;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
}

.ranking-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.header-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.stat-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    min-width: 120px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* 필터 바 */
.ranking-container .filter-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: white !important;
    border-radius: 12px !important;
    padding: 20px 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filter-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 플랫폼 필터 버튼 */
.platform-filter {
    display: flex;
    gap: 8px;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    background: white;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.platform-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-1px);
}

.platform-btn.active,
.platform-btn.youtube.active {
    background: #ff0000;
    border-color: #ff0000;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.25);
}

.platform-btn.instagram.active {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    color: white;
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.25);
}

.platform-btn.tiktok.active {
    background: #000000;
    border-color: #000000;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.platform-btn.facebook.active {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

/* 카테고리 필터 */
.category-filter .filter-select {
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    min-width: 160px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 검색 박스 */
.search-box {
    position: relative;
}

.search-input {
    padding: 10px 16px 10px 44px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    width: 280px;
    background: white;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
}

/* 정렬 드롭다운 */
.sort-select {
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    min-width: 180px;
    cursor: pointer;
}

/* 새 인플루언서 추가 버튼 */
.btn-add-new {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-add-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 테이블 컨테이너 */
.ranking-container .ranking-table-container {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.showing-results {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.view-options {
    display: flex;
    gap: 4px;
    background: #e2e8f0;
    border-radius: 6px;
    padding: 2px;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.view-btn.active {
    background: white;
    color: #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 랭킹 테이블 */
.ranking-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ranking-table thead {
    background: #f1f5f9;
    border-bottom: 2px solid #e2e8f0;
}

.ranking-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #cbd5e1;
    position: relative;
}

.ranking-table th.sortable {
    cursor: pointer;
    user-select: none;
}

.ranking-table th.sortable:hover {
    background: #e2e8f0;
}

.sort-icon {
    margin-left: 8px;
    opacity: 0.5;
    font-size: 12px;
}

.sortable.sort-asc .sort-icon,
.sortable.sort-desc .sort-icon {
    opacity: 1;
    color: #2563eb;
}

/* 테이블 셀 너비 */
.rank-col { width: 80px; }
.influencer-col { width: 280px; }
.platform-col { width: 120px; }
.followers-col { width: 140px; }
.engagement-col { width: 140px; }
.content-col { width: 100px; }
.growth-col { width: 120px; }
.actions-col { width: 120px; }

/* 테이블 행 */
.influencer-row {
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.influencer-row:hover {
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ranking-table td {
    padding: 16px 20px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

/* 순위 셀 */
.rank-number {
    font-size: 18px;
    font-weight: 700;
    color: #2563eb;
    text-align: center;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 50%;
    margin: 0 auto;
}

/* 인플루언서 정보 셀 */
.influencer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-container {
    position: relative;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.avatar.large {
    width: 64px;
    height: 64px;
    font-size: 24px;
}

.platform-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.platform-badge.youtube { background: #ff0000; }
.platform-badge.instagram { background: #e1306c; }
.platform-badge.tiktok { background: #000000; }
.platform-badge.facebook { background: #1877f2; }

.info-details .name {
    font-weight: 600;
    color: #1a202c;
    font-size: 15px;
    margin-bottom: 2px;
}

.info-details .category {
    font-size: 13px;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    font-weight: 500;
}

/* 플랫폼 태그 */
.platform-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-tag.youtube { background: #ff0000; }
.platform-tag.instagram { background: linear-gradient(45deg, #f09433, #dc2743); }
.platform-tag.tiktok { background: #000000; }
.platform-tag.facebook { background: #1877f2; }

/* 팔로워 셀 */
.followers-cell {
    text-align: center;
}

.followers-number {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2px;
}

.followers-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* 참여율 셀 */
.engagement-cell {
    text-align: center;
}

.engagement-number {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
}

.engagement-bar {
    width: 60px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.engagement-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* 콘텐츠 셀 */
.content-cell {
    text-align: center;
}

.content-count {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2px;
}

.content-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* 성장률 셀 */
.growth-cell {
    text-align: center;
}

.growth-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    width: fit-content;
    margin: 0 auto;
}

.growth-number.positive {
    background: #dcfce7;
    color: #166534;
}

.growth-number.negative {
    background: #fef2f2;
    color: #dc2626;
}

/* 액션 버튼 */
.action-buttons {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
}

.action-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #374151;
    transform: translateY(-1px);
}

.action-btn.view-btn:hover {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #2563eb;
}

.action-btn.edit-btn:hover {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #d97706;
}

.action-btn.delete-btn:hover {
    background: #fef2f2;
    border-color: #ef4444;
    color: #dc2626;
}

/* 그리드 뷰 */
.influencer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 24px;
}

.influencer-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.influencer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.influencer-card .card-header {
    padding: 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.influencer-card .card-body {
    padding: 20px;
}

.influencer-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 8px 0;
}

.category-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}

.metrics {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.metric {
    text-align: center;
    flex: 1;
}

.metric-value {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* 페이지네이션 */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.pagination-info {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

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

.page-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #374151;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 4px;
    margin: 0 16px;
}

.page-number {
    width: 36px;
    height: 36px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-number:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #374151;
}

.page-number.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.page-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #9ca3af;
    font-weight: 500;
}

/* 로딩 & 빈 상태 */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: white;
}

.loading-spinner {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 16px;
}

.loading-text {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
}

.empty-icon {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.empty-title {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.empty-description {
    font-size: 14px;
    color: #64748b;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .header-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .header-stats {
        gap: 20px;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .filter-left,
    .filter-right {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 992px) {
    .ranking-container {
        padding: 16px;
    }
    
    .ranking-header {
        padding: 30px 24px;
    }
    
    .ranking-title {
        font-size: 2rem !important;
    }
    
    .platform-filter {
        flex-wrap: wrap;
    }
    
    .search-input {
        width: 240px;
    }
    
    .ranking-table {
        font-size: 13px;
    }
    
    .ranking-table th,
    .ranking-table td {
        padding: 12px 16px;
    }
}

@media (max-width: 768px) {
    .header-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-card {
        min-width: auto;
        width: 100%;
        max-width: 200px;
    }
    
    .platform-filter {
        justify-content: center;
    }
    
    .platform-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .search-input {
        width: 200px;
    }
    
    .table-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .pagination-container {
        flex-direction: column;
        gap: 16px;
    }
    
    /* 테이블을 가로 스크롤로 변경 */
    .table-view {
        overflow-x: auto;
    }
    
    .ranking-table {
        min-width: 800px;
    }
}

@media (max-width: 640px) {
    .ranking-title {
        font-size: 1.75rem !important;
    }
    
    .platform-btn span:not(.fab) {
        display: none;
    }
    
    .search-input {
        width: 160px;
    }
    
    .btn-add-new span {
        display: none;
    }
    
    .page-btn span {
        display: none;
    }
}

/* =============================
   MODERN SIDEBAR + LIST LAYOUT
   ============================= */

/* Main Layout Container */
.influencer-layout {
    display: flex;
    min-height: calc(100vh - 120px);
    gap: 1.5rem;
    margin: 1rem 0;
}

/* Left Sidebar */
.filter-sidebar {
    flex: 0 0 300px;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.filter-sidebar h5 {
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

/* Search Box */
.search-container {
    position: relative;
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.search-input:focus {
    outline: none;
    border-color: #4f46e5;
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 16px;
}

/* Platform Chips */
.platform-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
}

.platform-chip {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-chip:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.05);
}

.platform-chip.active {
    background: #4f46e5;
    color: white;
    border-color: #4f46e5;
}

.platform-chip.youtube.active { background: #ff0000; border-color: #ff0000; }
.platform-chip.instagram.active { background: #e1306c; border-color: #e1306c; }
.platform-chip.tiktok.active { background: #000000; border-color: #000000; }
.platform-chip.facebook.active { background: #1877f2; border-color: #1877f2; }

/* Filter Sections */
.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: border-color 0.2s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Range Inputs */
.range-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.range-input {
    flex: 1;
    padding: 8px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
}

.range-separator {
    color: #64748b;
    font-weight: 500;
}

/* Main Content Area */
.main-content {
    flex: 1;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Channel Type Tabs */
.channel-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
}

.channel-tab {
    flex: 1;
    padding: 16px 24px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.channel-tab:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.05);
}

.channel-tab.active {
    color: #4f46e5;
    background: white;
    border-bottom: 3px solid #4f46e5;
}

/* List Container */
.list-container {
    padding: 1.5rem;
}

/* List Header */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.list-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.list-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sort-select {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    background: white;
    min-width: 140px;
}

.view-toggle {
    display: flex;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.view-btn {
    padding: 8px 12px;
    border: none;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.view-btn:hover {
    background: #f8fafc;
    color: #4f46e5;
}

.view-btn.active {
    background: #4f46e5;
    color: white;
}

/* Influencer List Items */
.influencer-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.influencer-item {
    display: flex;
    padding: 20px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: white;
    position: relative;
}

.influencer-item:hover {
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

/* Influencer Avatar */
.influencer-avatar {
    flex: 0 0 80px;
    margin-right: 20px;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    position: relative;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.platform-indicator {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.platform-indicator.youtube { background: #ff0000; }
.platform-indicator.instagram { background: #e1306c; }
.platform-indicator.tiktok { background: #000000; }
.platform-indicator.facebook { background: #1877f2; }

/* Influencer Info */
.influencer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.influencer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.influencer-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 4px 0;
}

.influencer-category {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    border-radius: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: #dcfce7;
    color: #166534;
}

.status-badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.inactive {
    background: #f3f4f6;
    color: #6b7280;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 16px 0;
}

.metric-item {
    text-align: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.metric-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Channel List */
.channel-list {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.channel-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.channel-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: white;
}

.channel-chip.youtube { background: #ff0000; }
.channel-chip.instagram { background: #e1306c; }
.channel-chip.tiktok { background: #000000; }
.channel-chip.facebook { background: #1877f2; }

/* Action Buttons */
.item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    background: white;
}

.action-btn:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.05);
}

/* Pagination */
.list-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.05);
}

.pagination-btn.active {
    background: #4f46e5;
    border-color: #4f46e5;
    color: white;
}

.pagination-info {
    margin: 0 16px;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.empty-icon {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-description {
    font-size: 14px;
    color: #64748b;
}

/* Loading State */
.loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .filter-sidebar {
        flex: 0 0 280px;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .influencer-layout {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-sidebar {
        flex: none;
        position: static;
    }
    
    .platform-chips {
        justify-content: center;
    }
    
    .list-controls {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .influencer-item {
        flex-direction: column;
        text-align: center;
    }
    
    .influencer-avatar {
        align-self: center;
        margin: 0 0 16px 0;
    }
    
    .influencer-header {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .channel-tabs {
        flex-wrap: wrap;
    }
    
    .channel-tab {
        flex: 1 1 50%;
        min-width: 120px;
    }
    
    .item-actions {
        margin: 16px 0 0 0;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .filter-sidebar {
        padding: 1rem;
    }
    
    .main-content .list-container {
        padding: 1rem;
    }
    
    .avatar-circle {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .platform-indicator {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .channel-list {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* =============================
   CRITICAL OVERRIDES - 최우선
   ============================= */

/* Bootstrap container override for ranking page */
body:has(.ranking-container) .container,
.ranking-container {
    max-width: 1600px !important;
    background: #f8fafb !important;
}

/* Ensure NoxInfluencer styling takes precedence */
.ranking-container * {
    box-sizing: border-box !important;
}

/* Force header gradient */
.ranking-container .ranking-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%) !important;
    color: white !important;
}

/* Force button styling */
.ranking-container .platform-btn {
    border: 2px solid #e2e8f0 !important;
    border-radius: 20px !important;
    background: white !important;
    color: #64748b !important;
}

.ranking-container .platform-btn.active {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: white !important;
}

/* Force table styling */
.ranking-container .ranking-table {
    border: none !important;
    background: white !important;
}

.ranking-container .ranking-table th {
    background: #f1f5f9 !important;
    border: none !important;
    font-weight: 600 !important;
}

/* Force card styling */
.ranking-container .ranking-table-container {
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
}

/* 반응형 조정 */
@media (max-width: 768px) {
    .platform-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }

    .k-score-badge {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }

    .channel-card .card-body {
        padding: 1rem;
    }
}

/* =============================
   MODERN DASHBOARD STYLES
   ============================= */

/* Dashboard Header */
.dashboard-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.dashboard-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
}

.dashboard-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.dashboard-time {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Stats Container */
.stats-container {
    margin: 2rem 0;
}

.modern-stats-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
}

.modern-stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.stats-card-primary { --accent-color: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%); }
.stats-card-success { --accent-color: linear-gradient(135deg, #4ade80 0%, #22c55e 100%); }
.stats-card-info { --accent-color: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }

.stats-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stats-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: var(--accent-color);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.stats-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #10b981;
    background: #dcfce7;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
}

.stats-content {
    text-align: left;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 0.25rem 0;
    line-height: 1;
}

.stats-label {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-description {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

/* Quick Action Cards */
.quick-actions-section {
    margin: 3rem 0;
}

.quick-action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-action-card:hover {
    border-color: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    color: inherit;
    text-decoration: none;
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.action-content {
    flex: 1;
}

.action-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.25rem 0;
}

.action-description {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.action-arrow {
    color: #9ca3af;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.quick-action-card:hover .action-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Modern Cards */
.modern-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.modern-card .card-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: white;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.25rem 0;
}

.card-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.card-action-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.card-action-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #374151;
}

.modern-card .card-body {
    padding: 1.5rem;
}

/* Loading Content */
.loading-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f4f6;
    border-top: 2px solid #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Dashboard */
@media (max-width: 1200px) {
    .dashboard-title {
        font-size: 2rem;
    }

    .stats-number {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .dashboard-header {
        padding: 1.5rem;
        text-align: center;
    }

    .dashboard-title {
        font-size: 1.75rem;
        justify-content: center;
    }

    .dashboard-time {
        text-align: center;
        margin-top: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .quick-action-card {
        text-align: center;
        flex-direction: column;
        gap: 0.75rem;
    }

    .action-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        padding: 1rem;
    }

    .dashboard-title {
        font-size: 1.5rem;
    }

    .stats-number {
        font-size: 1.75rem;
    }

    .modern-stats-card {
        padding: 1rem;
    }

    .stats-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .modern-card .card-header,
    .modern-card .card-body {
        padding: 1rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }
}

/* =============================
   MODERN INFLUENCERS FILTER
   ============================= */

/* Filter Container */
.modern-filter-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Filter Header */
.filter-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    padding: 1.5rem 2rem;
}

.filter-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-title-section h3.filter-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    display: flex;
    align-items: center;
}

.filter-subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.modern-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modern-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-1px);
}

/* Search Section */
.search-section {
    padding: 2rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 0.75rem 0.75rem 3rem;
    transition: all 0.2s ease;
}

.search-input-wrapper:focus-within {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1.125rem;
    pointer-events: none;
    z-index: 1;
}

.modern-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #1a202c;
    background: transparent;
    padding: 0;
    margin: 0;
    width: 100%;
}

.modern-search-input::placeholder {
    color: #9ca3af;
}

.search-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.search-btn {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-btn:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

.clear-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #374151;
}

.search-hint {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.search-hint i {
    color: #f59e0b;
}

/* Filter Sections */
.filter-section {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.filter-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
    display: flex;
    align-items: center;
}

.section-title i {
    color: #64748b;
}

.toggle-categories-btn {
    background: none;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-categories-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #374151;
}

/* Platform Chips */
.platform-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.platform-chips .chip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: white;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.platform-chips .chip:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-1px);
    color: #374151;
    text-decoration: none;
}

.platform-chips .chip.active {
    background: #4f46e5;
    border-color: #4f46e5;
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.platform-chips .chip.youtube.active {
    background: #ff0000;
    border-color: #ff0000;
}

.platform-chips .chip.instagram.active {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
}

.platform-chips .chip.tiktok.active {
    background: #000000;
    border-color: #000000;
}

.platform-chips .chip.facebook.active {
    background: #1877f2;
    border-color: #1877f2;
}

.platform-chips .chip.naver.active {
    background: #03c75a;
    border-color: #03c75a;
}

/* Category Horizontal Grid */
.categories-horizontal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
    margin-top: 0.5rem;
    align-items: center;
}

.categories-horizontal-grid .form-check {
    margin: 0;
    min-width: auto;
    display: flex;
    align-items: center;
}

.categories-horizontal-grid .form-check-input {
    margin: 0;
    margin-right: 0.5rem;
}

.categories-horizontal-grid .form-check-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
    margin-left: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0.15rem 0;
    user-select: none;
}

.categories-horizontal-grid .form-check-label:hover {
    color: #4f46e5;
}

.categories-horizontal-grid .form-check-input:checked + .form-check-label {
    color: #4f46e5;
    font-weight: 600;
}

.categories-horizontal-grid .form-check-label i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
    margin-right: 0.5rem;
}

/* Performance Filters */
.performance-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    align-items: center;
}

.performance-filters .form-check {
    margin: 0;
    display: flex;
    align-items: center;
}

.performance-filters .form-check-input {
    margin: 0;
    margin-right: 0.5rem;
}

.performance-filters .form-check-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    user-select: none;
}

.performance-filters .form-check-label i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
    margin-right: 0.5rem;
}

.performance-filters .form-check-label:hover {
    color: #4f46e5;
}

.performance-filters .form-check-input:checked + .form-check-label {
    color: #4f46e5;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 992px) {
    .filter-header {
        padding: 1.25rem 1.5rem;
    }

    .filter-header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .search-section,
    .filter-section {
        padding: 1.25rem 1.5rem;
    }

    .platform-chips {
        justify-content: center;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .filter-header {
        padding: 1rem;
    }

    .filter-title {
        font-size: 1.25rem;
    }

    .search-section,
    .filter-section {
        padding: 1rem;
    }

    .search-input-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-actions {
        align-self: stretch;
    }

    .search-btn {
        flex: 1;
    }

    .platform-chips .chip span {
        display: none;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }

    .category-checkbox label span {
        display: none;
    }

    .category-checkbox label {
        justify-content: center;
        padding: 0.75rem 0.5rem;
    }
}

/* ======================
   MODERN NAVBAR STYLES
   ====================== */

/* 네비게이션 바 기본 스타일 */
.modern-navbar {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 50%, #0d9488 100%) !important;
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.3s ease;
    min-height: 70px;
}

/* 브랜드 로고 스타일 */
.modern-brand {
    text-decoration: none !important;
    color: white !important;
    transition: all 0.3s ease;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 1.8rem;
    background: linear-gradient(45deg, #fff, #f1f3f4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.brand-text {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #f1f3f4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.modern-brand:hover {
    transform: translateY(-1px);
}

/* 네비게이션 메뉴 스타일 */
.modern-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 12px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 4px;
}

.modern-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white !important;
    transform: translateY(-1px);
}

.modern-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white !important;
}

/* 드롭다운 메뉴 현대적 스타일 */
.modern-nav .dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    margin-top: 8px;
    min-width: 250px;
}

.modern-nav .dropdown-item {
    padding: 12px 20px;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 2px 8px;
    font-weight: 500;
}

.modern-nav .dropdown-item:hover {
    background-color: #f8f9ff;
    color: #2563eb;
    transform: translateX(4px);
}

.modern-nav .dropdown-header {
    font-weight: 600;
    color: #2563eb;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 20px 4px;
}

/* 사용자 영역 스타일 */
.modern-user-nav {
    gap: 16px;
}

.status-section {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.status-indicator-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
    animation: pulse 2s infinite;
}

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

.status-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.scheduler-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.scheduler-badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
}

/* 사용자 프로필 드롭다운 */
.user-profile {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 25px !important;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px);
}

.user-info-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar i {
    font-size: 1.5rem;
    color: white;
}

.user-details {
    text-align: left;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.user-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

.user-dropdown {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    padding: 8px 0 !important;
    margin-top: 8px !important;
    min-width: 200px;
}

/* 모바일 토글 버튼 */
.modern-toggler {
    border: none;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.modern-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modern-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* 반응형 디자인 */
@media (max-width: 991.98px) {
    .modern-navbar {
        min-height: 60px;
    }
    
    .brand-text {
        font-size: 1.5rem;
    }
    
    .brand-icon {
        font-size: 1.5rem;
    }
    
    .modern-nav {
        margin-top: 16px;
    }
    
    .modern-nav .nav-link {
        margin: 2px 0;
        border-radius: 6px;
    }
    
    .modern-user-nav {
        margin-top: 16px;
        gap: 8px;
    }
    
    .status-section {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        padding: 12px !important;
    }
    
    .user-profile {
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 8px !important;
        padding: 12px !important;
    }
}

/* 로그인 버튼 스타일 */
.login-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
}

/* ========================================
   모바일 최적화 (Mobile Optimization)
   ======================================== */

/* 모바일 환경에서 테이블을 카드 뷰로 전환 */
@media (max-width: 768px) {
    /* 테이블 헤더 숨김 */
    .table-responsive table thead {
        display: none;
    }

    /* 테이블을 블록 레이아웃으로 변경 */
    .table-responsive table,
    .table-responsive table tbody,
    .table-responsive table tr,
    .table-responsive table td {
        display: block;
        width: 100%;
    }

    /* 각 행을 카드 형태로 표시 */
    .table-responsive table tbody tr {
        margin-bottom: 1rem;
        border: 1px solid rgba(226, 232, 240, 0.8);
        border-radius: 12px;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    }

    .table-responsive table tbody tr:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    }

    /* 각 셀을 행으로 표시 */
    .table-responsive table tbody td {
        padding: 0.75rem 0;
        border: none;
        border-bottom: 1px solid rgba(226, 232, 240, 0.4);
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    .table-responsive table tbody td:last-child {
        border-bottom: none;
    }

    /* 데이터 레이블 추가 (::before를 사용) */
    .table-responsive table tbody td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-right: 10px;
        font-weight: 600;
        color: #475569;
        text-align: left;
    }

    /* 액션 버튼 영역 */
    .table-responsive table tbody td:last-child {
        padding-left: 0;
        text-align: center;
        padding-top: 1rem;
        margin-top: 0.5rem;
        border-top: 1px solid rgba(226, 232, 240, 0.4);
    }

    .table-responsive table tbody td:last-child::before {
        display: none;
    }

    /* 액션 버튼 그룹 레이아웃 */
    .action-buttons {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
}

/* 모달 모바일 최적화 */
@media (max-width: 768px) {
    /* 모달을 전체 화면에 가깝게 표시 */
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .modal-dialog.modal-lg,
    .modal-dialog.modal-xl {
        max-width: calc(100% - 1rem);
    }

    /* 모달 내용 패딩 조정 */
    .modal-body {
        padding: 1.25rem;
        max-height: calc(100vh - 200px);
        overflow-y: auto;
    }

    .modal-header,
    .modal-footer {
        padding: 1rem 1.25rem;
    }

    /* 모달 제목 크기 조정 */
    .modal-title {
        font-size: 1.1rem;
    }

    /* 모달 내 폼 레이아웃 */
    .modal-body .row > [class*="col-"] {
        margin-bottom: 1rem;
    }

    /* 모달 푸터 버튼 */
    .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }

    .modal-footer .btn {
        width: 100%;
        margin: 0 !important;
    }
}

/* 버튼 터치 영역 최적화 */
@media (max-width: 768px) {
    /* 모든 버튼의 최소 크기 및 터치 영역 확보 */
    .btn {
        min-height: 44px;
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }

    .btn-sm {
        min-height: 38px;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .btn-lg {
        min-height: 50px;
        padding: 0.75rem 1.5rem;
        font-size: 1.05rem;
    }

    /* 아이콘 버튼 크기 조정 */
    .btn i.fas,
    .btn i.fab {
        font-size: 1.1rem;
    }

    /* 버튼 그룹 간격 */
    .btn-group .btn,
    .action-buttons .btn {
        margin: 0.25rem;
    }

    /* 액션 버튼 터치 최적화 */
    .action-buttons .btn-sm {
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem;
    }
}

/* 카드 컴포넌트 모바일 최적화 */
@media (max-width: 768px) {
    /* 카드 패딩 및 마진 조정 */
    .card {
        margin-bottom: 0.75rem;
        border-radius: 12px;
    }

    .card-body {
        padding: 0.875rem;
    }

    .card-header,
    .card-footer {
        padding: 0.75rem 0.875rem;
    }

    /* 인플루언서 카드 */
    .influencer-card {
        margin-bottom: 1rem;
    }

    .influencer-card .card-body {
        padding: 0.875rem;
    }

    /* 메트릭 카드 */
    .metric-card {
        min-height: auto;
        padding: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .metric-card .metric-value {
        font-size: 1.4rem;
    }

    .metric-card .metric-label {
        font-size: 0.8rem;
    }

    /* 앱 패널 - 모바일에서 패딩 대폭 축소 */
    .app-panel {
        padding: 0.875rem;
        margin-bottom: 0.75rem;
        border-radius: 12px;
    }

    .app-panel--compact {
        padding: 0.75rem;
    }

    .app-panel--metrics {
        padding: 0.875rem;
    }

    .app-panel--table {
        padding: 0.5rem;
    }

    /* 앱 컨텐츠 서피스 */
    .app-content-surface {
        padding: 0.875rem;
        border-radius: 12px;
    }

    /* 앱 패널 헤더 */
    .app-panel__header {
        margin-bottom: 0.75rem;
    }

    .app-panel__title {
        font-size: 1rem;
    }

    /* 앱 패널 툴바 */
    .app-panel__toolbar {
        margin-top: 0.5rem;
        gap: 0.5rem !important;
    }
}

/* 검색 및 필터 영역 모바일 최적화 */
@media (max-width: 768px) {
    .search-section {
        margin-bottom: 1.5rem;
    }

    .search-section .row {
        gap: 0.75rem;
    }

    .search-section .col-md-4,
    .search-section .col-md-3,
    .search-section .col-md-2 {
        padding: 0;
    }

    /* 검색 입력 필드 */
    .search-section .form-control,
    .search-section .form-select {
        min-height: 44px;
        font-size: 1rem;
    }

    /* 검색 버튼 */
    .search-section .btn {
        width: 100%;
        min-height: 44px;
    }
}

/* 폼 입력 필드 모바일 최적화 */
@media (max-width: 768px) {
    /* 모든 입력 필드 터치 최적화 */
    .form-control,
    .form-select,
    .form-check-input {
        min-height: 44px;
        font-size: 1rem;
        padding: 0.625rem 0.875rem;
    }

    textarea.form-control {
        min-height: 100px;
    }

    /* 폼 레이블 */
    .form-label {
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    /* 입력 그룹 */
    .input-group {
        flex-wrap: nowrap;
    }

    .input-group-text {
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* 페이지 헤더 모바일 최적화 */
@media (max-width: 768px) {
    /* 페이지 타이틀과 액션 버튼 레이아웃 */
    .d-flex.justify-content-between.align-items-center {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .d-flex.justify-content-between.align-items-center > .btn {
        width: 100%;
    }

    /* 페이지 제목 */
    h1.h3 {
        font-size: 1.5rem;
        width: 100%;
    }
}

/* 테이블 오버플로우 개선 */
@media (max-width: 768px) {
    /* 테이블 래퍼 */
    .table-responsive {
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    /* 스크롤 힌트 */
    .table-responsive::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.9), transparent);
        pointer-events: none;
    }
}

/* Badge 및 Status 모바일 최적화 */
@media (max-width: 768px) {
    .badge {
        padding: 0.4rem 0.75rem;
        font-size: 0.875rem;
        font-weight: 600;
    }

    /* 상태 표시 뱃지 */
    .status-badge {
        display: inline-block;
        min-width: 70px;
        text-align: center;
    }
}

/* 그리드 레이아웃 모바일 조정 */
@media (max-width: 768px) {
    /* 인플루언서 그리드 */
    .influencer-grid,
    .vling-cards-grid,
    .influencer-grid-view {
        grid-template-columns: 1fr !important;
        gap: 0.875rem !important;
        padding: 0.5rem !important;
    }

    /* 메트릭 그리드 */
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* 플랫폼 통계 그리드 */
    .platform-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    /* 그리드 내부 카드 최적화 */
    .influencer-grid .card,
    .vling-cards-grid .card,
    .influencer-grid-view .card {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
}

/* 네비게이션 모바일 최적화 추가 */
@media (max-width: 768px) {
    /* 네비게이션 링크 터치 영역 확대 */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
    }

    /* 드롭다운 메뉴 */
    .dropdown-menu {
        min-width: 200px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
    }

    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
    }
}

/* 스크롤 개선 */
@media (max-width: 768px) {
    /* 부드러운 스크롤 */
    html {
        scroll-behavior: smooth;
    }

    /* 오버플로우 방지 */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* 모바일 환경에서 앱 메인 패딩 조정 */
    .app-main {
        padding: 1rem 0 1.5rem;
    }

    .app-main__container {
        padding: 0 0.75rem;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* 모든 컨테이너 오버플로우 방지 */
    .container,
    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Row 여백 조정 */
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .row > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* 텍스트 크기 및 가독성 개선 */
@media (max-width: 768px) {
    /* 본문 텍스트 */
    body {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* 링크 터치 영역 */
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* 작은 텍스트 가독성 개선 */
    small,
    .small {
        font-size: 0.875rem;
    }

    /* 테이블 텍스트 */
    .table {
        font-size: 0.95rem;
    }
}

/* 이미지 및 미디어 모바일 최적화 */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }

    /* 아바타/프로필 이미지 */
    .avatar,
    .profile-image {
        max-width: 80px;
        height: auto;
    }
}

/* Alert 및 Notification 모바일 최적화 */
@media (max-width: 768px) {
    .alert {
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

    .app-alert {
        border-radius: 12px;
        padding: 1rem;
    }
}

/* 모바일 전용 유틸리티 클래스 */
@media (max-width: 768px) {
    .mobile-full-width {
        width: 100% !important;
    }

    .mobile-text-center {
        text-align: center !important;
    }

    .mobile-hide {
        display: none !important;
    }

    .mobile-show {
        display: block !important;
    }
}

/* ===========================
   Profile Management Page
   =========================== */

/* Status Grid - 2열 그리드 레이아웃 */
.status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .status-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Storage Grid - 4열 통계 그리드 */
.storage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

@media (max-width: 992px) {
    .storage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .storage-grid {
        grid-template-columns: 1fr;
    }
}

.storage-cell {
    text-align: center;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.storage-cell .value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.storage-cell .label {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
}

.storage-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

/* Log Panel */
.log-panel__body {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.3);
    border-radius: 8px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.875rem;
}

.log-panel__placeholder {
    text-align: center;
    color: #94a3b8;
    padding: 2rem;
    font-style: italic;
}

.log-entry {
    display: flex;
    gap: 1rem;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}

.log-entry:last-child {
    border-bottom: none;
}

.log-entry .timestamp {
    color: #64748b;
    min-width: 85px;
    font-weight: 600;
}
