/* Enhanced Dashboard Styles - V210 */

/* Gradient Stat Cards */
.card.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none;
    transition: all 0.3s ease;
}

.card.bg-success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%) !important;
    border: none;
    transition: all 0.3s ease;
}

.card.bg-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
    border: none;
    transition: all 0.3s ease;
}

.card.bg-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    border: none;
    transition: all 0.3s ease;
}

.card.bg-danger {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
    border: none;
    transition: all 0.3s ease;
}

/* Card Hover Effects */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Enhanced Badges */
.badge-status {
    padding: 0.5em 1em;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.badge-pending {
    background: #ffc107;
    color: #000;
}

.badge-processing {
    background: #0dcaf0;
    color: #000;
}

.badge-shipped {
    background: #0d6efd;
    color: #fff;
}

.badge-delivered {
    background: #198754;
    color: #fff;
}

.badge-cancelled {
    background: #dc3545;
    color: #fff;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-actions .btn {
    flex: 1;
    min-width: 150px;
    transition: all 0.3s ease;
}

.quick-actions .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-icon {
    position: absolute;
    left: -25px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
}

.timeline-content {
    padding-left: 15px;
}

.timeline-content h6 {
    margin-bottom: 5px;
    font-weight: 600;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: none;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

@media (max-width: 991px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    body {
        padding-bottom: 70px;
    }
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #6c757d;
    font-size: 0.75rem;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.mobile-bottom-nav .nav-item.active {
    color: #0d6efd;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

/* Profile Progress */
.profile-progress {
    margin-bottom: 20px;
}

.profile-progress .progress {
    height: 25px;
    border-radius: 15px;
    overflow: hidden;
}

.profile-progress .progress-bar {
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.6s ease;
}

/* Wishlist Card */
.wishlist-card {
    transition: all 0.3s ease;
}

.wishlist-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Stat Card Icons */
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
}

/* Smooth Transitions */
.dashboard-section {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Sidebar */
.list-group-item {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    border-left-color: #0d6efd;
    padding-left: 20px;
}

.list-group-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-left-color: #764ba2;
    color: white;
}

.list-group-item.active i {
    color: white;
}

/* Order Card Enhancement */
.order-card {
    border-left: 4px solid #0d6efd;
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-state h5 {
    color: #6c757d;
    margin-bottom: 10px;
}

.empty-state p {
    color: #adb5bd;
    margin-bottom: 20px;
}

/* Loading State */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 4px;
    height: 20px;
    margin-bottom: 10px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .quick-actions .btn {
        min-width: 100%;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-body h3 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .mobile-bottom-nav,
    .btn,
    .list-group {
        display: none;
    }
}
