/* HuePOS Checkout & Cart Enhancements */

/* =========================================
   1. CHECKOUT STEPS WIZARD
   ========================================= */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.checkout-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 10px;
}

.checkout-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 20px;
}

.checkout-step .step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    margin-bottom: 5px;
    font-weight: bold;
}

.checkout-step .step-name {
    display: block;
    font-size: 14px;
    color: #666;
}

.checkout-step.active .step-number {
    background: #f04c28;
    color: #fff;
}

.checkout-step.active .step-name {
    color: #f04c28;
    font-weight: bold;
}

.checkout-step.completed .step-number {
    background: #0f834d;
    color: #fff;
}

.checkout-step.completed .step-name {
    color: #0f834d;
}

/* Mobile Responsive Steps */
@media (max-width: 768px) {
    .checkout-steps {
        flex-direction: column;
    }

    .checkout-step:not(:last-child)::after {
        content: '↓';
        right: auto;
        top: auto;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* =========================================
   2. SECURITY BADGES & NOTICES
   ========================================= */
/* Cart Security Notice */
.cart-security-notice {
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    padding: 10px 15px;
    border-radius: 3px;
    margin-bottom: 20px;
    color: #0066cc;
}

.cart-security-notice i {
    margin-right: 8px;
}

/* Checkout Trust Badges */
.checkout-security-badges {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.security-badge {
    text-align: center;
    font-size: 13px;
    color: #666;
}

.security-badge i {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
    color: #0f834d;
}

/* =========================================
   3. FREE SHIPPING PROGRESS
   ========================================= */
.huepos-shipping-progress {
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.huepos-shipping-progress .shipping-message {
    margin: 0 0 10px 0;
    font-weight: 500;
    color: #495057;
}

.huepos-shipping-progress .shipping-message.success {
    color: #28a745;
    font-weight: 600;
}

.huepos-shipping-progress .progress-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.huepos-shipping-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 0.5s ease;
    border-radius: 5px;
}

/* =========================================
   4. COD MESSAGE
   ========================================= */
.huepos-cod-message {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #28a745;
    border-radius: 6px;
    margin-top: 15px;
    padding: 15px;
}

.huepos-cod-message h4 {
    color: #28a745;
    font-weight: 600;
    margin-top: 0;
}

.huepos-cod-message .cod-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.huepos-cod-message .cod-content li {
    margin-bottom: 8px;
    color: #495057;
}