.woocommerce-my-account-wrapper {
    max-width: 1140px;
    margin: 50px auto;
}

.woocommerce-MyAccount-content {
    padding: 10px 5px;
}

@media screen and (max-width: 1024px) {
    .woocommerce-MyAccount-content {
        margin-top: 50px;
    }
}

.woocommerce-MyAccount-title.entry-title {
    display: none;
}

.woocommerce-my-account-wrapper h1 {
    font-family: "Poppins", sans-serif;
    font-size: 40px;
    color: #073B4A;
    font-weight: 500;
}

.woocommerce-my-account-wrapper .woocommerce-notices-wrapper .woocommerce-message {
    background-color: #2A637A;
}

/* ACCOUNT SIDEBAR */

.woocommerce-my-account-wrapper .wd-my-account-links {
    display: none;
}

@media screen and (max-width: 1024px) {
    .woocommerce-my-account-wrapper .woocommerce-MyAccount-navigation {
        background-color: #E6F4F9;
        width: 100%;
        padding: 15px;
        border-radius: 20px;
    }
}

.woocommerce-my-account-wrapper .wd-my-account-sidebar {
    border: none;
    font-family: "Poppins", sans-serif;
}

@media screen and (max-width: 1024px) {
    .woocommerce-my-account-wrapper .wd-my-account-sidebar {
        padding: 0;
    }
}

.woocommerce-my-account-wrapper .wd-my-account-sidebar a {
    font-weight: 500;
    padding: 5px 0;
    color: #073B4A;
    font-size: 16px;
}

.woocommerce-my-account-wrapper .wd-my-account-sidebar ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.woocommerce-my-account-wrapper .wd-my-account-sidebar li:last-child a {
    font-weight: normal;
    margin-top: 20px;
    text-decoration: underline;
    color: #4F737D;
}

.woocommerce-my-account-wrapper .wd-my-account-sidebar li:last-child a:hover {
    background: none;
}

.woocommerce-my-account-wrapper .wd-my-account-sidebar li:not(:last-child) a:hover {
    background: none;
    color: #073B4A;
    padding-left: 20px;
    border-left: 2px solid #EBB76A;
    transition: padding 0.3s ease-in-out;
}

.woocommerce-my-account-wrapper .wd-my-account-sidebar li.is-active a {
    text-decoration: underline;
    background: none;
    padding-left: 20px;
    border-left: 2px solid #EBB76A;
}

.woocommerce-my-account-wrapper .woocommerce-account-navigation-infos {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 50px;
}

@media screen and (max-width: 1024px) {
    .woocommerce-my-account-wrapper .woocommerce-account-navigation-infos {
        margin-top: 20px;
    }
}

.woocommerce-my-account-wrapper .woocommerce-account-navigation-infos-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 0;
}

.woocommerce-my-account-wrapper .woocommerce-account-navigation-infos-description {
    margin-bottom: 0;
}

.woocommerce-my-account-wrapper .woocommerce-account-navigation-infos-tel {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #FBF1E1;
    width: fit-content;
    padding: 3px 10px;
    border-radius: 20px;
}

.woocommerce-my-account-wrapper .woocommerce-account-navigation-infos-tel img {
    width: 15px;
    height: auto;
}

.woocommerce-my-account-wrapper .woocommerce-account-navigation-infos-tel a {
    color: #73572F;
    font-size: 13px;
    font-weight: 600;
}

.woocommerce-my-account-wrapper .woocommerce-account-navigation-infos-link {
    text-decoration: underline;
}

.woocommerce-customer-details h2 {
    color: #14657D;
    text-transform: none;
    font-size: 20px;
    font-weight: 600;
}

.woocommerce-customer-details address {
    font-style: normal;
}

.woocommerce-MyAccount-content .order-number,
.woocommerce-MyAccount-content .order-date,
.woocommerce-MyAccount-content .order-status {
    color: #14657D;
}

