/* Order Confirmation Widget Styles */
.glomavis-order-confirmation {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.glomavis-order-message {
    font-size: 24px;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 30px;
    padding: 20px;
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.glomavis-order-message i {
    font-size: 28px;
}

.glomavis-order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 6px;
}

.glomavis-order-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.glomavis-order-detail-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
}

.glomavis-order-detail-value {
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
}

.glomavis-order-total {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #16a34a !important;
}

.glomavis-order-items {
    margin-bottom: 30px;
}

.glomavis-order-items h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.glomavis-order-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.glomavis-order-table thead th {
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
    border-bottom: 2px solid #e2e8f0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.glomavis-order-table tbody td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.glomavis-order-table tbody tr:last-child td {
    border-bottom: none;
}

.glomavis-order-item-image {
    width: 80px;
}

.glomavis-order-item-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.glomavis-order-item-name {
    font-weight: 500;
    color: #1e293b;
}

.glomavis-order-item-meta {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
    font-size: 13px;
    color: #64748b;
}

.glomavis-order-item-meta li {
    margin-bottom: 4px;
}

.glomavis-order-item-quantity,
.glomavis-order-item-total {
    text-align: right;
    font-weight: 500;
}

.glomavis-order-table tfoot td {
    padding: 12px 15px;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
}

.glomavis-order-subtotal-label,
.glomavis-order-shipping-label,
.glomavis-order-tax-label {
    text-align: right;
    color: #64748b;
}

.glomavis-order-subtotal-value,
.glomavis-order-shipping-value,
.glomavis-order-tax-value {
    text-align: right;
    font-weight: 500;
}

.glomavis-order-total-row {
    background: #f8fafc;
}

.glomavis-order-total-row td {
    font-size: 16px;
    padding: 15px;
    border-top: 2px solid #e2e8f0;
}

.glomavis-order-total-label {
    text-align: right;
}

.glomavis-order-total-value {
    text-align: right;
    color: #16a34a;
}

.glomavis-order-addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.glomavis-order-address {
    padding: 20px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.glomavis-order-address h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.glomavis-order-address address {
    font-style: normal;
    line-height: 1.6;
    color: #1e293b;
}

/* Responsive */
@media (max-width: 768px) {
    .glomavis-order-confirmation {
        padding: 20px;
    }
    
    .glomavis-order-message {
        font-size: 20px;
        padding: 15px;
    }
    
    .glomavis-order-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .glomavis-order-table {
        font-size: 14px;
    }
    
    .glomavis-order-table thead th,
    .glomavis-order-table tbody td {
        padding: 10px;
    }
    
    .glomavis-order-item-image {
        width: 60px;
    }
    
    .glomavis-order-item-image img {
        width: 50px;
        height: 50px;
    }
    
    .glomavis-order-addresses {
        grid-template-columns: 1fr;
    }
}
