/* Layout & Base */
body.woocommerce-account .woocommerce {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    color: #374151;
    font-family: inherit;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 30px;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
body.woocommerce-account .woocommerce{
    padding-top: 100px;
}
@media (min-width: 768px) {
    body.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        flex: 0 0 280px;
        margin-bottom: 0;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        flex: 1;
    }
}

/* Navigation */
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid #e5e7eb;
}

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

body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 16px 20px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: #f9fafb;
    color: #011CA7;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: #011CA7;
    color: #ffffff;
}

/* Content Links */
body.woocommerce-account .woocommerce-MyAccount-content a {
    color: #011CA7;
    text-decoration: none;
    font-weight: 600;
}

body.woocommerce-account .woocommerce-MyAccount-content a:hover {
    text-decoration: underline;
}

/* Login */
body.woocommerce-account .woocommerce h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 28px;
    color: #111827;
}

body.woocommerce-account .woocommerce form.login {
    max-width: 450px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

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

body.woocommerce-account .woocommerce form.login label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}

body.woocommerce-account .woocommerce form.login .required {
    color: #ef4444;
    text-decoration: none;
}

body.woocommerce-account .woocommerce form .input-text {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    background: #ffffff;
    color: #111827;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

body.woocommerce-account .woocommerce form .input-text:focus {
    outline: none;
    border-color: #011CA7;
    box-shadow: 0 0 0 3px rgba(1, 28, 167, 0.15);
}

body.woocommerce-account .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 500 !important;
    cursor: pointer;
    margin-bottom: 20px;
}

body.woocommerce-account .woocommerce-form__input-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #011CA7;
    cursor: pointer;
}

body.woocommerce-account .woocommerce-button.button {
    width: 100%;
    background: #011CA7;
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

body.woocommerce-account .woocommerce-button.button:hover {
    background: #011585;
}

body.woocommerce-account .woocommerce-LostPassword {
    text-align: center;
    margin-top: 24px;
    margin-bottom: 0;
}

body.woocommerce-account .woocommerce-LostPassword a {
    color: #6b7280;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 400;
}

body.woocommerce-account .woocommerce-LostPassword a:hover {
    color: #011CA7;
    text-decoration: underline;
}

/* Orders Tab */
body.woocommerce-account .woocommerce-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

body.woocommerce-account .woocommerce-orders-table th,
body.woocommerce-account .woocommerce-orders-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

body.woocommerce-account .woocommerce-orders-table tr:last-child td {
    border-bottom: none;
}

body.woocommerce-account .woocommerce-orders-table thead th {
    background-color: #f9fafb;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.woocommerce-account .woocommerce-orders-table tbody td {
    font-size: 14px;
    color: #374151;
}

body.woocommerce-account .woocommerce-orders-table a {
    color: #011CA7;
    font-weight: 600;
    text-decoration: none;
}

body.woocommerce-account .woocommerce-orders-table a:hover {
    text-decoration: underline;
}

body.woocommerce-account .woocommerce-orders-table .button.view {
    display: inline-block;
    text-align: center;
    padding: 8px 16px;
    background-color: #f3f4f6;
    color: #111827;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

body.woocommerce-account .woocommerce-orders-table .button.view:hover {
    background-color: #011CA7;
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 768px) {
    body.woocommerce-account .woocommerce-orders-table thead {
        display: none !important;
    }

    body.woocommerce-account .woocommerce-orders-table tbody tr {
        display: block;
        padding: 16px;
        border-bottom: 1px solid #e5e7eb;
    }

    body.woocommerce-account .woocommerce-orders-table tbody td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center;
        padding: 8px 0 !important;
        border: none !important;
        text-align: right;
    }

    body.woocommerce-account .woocommerce-orders-table tbody td::before {
        content: attr(data-title);
        font-weight: 700;
        color: #6b7280;
        text-transform: uppercase;
        font-size: 11px;
    }
}

/* Downloads Tab */
body.woocommerce-account .woocommerce-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #374151;
    font-size: 15px;
}

