/* Customer Dashboard Redesign CSS */

/* New Breadcrumb Design */
.customer-breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
}

.customer-breadcrumb h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #333;
    text-transform: uppercase;
}

.customer-breadcrumb .breadcrumb {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    background: transparent;
}

.customer-breadcrumb .breadcrumb a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
}

.customer-breadcrumb .breadcrumb a:hover {
    color: #4CAF50;
}

.customer-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #777;
    font-size: 12px;
    padding: 0 8px;
}

.customer-breadcrumb .breadcrumb-item.active {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

/* Order Statistics Cards */
.counter-box {
    margin-bottom: 15px;
}

.counter-box .bg-block {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.counter-box .bg-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Reduce spacing between order statistics cards */
.row-cols-lg-3.row-cols-md-3.row-cols-sm-3.row-cols-1 {
    gap: 10px !important;
    margin-bottom: 20px !important;
}

.counter-box .bg-block {
    display: flex !important;
    align-items: center !important;
}

.counter-box .bg-block img {
    width: 45px !important;
    height: 45px !important;
    margin-right: 15px !important;
}

.counter-box .content h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #4CAF50 !important;
    margin-bottom: 0 !important;
}

.counter-box .content p {
    font-size: 14px !important;
    color: #555 !important;
    margin-bottom: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .customer-breadcrumb h1 {
        font-size: 20px;
    }
    
    .customer-breadcrumb .breadcrumb a,
    .customer-breadcrumb .breadcrumb-item.active {
        font-size: 12px;
    }
    
    .counter-box .bg-block {
        padding: 10px;
    }
    
    .counter-box .bg-block img {
        width: 35px !important;
        height: 35px !important;
        margin-right: 10px !important;
    }
    
    .counter-box .content h3 {
        font-size: 18px !important;
    }
    
    .counter-box .content p {
        font-size: 12px !important;
    }
    
    /* Make the statistics cards appear in a single row with horizontal scrolling */
    .row-cols-lg-3.row-cols-md-3.row-cols-sm-3.row-cols-1 {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .counter-box {
        flex: 0 0 auto;
        width: 80%;
        padding-left: 5px;
        padding-right: 5px;
    }
}
