/* WooCommerce My Account Page Styling */

/* Account Page Container */
.my-profile {
    background: #f8f9fa;
    min-height: 70vh;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Account Page Header */
.account-page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.account-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="0%" r="100%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><rect width="100" height="20" fill="url(%23a)"/></svg>');
    opacity: 0.1;
}

.account-page-header h1 {
    color: white;
    font-size: 42px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.account-page-header .breadcrumb {
    background: transparent;
    margin: 15px 0 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    list-style: none;
    position: relative;
    z-index: 2;
}

.account-page-header .breadcrumb li {
    display: flex;
    align-items: center;
}

.account-page-header .breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.6);
}

.account-page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.account-page-header .breadcrumb a:hover {
    color: white;
}

.account-page-header .breadcrumb .active {
    color: var(--color-primary);
    font-weight: 600;
}

/* Account Layout Container */
.account-layout {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 70vh;
}

/* Sidebar Navigation */
.account-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.woocommerce-MyAccount-navigation {
    background: white;
    border-radius: unset;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 0;
    overflow: hidden;
    position: sticky;
    top: 30px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.woocommerce-MyAccount-navigation a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-primary);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom;
}

.woocommerce-MyAccount-navigation a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #db00181f;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
    color: var(--color-primary);
    transform: translateX(8px);
    background: rgba(243, 156, 18, 0.05);
}

.woocommerce-MyAccount-navigation a:hover::before,
.woocommerce-MyAccount-navigation .is-active a::before {
    transform: scaleY(1);
    transform-origin: top;
}

.woocommerce-MyAccount-navigation a:hover::after,
.woocommerce-MyAccount-navigation .is-active a::after {
    opacity: 1;
}

/* Main Content Area */
.account-main-content {
    flex: 1;
    min-width: 0;
}

/* Navigation Icons */
.woocommerce-MyAccount-navigation a {
    position: relative;
    padding-left: 60px;
}

.woocommerce-MyAccount-navigation a .nav-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #7f8c8d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce-MyAccount-navigation a:hover .nav-icon,
.woocommerce-MyAccount-navigation .is-active a .nav-icon {
    color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

/* Account Content Area */
.woocommerce-MyAccount-content {
    background: white;
    border-radius: unset;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    min-height: 500px;
    position: relative;
}

.woocommerce-MyAccount-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-primary);
    border-radius: unset;
}

/* Dashboard Welcome Message */
.woocommerce-MyAccount-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    margin-bottom: 20px;
}

/* Account Forms */
.woocommerce form {
    margin: 0;
}

.woocommerce form .form-row {
    margin-bottom: 20px;
}

.woocommerce form label {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
    display: block;
}

.woocommerce form input[type="text"],
.woocommerce form input[type="email"],
.woocommerce form input[type="password"],
.woocommerce form input[type="tel"],
.woocommerce form select,
.woocommerce form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8e8e8;
    border-radius: unset;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafafa;
    font-family: inherit;
}

.woocommerce form input:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.1);
    background: white;
    transform: translateY(-2px);
}

/* Form Buttons */
.woocommerce form button,
.woocommerce form input[type="submit"],
.woocommerce .button {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: unset;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.woocommerce form button::before,
.woocommerce form input[type="submit"]::before,
.woocommerce .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.woocommerce form button:hover,
.woocommerce form input[type="submit"]:hover,
.woocommerce .button:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    color: white;
    text-decoration: none;
}

.woocommerce form button:hover::before,
.woocommerce form input[type="submit"]:hover::before,
.woocommerce .button:hover::before {
    left: 100%;
}