body.woocommerce-account .woocommerce-info .button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #011CA7;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

body.woocommerce-account .woocommerce-info .button:hover {
    background-color: #011585;
}

/* Addresses Tab */
body.woocommerce-account .woocommerce-Addresses {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}

body.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    box-sizing: border-box;
}

body.woocommerce-account .woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

body.woocommerce-account .woocommerce-Address-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

body.woocommerce-account .woocommerce-Address-title .edit {
    font-size: 14px;
    color: #011CA7;
    font-weight: 600;
    text-decoration: none;
}

body.woocommerce-account .woocommerce-Address-title .edit:hover {
    text-decoration: underline;
}

body.woocommerce-account .woocommerce-Address address {
    font-style: normal;
    line-height: 1.6;
    color: #4b5563;
    font-size: 15px;
}

/* Account Details Tab */
body.woocommerce-account .woocommerce-EditAccountForm .form-row {
    margin-bottom: 20px;
}

body.woocommerce-account .woocommerce-EditAccountForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}

body.woocommerce-account .woocommerce-EditAccountForm label .required {
    color: #ef4444;
    text-decoration: none;
}

body.woocommerce-account .woocommerce-EditAccountForm .input-text {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #111827;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

body.woocommerce-account .woocommerce-EditAccountForm .input-text:focus {
    outline: none;
    border-color: #011CA7;
    box-shadow: 0 0 0 3px rgba(1, 28, 167, 0.15);
}

body.woocommerce-account .woocommerce-EditAccountForm span.description,
body.woocommerce-account .woocommerce-EditAccountForm span#account_display_name_description {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
    font-style: normal;
}

body.woocommerce-account .woocommerce-EditAccountForm em {
    font-style: normal;
}

@media (min-width: 768px) {
    body.woocommerce-account .woocommerce-EditAccountForm .form-row-first {
        width: calc(50% - 10px);
        float: left;
    }

    body.woocommerce-account .woocommerce-EditAccountForm .form-row-last {
        width: calc(50% - 10px);
        float: right;
    }

    body.woocommerce-account .woocommerce-EditAccountForm .clear {
        clear: both;
    }
}

body.woocommerce-account .woocommerce-EditAccountForm fieldset {
    margin-top: 32px;
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
}

body.woocommerce-account .woocommerce-EditAccountForm legend {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    padding: 0 8px;
    background: #ffffff;
    border-radius: 4px;
}

body.woocommerce-account .woocommerce-EditAccountForm fieldset .form-row:last-child {
    margin-bottom: 0;
}

body.woocommerce-account .woocommerce-EditAccountForm .button {
    padding: 14px 28px;
    background-color: #011CA7;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

body.woocommerce-account .woocommerce-EditAccountForm .button:hover {
    background-color: #011585;
}

/* View Order Section */
body.woocommerce-account mark.order-number,
body.woocommerce-account mark.order-date,
body.woocommerce-account mark.order-status {
    background: #f3f4f6;
    color: #111827;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
}

body.woocommerce-account .woocommerce-order-details {
    margin-top: 32px;
}

body.woocommerce-account .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-column__title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
}

