/**
 * WooCommerce Invoice Manager Frontend Styles
 */

/* Download Invoice Button in My Account Orders Table */
.woocommerce-orders-table .wcim-download-invoice-btn,
.woocommerce-MyAccount-orders .wcim-download-invoice-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #0071a1;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 5px;
    border: 1px solid #0071a1;
}

.woocommerce-orders-table .wcim-download-invoice-btn:hover,
.woocommerce-MyAccount-orders .wcim-download-invoice-btn:hover {
    background: #005177;
    border-color: #005177;
    color: #fff !important;
    text-decoration: none;
}

/* Make buttons appear inline */
.woocommerce-orders-table__cell-order-actions .button,
.woocommerce-MyAccount-orders .woocommerce-button {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Responsive styling */
@media screen and (max-width: 768px) {
    .woocommerce-orders-table .wcim-download-invoice-btn,
    .woocommerce-MyAccount-orders .wcim-download-invoice-btn {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-top: 5px;
        text-align: center;
    }
}

/* Alternative button style - uncomment if you prefer a different look */
/*
.wcim-download-invoice-btn {
    background: #28a745 !important;
    border-color: #28a745 !important;
}

.wcim-download-invoice-btn:hover {
    background: #218838 !important;
    border-color: #1e7e34 !important;
}
*/