/* Orders Table */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: white;
    border-radius: unset;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.woocommerce-orders-table thead {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.woocommerce-orders-table th {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    font-family: 'Oswald', sans-serif;
}

.woocommerce-orders-table tbody tr {
    transition: all 0.3s ease;
}

.woocommerce-orders-table tbody tr:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.woocommerce-orders-table .order-status {
    padding: 8px 16px;
    border-radius: unset;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Oswald', sans-serif;
    position: relative;
    overflow: hidden;
}

.woocommerce-orders-table .order-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.woocommerce-orders-table .order-status:hover::before {
    left: 100%;
}

.woocommerce-orders-table .order-status.processing {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.woocommerce-orders-table .order-status.completed {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.woocommerce-orders-table .order-status.cancelled {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.woocommerce-orders-table .order-status.pending {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.3);
}

.woocommerce-orders-table .order-status.on-hold {
    background: linear-gradient(135deg, #f1c40f 0%, var(--color-primary) 100%);
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
}

/* Address Cards */
.woocommerce-Address {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: unset;
    padding: 30px;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.woocommerce-Address::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.woocommerce-Address:hover {
    border-color: var(--color-primary);
    /* box-shadow: 0 12px 40px rgba(243, 156, 18, 0.15); */
    transform: translateY(-5px);
}

.woocommerce-Address:hover::before {
    transform: scaleX(1);
}

.woocommerce-Address-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce-Address-title .address-icon {
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border-radius: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.woocommerce-Address address {
    font-style: normal;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 20px;
    font-size: 15px;
}

.woocommerce-Address .edit {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--color-primary);
    color: white;
    padding: 10px 18px;
    border-radius: unset;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-Address .edit:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    color: white;
    text-decoration: none;
}

/* Account Details Form */
.woocommerce-EditAccountForm {
    max-width: 600px;
}

.woocommerce-EditAccountForm .form-row-first,
.woocommerce-EditAccountForm .form-row-last {
    width: 48%;
    display: inline-block;
}

.woocommerce-EditAccountForm .form-row-first {
    margin-right: 4%;
}

/* Messages and Notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    background: white;
    border-radius: unset;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-left: 5px solid var(--color-primary);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(243, 156, 18, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.woocommerce-message:hover::before,
.woocommerce-error:hover::before,
.woocommerce-info:hover::before {
    opacity: 1;
}

.woocommerce-error {
    border-left-color: #e74c3c;
    background: #fdf2f2;
}

.woocommerce-message {
    border-left-color: #27ae60;
    background: #f8fff8;
}

.woocommerce-message .message-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
}

.woocommerce-error .message-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
}

.woocommerce-info .message-icon {
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border-radius: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
}

/* Login/Register Toggle Buttons */
.login_register {
    background: white;
    border-radius: unset;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.login_register .u-button {
    background: transparent;
    border: none;
    padding: 15px 30px;
    border-radius: unset;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login_register .u-button.active,
.login_register .u-button:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

/* Toggle Button */
.toggle-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: unset;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
}

.toggle-btn:hover {
    background: #005a87;
    transform: scale(1.1);
}

/* Downloads Section */
.woocommerce-MyAccount-downloads {
    background: white;
    border-radius: unset;
    padding: 20px;
    margin-bottom: 20px;
}

.woocommerce-MyAccount-downloads table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-MyAccount-downloads th,
.woocommerce-MyAccount-downloads td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-MyAccount-downloads .download-file a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.woocommerce-MyAccount-downloads .download-file a:before {
    content: '\f019';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.woocommerce-MyAccount-downloads .download-file a:hover {
    color: #005a87;
    text-decoration: underline;
}

/* Order Details */
.woocommerce-order-details {
    background: white;
    border-radius: unset;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.woocommerce-order-details h2 {
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.woocommerce-order-details .shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-order-details .shop_table th,
.woocommerce-order-details .shop_table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-order-details .shop_table thead {
    background: #f8f9fa;
}

/* Customer Details */
.woocommerce-customer-details {
    background: white;
    border-radius: unset;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.woocommerce-customer-details h2 {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.woocommerce-customer-details address {
    font-style: normal;
    line-height: 1.6;
    color: var(--color-dark);
    background: #f8f9fa;
    padding: 20px;
    border-radius: unset;
    border-left: 4px solid var(--color-primary);
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--color-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: unset;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.mobile-nav-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.5);
}

/* Login/Register Container */
.login-register-container {
    max-width: 500px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.login_register {
    background: white;
    border-radius: unset;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin: 0;
    list-style: none;
    display: flex;
    gap: 10px;
}

.login_register .u-button {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 25px;
    border-radius: unset;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login_register .u-button.active,
.login_register .u-button:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .account-layout {
        gap: 20px;
        padding: 30px 15px;
    }

    .account-sidebar {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .my-profile {
        margin-top: 20px;
    }

    .account-page-header {
        padding: 40px 0;
    }

    .account-page-header h1 {
        font-size: 32px;
    }

    .account-layout {
        flex-direction: column;
        padding: 20px 15px;
        gap: 0;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .account-sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: white;
        z-index: 1000;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .account-sidebar.mobile-open {
        left: 0;
    }

    .account-sidebar::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }

    .account-sidebar.mobile-open::before {
        opacity: 1;
        visibility: visible;
    }

    .woocommerce-MyAccount-navigation {
        margin-top: 80px;
        border-radius: unset;
        box-shadow: none;
    }

    .account-main-content {
        width: 100%;
    }

    .woocommerce-MyAccount-content {
        padding: 25px 20px;
    }

    .woocommerce-EditAccountForm .form-row-first,
    .woocommerce-EditAccountForm .form-row-last {
        width: 100%;
        display: block;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .woocommerce-orders-table {
        font-size: 14px;
    }

    .woocommerce-orders-table th,
    .woocommerce-orders-table td {
        padding: 12px 10px;
    }

    .woocommerce-Address {
        padding: 25px 20px;
    }

    .woocommerce-Address .edit {
        position: static;
        display: inline-block;
        margin-top: 15px;
    }

    .account-dashboard-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .account-page-header h1 {
        font-size: 28px;
    }

    .account-sidebar {
        width: 100%;
        left: -100%;
    }

    .woocommerce-MyAccount-content {
        padding: 20px 15px;
    }

    .woocommerce form input[type="text"],
    .woocommerce form input[type="email"],
    .woocommerce form input[type="password"],
    .woocommerce form input[type="tel"],
    .woocommerce form select,
    .woocommerce form textarea {
        padding: 12px 15px;
        font-size: 16px;
    }

    .woocommerce form button,
    .woocommerce form input[type="submit"],
    .woocommerce .button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Body overlay when sidebar is open */
body.sidebar-open {
    overflow: hidden;
}

body.sidebar-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

@media (max-width: 576px) {
    .woocommerce-orders-table thead {
        display: none;
    }

    .woocommerce-orders-table tbody tr {
        display: block;
        border: 1px solid #eee;
        border-radius: unset;
        margin-bottom: 15px;
        padding: 15px;
    }

    .woocommerce-orders-table tbody td {
        display: block;
        padding: 8px 0;
        border: none;
        text-align: left !important;
    }

    .woocommerce-orders-table tbody td:before {
        content: attr(data-title) ": ";
        font-weight: 600;
        color: var(--color-dark);
        display: inline-block;
        width: 100px;
    }

    .login_register {
        flex-direction: column;
        gap: 10px;
    }

    .login_register .u-button {
        width: 100%;
        text-align: center;
    }
}

/* Loading States */
.woocommerce form.processing {
    opacity: 0.6;
    pointer-events: none;
}

.woocommerce form.processing:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--color-primary);
    border-radius: unset;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Visual Elements */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content h2:before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 25px;
    background: var(--color-primary);
    margin-right: 10px;
    vertical-align: middle;
}

/* Account Dashboard Cards */
.account-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: white;
    /* border-radius: unset; */
    padding: 30px 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.dashboard-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-8px);
    /* box-shadow: 0 15px 40px rgba(243, 156, 18, 0.2); */
}

.dashboard-card:hover::before {
    transform: scaleX(1);
}

.dashboard-card .card-icon {
    width: 70px;
    height: 70px;
    background: transparent;
    border: 1px solid var(--color-primary);
    border-radius: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 28px;
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-card:hover .card-icon {
    background: var(--color-primary);
    color: white;
}

.dashboard-card h3 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-card p {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.dashboard-card .card-button {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 12px 25px;
    border-radius: unset;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.dashboard-card .card-button:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

/* Mobile Navigation Toggle */
@media (max-width: 767px) {
    .woocommerce-MyAccount-navigation {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .woocommerce-MyAccount-navigation.mobile-open {
        left: 0;
    }

    .woocommerce-MyAccount-navigation ul {
        padding-top: 60px;
    }

    .woocommerce-MyAccount-navigation:before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .woocommerce-MyAccount-navigation.mobile-open:before {
        opacity: 1;
    }
}

/* Form Error States */
.woocommerce form input.error,
.woocommerce form select.error,
.woocommerce form textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.woocommerce form .field-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Enhanced Login/Register Forms */
.woocommerce-form-login,
.woocommerce-form-register {
    background: white;
    border-radius: unset;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.woocommerce-form-login h2,
.woocommerce-form-register h2 {
    color: var(--color-primary);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {
    margin-bottom: 20px;
}

.woocommerce-form-login .lost_password,
.woocommerce-form-register .lost_password {
    text-align: center;
    margin-top: 20px;
}

.woocommerce-form-login .lost_password a,
.woocommerce-form-register .lost_password a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-form-login .lost_password a:hover,
.woocommerce-form-register .lost_password a:hover {
    text-decoration: underline;
}

/* Remember Me Checkbox */
.woocommerce-form-login .form-row-wide {
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-form-login input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Social Login Integration (if plugins are used) */
.social-login-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.social-login-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: unset;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-login-btn.google {
    background: #db4437;
    color: white;
}

.social-login-btn.facebook {
    background: #3b5998;
    color: white;
}

.social-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

/* Account Security Section */
.account-security {
    background: white;
    border-radius: unset;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.account-security h3 {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-security h3:before {
    content: '\f3ed';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.security-item:last-child {
    border-bottom: none;
}

.security-item .security-label {
    font-weight: 600;
    color: var(--color-dark);
}

.security-item .security-status {
    padding: 5px 12px;
    border-radius: unset;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.security-item .security-status.enabled {
    background: #28a745;
    color: white;
}

.security-item .security-status.disabled {
    background: #dc3545;
    color: white;
}

/* Order Status Enhancements */
.order-status-timeline {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    position: relative;
}

.order-status-timeline:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #f0f0f0;
    z-index: 1;
}

.timeline-step {
    background: white;
    border: 3px solid #f0f0f0;
    border-radius: unset;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    font-size: 14px;
    color: #999;
}

.timeline-step.completed {
    border-color: #28a745;
    background: #28a745;
    color: white;
}

.timeline-step.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: white;
}

/* Wishlist Integration */
.account-wishlist {
    background: white;
    border-radius: unset;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.wishlist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wishlist-item:last-child {
    border-bottom: none;
}

.wishlist-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: unset;
}

.wishlist-item-details {
    flex: 1;
}

.wishlist-item-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.wishlist-item-details .price {
    color: var(--color-primary);
    font-weight: 600;
}

.wishlist-actions {
    display: flex;
    gap: 10px;
}

.wishlist-actions .btn {
    padding: 8px 15px;
    border-radius: unset;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wishlist-actions .btn-primary {
    background: var(--color-primary);
    color: white;
}

.wishlist-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.wishlist-actions .btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}
