/* ==========================================
   모던 대시보드 스타일 - 스크롤 없이 한눈에
   ========================================== */

/* 메인 콘텐츠 영역 - 스크롤바 제거 */
.admin-main {
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.admin-main::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* 대시보드 섹션 - 한 화면에 모든 정보 */
#dashboardSection {
    height: calc(100vh - 180px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#dashboardSection::-webkit-scrollbar {
    display: none;
}

/* 웰컴 배너 - 간소화 */
.welcome-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.welcome-content h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.welcome-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.welcome-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
}

/* 통계 카드 그리드 - 4열 */
.stats-grid-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

@media (max-width: 768px) {
    .stats-grid-simple {
        grid-template-columns: 1fr;
    }
}

/* 통계 카드 - 간소화 */
.stat-card-simple {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card-simple:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.15);
}

.stat-card-simple .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card-simple .stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-card-simple .stat-content h3 {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.stat-card-simple .stat-number {
    color: var(--text-white);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

/* 대시보드 그리드 - 2열 레이아웃 */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

/* 섹션 헤더 - 간소화 */
.section-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header-new h3 {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header-new h3 i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* 대시보드 카드 */
.dashboard-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    height: fit-content;
}

/* 최근 음원 리스트 */
.recent-track-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-dark);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.recent-track-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.recent-track-info h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.recent-track-info p {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.recent-track-stats {
    text-align: right;
}

.recent-track-stats .streams {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.recent-track-stats .date {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* 최근 정산 리스트 */
.recent-settlement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-dark);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.recent-settlement-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.settlement-period {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.settlement-amount {
    color: #4caf50;
    font-size: 1.2rem;
    font-weight: 700;
}

.settlement-status {
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.settlement-status.paid {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.settlement-status.processing {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

/* 빈 상태 */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-gray);
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1rem;
}

/* 더보기 버튼 */
.btn-view-more {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-view-more:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: var(--primary-color);
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 반응형 - 작은 화면 */
@media (max-width: 768px) {
    .welcome-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .welcome-content h2 {
        font-size: 1.3rem;
    }
    
    .welcome-icon {
        font-size: 2rem;
        margin-top: 0.5rem;
    }
    
    .stat-card-simple {
        padding: 1.2rem;
    }
    
    .stat-card-simple .stat-number {
        font-size: 1.5rem;
    }
    
    .dashboard-card {
        padding: 1.2rem;
    }
}
