/*
 Theme Name:   ishop child theme
 Template:     ishop-theme
 Version:      1.0.0
 Description:  Child theme for ishop theme
 Author:       Sepehr Zamani
*/

/* Order status colors */
.panel__dashboard-product-infos-title em.confirmed {
    color: #0650a3;
}

.panel__dashboard-product-infos-title em.failed {
    color: #dc3545;
}

.panel__dashboard-product-infos-title em.warning {
    color: #ff9800;
}

/* Shipping payment button styling */
.panel__dashboard-product-infos-title li a.button.button-primary {
    background-color: rgb(107 143 113) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-block !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: background-color 0.3s ease !important;
}

.panel__dashboard-product-infos-title li a.button.button-primary:hover {
    background-color: #0650a3 !important;
}

/* Shipping cost section styling */
.shipping-cost-section {
    margin-top: 30px;
}

.shipping-cost-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #021959;
}

/* Match the order details table styling for shipping cost section */
.shipping-cost-section .woocommerce-table.woocommerce-table--order-details {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.shipping-cost-section .woocommerce-table--order-details--totals-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.shipping-cost-section .woocommerce-table--order-details--totals-item:last-child {
    border-bottom: none;
}

.shipping-cost-section .woocommerce-table--order-details--totals-item-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.shipping-cost-section .woocommerce-table--order-details--totals-item-value {
    font-size: 14px;
    color: #021959;
    font-weight: 600;
}

/* Shipping status badges */
.shipping-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.shipping-status--paid {
    background-color: #d4edda;
    color: #155724;
}

.shipping-status--pending {
    background-color: #fff3cd;
    color: #856404;
}

/* Link styling in shipping payment page */
.shipping-payment-order .order-header h3 a {
    color: #0650a3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.shipping-payment-order .order-header h3 a:hover {
    color: #053b7d;
    text-decoration: underline;
}

/* Shipping payment button in order details page */
.shipping-pay-button {
    background-color: rgb(107 143 113) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-block !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    transition: background-color 0.3s ease !important;
}

.shipping-pay-button:hover {
    background-color: #0650a3 !important;
    color: white !important;
}