/* ACCOUNT ORDERS */

.woocommerce-orders-table__header,
.woocommerce-table--order-details th {
    color: #4F737D;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
}

@media screen and (max-width: 1024px) {
    .woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
        display: block;
    }
}

.woocommerce-orders-table__cell-order-actions .woocommerce-button.invoice {
    background: none;
    color: #073B4A;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
    padding: 0;
    margin-bottom: 0;
}

.woocommerce-orders-table__cell-order-actions .woocommerce-button.view {
    background: #EBB76A;
    color: #073B4A;
    border-radius: 50px;
    padding: 12px 40px 12px 24px;
    margin-bottom: 0;
    margin-right: 0;
    position: relative;
}

@media screen and (max-width: 1024px) {
    .woocommerce-orders-table__cell-order-actions .woocommerce-button.view {
        margin-right: 5px;
    }
}

.woocommerce-orders-table__cell-order-actions .woocommerce-button.cancel,
.woocommerce-orders-table__cell-order-actions .woocommerce-button.pay {
    background: none;
    color: #073B4A;
    border: 1px solid #BBCFDB;
    border-radius: 50px;
    padding: 12px 40px 12px 24px;
    margin-bottom: 0;
}

.woocommerce-orders-table__cell-order-actions .woocommerce-button.cancel:after,
.woocommerce-orders-table__cell-order-actions .woocommerce-button.pay:after {
    content: '';
    background-image: url("../assets/img/arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 15px;
    height: 15px;
    position: absolute;
    right: 20px;
}

.woocommerce-order-details .order-again a,
.woocommerce-order-details .order-again a:hover {
    background: #EBB76A;
    color: #073B4A;
    border-radius: 50px;
    padding: 12px 40px 12px 24px;
    margin-bottom: 0;
    margin-right: 0;
    font-weight: 500;
    text-transform: none;
    position: relative;
}

.woocommerce-order-details__title {
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    color: #073B4A;
    font-weight: 500;
}

/* ACCOUNT ADDRESSES */

.woocommerce-MyAccount-content .woocommerce-Addresses {
    margin-top: 50px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.woocommerce-MyAccount-content .woocommerce-Address-title h2 {
    text-transform: lowercase;
    color: #14657D;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0;
}

.woocommerce-MyAccount-content .woocommerce-Address-title h2:first-letter {
    text-transform: capitalize;
}

.woocommerce-MyAccount-content .woocommerce-Address-title .edit {
    text-decoration: underline;
    margin-bottom: 0;
}

.woocommerce-MyAccount-content .woocommerce-address-fields button,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm button {
    background: #EBB76A;
    color: #073B4A;
    border-radius: 50px;
    padding: 12px 40px 12px 24px;
    margin-bottom: 0;
    margin-right: 0;
    text-transform: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.woocommerce-order-details .order-again a:after,
.woocommerce-orders-table__cell-order-actions .woocommerce-button.view:after,
.woocommerce-MyAccount-content .woocommerce-address-fields button:after,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm button:after {
    content: '';
    background-image: url("../assets/img/arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 15px;
    height: 15px;
    position: absolute;
    right: 20px;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address address {
    font-style: normal;
    border: 1px solid #0000001b;
    padding: 15px;
}

.woocommerce-MyAccount-content .woocommerce-address-fields h3 {
    display: none;
}

.woocommerce-MyAccount-content .woocommerce-address-fields #shipping_Raison_sociale_field {
    width: 100%;
}

/* LOGIN */

.main-page-wrapper:has(#customer_login) {
    background-color: #F5F8F9;
}

#customer_login {
    font-family: "Poppins", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 40px 0 !important;
}

#customer_login :where(.col-login, .col-register) {
    background-color: white;
    border-radius: 12px;
    padding: 32px !important;
    height: fit-content;
    flex-shrink: 1;
}

#customer_login .wd-login-title {
    text-transform: none;
    font-size: 1.5rem;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: #073B4A;
}

#customer_login .lost_password {
    color: #14657D;
    font-weight: 600;
    text-decoration: underline;
    font-size: 0.875rem;
    display:block;
    text-align: end;
}