body.woocommerce-account .woocommerce-table--order-details {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

body.woocommerce-account .woocommerce-table--order-details th,
body.woocommerce-account .woocommerce-table--order-details td {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: middle;
}

body.woocommerce-account .woocommerce-table--order-details thead th {
    background: #f9fafb;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    border-bottom: 1px solid #e5e7eb;
}

body.woocommerce-account .woocommerce-table--order-details tbody td {
    color: #374151;
    font-size: 14px;
}

body.woocommerce-account .woocommerce-table--order-details tbody td a {
    color: #011CA7;
    font-weight: 600;
    text-decoration: none;
}

body.woocommerce-account .woocommerce-table--order-details tbody td a:hover {
    text-decoration: underline;
}

body.woocommerce-account .woocommerce-table--order-details tfoot th,
body.woocommerce-account .woocommerce-table--order-details tfoot td {
    font-size: 14px;
    color: #111827;
}

body.woocommerce-account .woocommerce-table--order-details tfoot th {
    font-weight: 600;
    text-align: right;
}

body.woocommerce-account .woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-account .woocommerce-table--order-details tfoot tr:last-child td {
    border-bottom: none;
    font-size: 16px;
    font-weight: 700;
}

body.woocommerce-account .order-again .button {
    display: inline-block;
    padding: 12px 24px;
    background: #011CA7;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}

body.woocommerce-account .order-again .button:hover {
    background: #011585;
}

/* Customer Addresses in View Order */
body.woocommerce-account .woocommerce-customer-details {
    margin-top: 32px;
}

body.woocommerce-account .woocommerce-columns--addresses {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

body.woocommerce-account .woocommerce-columns--addresses .woocommerce-column {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    box-sizing: border-box;
}

body.woocommerce-account .woocommerce-column address {
    font-style: normal;
    line-height: 1.6;
    color: #4b5563;
    font-size: 15px;
}

body.woocommerce-account .woocommerce-customer-details--email {
    margin-top: 12px;
    font-weight: 500;
    color: #111827;
}

/* Edit Address Form */
body.woocommerce-account .woocommerce-address-fields {
    margin-top: 20px;
}

body.woocommerce-account .woocommerce-address-fields h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
}

body.woocommerce-account .woocommerce-address-fields .form-row {
    margin-bottom: 20px;
}

body.woocommerce-account .woocommerce-address-fields label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}

body.woocommerce-account .woocommerce-address-fields .required {
    color: #ef4444;
    text-decoration: none;
}

body.woocommerce-account .woocommerce-address-fields .input-text,
body.woocommerce-account .woocommerce-address-fields select,
body.woocommerce-account .select2-container--default .select2-selection--single {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #111827;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: all 0.2s ease;
    height: 46px;
    outline: none;
}

body.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    color: #111827;
    line-height: 20px;
}

body.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    top: 0;
    right: 10px;
}

body.woocommerce-account .woocommerce-address-fields .input-text:focus,
body.woocommerce-account .woocommerce-address-fields select:focus,
body.woocommerce-account .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #011CA7;
    box-shadow: 0 0 0 3px rgba(1, 28, 167, 0.15);
}

body.woocommerce-account .woocommerce-address-fields .button {
    padding: 14px 28px;
    background-color: #011CA7;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

body.woocommerce-account .woocommerce-address-fields .button:hover {
    background: #011585;
}

@media (min-width: 768px) {
    body.woocommerce-account .woocommerce-address-fields .form-row-first {
        width: calc(50% - 10px);
        float: left;
        clear: left;
    }

    body.woocommerce-account .woocommerce-address-fields .form-row-last {
        width: calc(50% - 10px);
        float: right;
        clear: right;
    }

    body.woocommerce-account .woocommerce-address-fields::after {
        content: "";
        display: table;
        clear: both;
    }
}

/* Global Notices Wrapper */
body.woocommerce-account .woocommerce-notices-wrapper {
    width: 100%;
    margin-bottom: 24px;
}

body.woocommerce-account .woocommerce-notices-wrapper:empty {
    display: none;
    margin: 0;
}

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-info {
    padding: 16px 20px;
    margin: 0 0 24px 0;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

body.woocommerce-account .woocommerce-message a,
body.woocommerce-account .woocommerce-error a,
body.woocommerce-account .woocommerce-info a {
    font-weight: 700;
    text-decoration: underline;
}

body.woocommerce-account .woocommerce-message {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

body.woocommerce-account .woocommerce-message a {
    color: #065f46;
}

body.woocommerce-account .woocommerce-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

body.woocommerce-account .woocommerce-error a {
    color: #991b1b;
}

body.woocommerce-account .woocommerce-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

body.woocommerce-account .woocommerce-info a {
    color: #1e40af;
}