/* Enhanced Dashboard Styles */


/* Timeline Component Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #e9ecef, #dee2e6);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2.25rem;
    top: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    z-index: 1;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-marker-primary {
    background-color: var(--bs-primary);
    color: white;
}

.timeline-marker-info {
    background-color: var(--bs-info);
    color: white;
}

.timeline-marker-success {
    background-color: var(--bs-success);
    color: white;
}

.timeline-marker-danger {
    background-color: var(--bs-danger);
    color: white;
}

.timeline-marker-secondary {
    background-color: var(--bs-secondary);
    color: white;
}

.timeline-content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid var(--bs-primary);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--bs-dark);
}

.timeline-description {
    margin-bottom: 0.5rem;
    color: var(--bs-gray-700);
    font-size: 0.9rem;
}

/* Enhanced Card Animations */
.ccard-container {
    transition: all 0.3s ease;
}

.ccard:hover .ccard-container {
    transform: translateY(-2px);
}

/* Statistics Card Enhancements */
.stats-card-content {
    position: relative;
    overflow: hidden;
}

.stats-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

/* Glassmorphism Enhancement */
.ccard[data-variant="primary"] .ccard-glassmorphism-overlay {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.ccard[data-variant="success"] .ccard-glassmorphism-overlay {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(25, 135, 84, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(25, 135, 84, 0.2);
}

.ccard[data-variant="info"] .ccard-glassmorphism-overlay {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.1), rgba(13, 202, 240, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(13, 202, 240, 0.2);
}

.ccard[data-variant="warning"] .ccard-glassmorphism-overlay {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

/* Loading State Improvements */
.core-loading-overlay {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline::before {
        left: 0.5rem;
    }
    
    .timeline-marker {
        left: -1.25rem;
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.65rem;
    }
    
    .timeline-item {
        padding-left: 1rem;
    }
    
    .timeline-content {
        padding: 0.75rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .timeline-content {
        background: #343a40;
        color: #f8f9fa;
    }
    
    .timeline-content:hover {
        background: #495057;
    }
    
    .timeline-title {
        color: #f8f9fa;
    }
    
    .timeline-description {
        color: #adb5bd;
    }
}

/* Animation utilities */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-in-up {
    animation: slideInUp 0.5s ease-out;
}

.animate-slide-in-up-delayed {
    animation: slideInUp 0.5s ease-out 0.2s both;
}

/* Card hover effects */
.ccard-enhanced {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ccard-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Statistics trend indicators */
.trend-indicator {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    line-height: 1;
}

.trend-up {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--bs-success);
}

.trend-down {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--bs-danger);
}

/* Progress bar enhancements */
.progress-enhanced {
    height: 0.5rem;
    border-radius: 0.25rem;
    background-color: rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.progress-bar-enhanced {
    height: 100%;
    border-radius: 0.25rem;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info));
    transition: width 0.6s ease;
}

/* Quick action buttons */
.quick-action-btn {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.quick-action-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Enhanced spacing utilities */
.spacing-enhanced .row {
    margin-bottom: 2rem;
}

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

/* Status indicators */
.status-indicator {
    position: relative;
    display: inline-block;
}

.status-indicator::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: var(--bs-success);
    border: 2px solid #fff;
    border-radius: 50%;
    z-index: 1;
}

.status-indicator.status-warning::before {
    background-color: var(--bs-warning);
}

.status-indicator.status-danger::before {
    background-color: var(--bs-danger);
}

.status-indicator.status-info::before {
    background-color: var(--bs-info);
}
