/* Snippets Styles */

/* Last Order Styles */
.bt-last-order {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.bt-last-order__order-number {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.bt-last-order__order-number a {
    color: #333;
    text-decoration: none;
}

.bt-last-order__date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.bt-last-order__status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    margin: 10px 0;
}

.bt-last-order__total {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
}

.bt-last-order__actions {
    margin-top: 15px;
}

.bt-last-order__actions a {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bt-last-order__actions a:hover {
    background: #e9e9e9;
}

.bt-last-order__actions a.cancel {
    color: #d32f2f;
}

/* Order Status Colors */
.bt-last-order__status--completed {
    background: #c8e6c9;
    color: #2e7d32;
}

.bt-last-order__status--processing {
    background: #b3e5fc;
    color: #0277bd;
}

.bt-last-order__status--on-hold {
    background: #fff9c4;
    color: #f57f17;
}

.bt-last-order__status--pending {
    background: #ffccbc;
    color: #d84315;
}

.bt-last-order__status--cancelled {
    background: #ffcdd2;
    color: #c62828;
}

.bt-last-order__status--refunded {
    background: #f5f5f5;
    color: #616161;
}

.bt-last-order__status--failed {
    background: #ef9a9a;
    color: #b71c1c;
}

/* Customer Stats Styles */
.bt-customer-stats {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.bt-customer-stats__total-number,
.bt-customer-stats__total-sum {
    font-size: 28px;
    font-weight: bold;
    color: #2196f3;
    margin-bottom: 5px;
}

.bt-customer-stats__total-number span,
.bt-customer-stats__total-sum span {
    display: block;
}

/* Shipping Progress Bar Styles */
.brt-cart-offcanvas3__shipping-progress {
    position: relative;
    width: 100%;
    height: 20px;
    margin: 10px 0;
    border-radius: 10px;
    background-color: #f5f5f5;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    text-align: center;
    line-height: 20px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    z-index: 1;
    overflow: hidden;
}

.brt-cart-offcanvas3__shipping-progress::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, #4CAF50 0%, #8BC34A 100%);
    border-radius: 10px;
    transition: width 0.3s ease-in-out;
    z-index: -1;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .bt-last-order__actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .bt-last-order__actions a {
        margin-right: 0;
        text-align: center;
    }

    .bt-customer-stats__total-number,
    .bt-customer-stats__total-sum {
        font-size: 24px;
    }
} 