/**
 * XABCD PDF Invoice - Frontend Styles
 */

/* Invoice download wrapper */
.xabcd-invoice-download-wrapper {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #e9ecef;
}

/* Invoice download button */
.xabcd-invoice-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px !important;
    background: #2c3e50 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
}

.xabcd-invoice-download-btn:hover {
    background: #1a252f !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.xabcd-invoice-download-btn:active {
    transform: translateY(0);
}

/* PDF icon styling */
.xabcd-invoice-download-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 18px;
}

/* My Account orders table invoice button */
.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .invoice a,
.woocommerce-MyAccount-content .woocommerce-orders-table .button.invoice {
    background: #2c3e50;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .invoice a:hover,
.woocommerce-MyAccount-content .woocommerce-orders-table .button.invoice:hover {
    background: #1a252f;
    color: #ffffff;
}

/* Order received page styling */
.woocommerce-order-received .xabcd-invoice-download-wrapper {
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .xabcd-invoice-download-wrapper {
        padding: 10px;
    }

    .xabcd-invoice-download-btn {
        padding: 10px 16px !important;
        font-size: 14px !important;
        width: 100%;
        justify-content: center;
    }
}