#customer_login form {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
}

#customer_login form p.form-row {
    margin-bottom: 0;
}

#customer_login textarea,
#customer_login input {
    color: #073B4A !important;
    border-color: #A5BCCA;
    height: 40px;
    border-radius: 6px;
}

#customer_login .woocommerce-form-login__submit,
#customer_login .button {
    background-color: #EBB76A;
    border-radius: 55px;
    padding: 16px 24px;
    font-size: 1rem;
    line-height: 1;
    color: #073B4A;
    text-transform: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    margin-top: 1.25rem;
}

#customer_login .woocommerce-form-login__submit::after,
#customer_login .button::after {
    content: "";
    background-image: url("../assets/img/arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 15px;
    height: 15px;
    transition: all .3s;
}

#customer_login .woocommerce-form-login__submit:hover::after,
#customer_login .button:hover::after {
    transform: translateX(2px);
}

#customer_login label {
    color: #073B4A;
    font-weight: 500;
}

#customer_login .password-input {
    position: relative;
    display: block;
    height: 100%;
}

#customer_login .custom-lost-password {
    width: 100%
}

#customer_login .password-input .show-password-input {
    position: absolute;
    top: 13px;
    right: 1rem;
    display: block;
    width: 20px;
    height: 15px;
    background-image: url('data:image/svg+xml,<svg width="20" height="16" viewBox="0 0 20 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M10 0.47998C13.5576 0.47998 16.7994 2.67858 19.7253 7.07579C20.0654 7.58686 20.0897 8.23348 19.7982 8.76391L19.7253 8.88414C16.7994 13.2814 13.5576 15.48 10 15.48C6.44238 15.48 3.2006 13.2814 0.274672 8.88417C-0.0653979 8.3731 -0.0896889 7.72649 0.201799 7.19605L0.274671 7.07582C3.20059 2.67859 6.44237 0.47998 10 0.47998ZM10 2.14665C7.15322 2.14665 4.4524 3.92757 1.90609 7.63488L1.69998 7.9397L1.67417 7.97915L1.86588 8.26244C4.3807 11.9308 7.0091 13.7181 9.7754 13.8096L10 13.8133C12.8468 13.8133 15.5476 12.0324 18.0939 8.32508L18.3 8.02026L18.325 7.97998L18.1341 7.69752C15.6193 4.02918 12.9909 2.24188 10.2246 2.15036L10 2.14665ZM10 4.64665C11.8409 4.64665 13.3333 6.13903 13.3333 7.97998C13.3333 9.82093 11.8409 11.3133 10 11.3133C8.15905 11.3133 6.66667 9.82093 6.66667 7.97998C6.66667 6.13903 8.15905 4.64665 10 4.64665ZM10 6.31331C9.07952 6.31331 8.33333 7.05951 8.33333 7.97998C8.33333 8.90046 9.07952 9.64665 10 9.64665C10.9205 9.64665 11.6667 8.90046 11.6667 7.97998C11.6667 7.05951 10.9205 6.31331 10 6.31331Z" fill="%236C919D"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

#customer_login>div:not(:first-child):last-child {
    border: none !important;
}

#customer_login .login-form-footer .lost_password{
    display:none;
}

@media screen and (min-width: 768px) {
    #customer_login {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 20px;
    }
}

body.woocommerce-account #customer_login .required,
body.woocommerce-account #customer_login .woocommerce-form-login__rememberme,
body.woocommerce-account #customer_login .woocommerce-privacy-policy-text,
body.woocommerce-account #customer_login .automatewoo-optin,
body.woocommerce-account #customer_login .login-form-footer,
wc-order-attribution-inputs,
#customer_login form .clear {
    display: none;
}