/* 커스텀 스타일 */
body {
    font-size: 0.875rem;
    background-color: #f8f9fc;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.2rem;
}

/* 사이드바 스타일 */
.sidebar {
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    overflow-y: auto;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin: 0.125rem 0.5rem;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.sidebar .nav-link.active {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
    font-weight: 600;
}

.sidebar .nav-link i {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

/* 메인 컨텐츠 스타일 */
.main-content {
    margin-left: 0;
    padding-top: 56px;
}

@media (min-width: 768px) {
    .main-content {
        margin-left: 240px;
    }
}

/* 카드 스타일 */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
}

/* 통계 카드 색상 */
.border-left-primary {
    border-left: 0.25rem solid #4e73df !important;
}

.border-left-success {
    border-left: 0.25rem solid #1cc88a !important;
}

.border-left-info {
    border-left: 0.25rem solid #36b9cc !important;
}

.border-left-warning {
    border-left: 0.25rem solid #f6c23e !important;
}

.text-primary {
    color: #5a5c69 !important;
}

.text-success {
    color: #1cc88a !important;
}

.text-info {
    color: #36b9cc !important;
}

.text-warning {
    color: #f6c23e !important;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

.text-gray-300 {
    color: #dddfeb !important;
}

.text-xs {
    font-size: 0.7rem;
}

.font-weight-bold {
    font-weight: 700 !important;
}

/* 프로그레스 바 */
.progress-sm {
    height: 0.5rem;
}

/* 테이블 스타일 */
.table th {
    border-top: none;
    font-weight: 600;
    color: #5a5c69;
    background-color: #f8f9fc;
}

/* 반응형 디자인 */
@media (max-width: 767.98px) {
    .sidebar {
        top: 56px;
        width: 100%;
        height: auto;
        position: static;
        padding: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .navbar-toggler {
        border: none;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
}

/* 드롭다운 메뉴 */
.dropdown-menu {
    border: none;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.dropdown-item i {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

/* 버튼 스타일 */
.btn {
    border-radius: 0.375rem;
    font-weight: 500;
}

/* 리스트 그룹 */
.list-group-item {
    border: none;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

/* 애니메이션 */
.card, .nav-link {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 2rem 0 rgba(58, 59, 69, 0.2);
}/* 대시보드
 전용 스타일 */
.dashboard-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem 0 rgba(58, 59, 69, 0.3);
}

.dashboard-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.quick-access-card {
    border: 1px solid #e3e6f0;
    transition: all 0.3s ease;
}

.quick-access-card:hover {
    border-color: #4e73df;
    box-shadow: 0 0.25rem 1rem 0 rgba(78, 115, 223, 0.2);
}

/* 상태 배지 */
.status-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
}

/* 통계 카운터 애니메이션 */
.counter {
    font-size: 2rem;
    font-weight: 700;
    color: #5a5c69;
}

/* 활동 로그 스타일 */
.activity-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e3e6f0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

/* 알림 스타일 */
.notification-card {
    border-left: 4px solid #4e73df;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
}

/* 차트 컨테이너 */
.chart-container {
    position: relative;
    height: 300px;
    margin: 1rem 0;
}

/* 로딩 스피너 */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4e73df;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 메트릭 카드 */
.metric-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 그라데이션 배경 */
.gradient-primary {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
}

.gradient-success {
    background: linear-gradient(135deg, #1cc88a 0%, #13855c 100%);
}

.gradient-info {
    background: linear-gradient(135deg, #36b9cc 0%, #258391 100%);
}

.gradient-warning {
    background: linear-gradient(135deg, #f6c23e 0%, #dda20a 100%);
}

/* 반응형 텍스트 */
@media (max-width: 576px) {
    .metric-value {
        font-size: 2rem;
    }
    
    .dashboard-icon {
        font-size: 2.5rem;
    }
    
    .counter {
        font-size: 1.5rem;
    }
}