/**
 * 1800 Doorbell - My Account Page Styles
 * 
 * Extracted from Code Snippets Pro for better performance
 * Original location: code-snippets-styles.css Section 1
 * Condition: is_account_page()
 * 
 * CONTENTS:
 * - Navigation hover styles
 * - Orders table styling
 * - Action buttons
 * - Mobile responsive design
 * 
 * @package 1800doorbell
 * @version 2.0.0
 */

/* Navigation Hover Styles */
.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #E85D04;
    color: white !important;
}

/* Orders Table Styling */
.woocommerce-MyAccount-content .woocommerce-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 30px;
}

.woocommerce-MyAccount-content .woocommerce-orders-table th {
    background-color: #f8f8f8;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.woocommerce-MyAccount-content .woocommerce-orders-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

/* Action Buttons Styling */
.woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a {
    text-decoration: none;
    color: #14365D;
    font-size: 14px;
    padding: 0;
    margin: 0;
    transition: color 0.3s ease;
    background: none;
    border: none;
    position: relative;
}

.woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a:not(:last-child):after {
    content: '|';
    margin: 0 8px;
    color: #ddd;
}

.woocommerce-MyAccount-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a:hover {
    color: #E85D04 !important;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .woocommerce-orders-table__cell-order-actions {
        padding: 15px !important;
        justify-content: flex-start;
        gap: 12px;
    }

    .woocommerce-orders-table__cell-order-actions a {
        background-color: #f8f8f8;
        padding: 8px 12px;
        border-radius: 4px;
        text-align: center;
        box-sizing: border-box;
        transition: background-color 0.3s ease;
    }

    .woocommerce-orders-table__cell-order-actions a:not(:last-child):after {
        content: none;
    }

    .woocommerce-MyAccount-content .woocommerce-orders-table td:before {
        content: attr(data-title);
        position: absolute;
        top: 50%;
        left: 15px;
        transform: translateY(-50%);
        font-weight: 600;
    }
}

@media screen and (max-width: 480px) {
    .woocommerce-orders-table__cell-order-actions {
        flex-direction: column;
        gap: 8px;
    }

    .woocommerce-orders-table__cell-order-actions a {
        width: 100%;
        padding: 10px;
    }
}
