/*======================================================================================================== 
                                        WOO COMMERCE ACCOUNT PAGE

*/


/* Hide the .woocommerce-MyAccount-navigation class only when inside a <nav> */
nav.woocommerce-MyAccount-navigation {
    display: none;
}

.entry-content {
    margin: 25px auto 70px auto;
}

.woocommmerce {
    margin: 25px -60px 50px -60px;
}


.woocommerce-MyAccount-navigation li {
    padding: 7px;
}


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

.avatar {
    width: 80px;
    height: 80px;
    background-color: #c4c4c4;
    color: white;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.woo-dmc-first-row {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    margin: 0;
}

/* Responsive styles for WooCommerce form rows */
@media screen and (max-width: 768px) {
    .woocommerce-form-row.woocommerce-form-row--first.form-row.form-row-first,
    .woocommerce-form-row.woocommerce-form-row--last.form-row.form-row-last {
        float: none;
        width: 100%;
        clear: both;
        margin-right: 0;
    }

    .ast-container, .ast-container-fluid {
        padding-left: 0px !important;
    }

    .woocommerce-MyAccount-content {
        padding: 0px !important;
        box-sizing: border-box;
        margin-top: 40px;
    }

    /* Stili per il menu mobile */
    .woocommerce-MyAccount-content.mobile-hidden {
        display: none !important;
    }

    .woocommerce-MyAccount-navigation {
        margin-left: 0px !important;
        padding-left: 0px !important;
    }

    .woocommerce-MyAccount-navigation.mobile-hidden {
        display: none !important;
    }

    .mobile-back-button {
        display: block;
        width: 100%;
        padding: 10px;
        margin-bottom: 20px;
        background-color: #2a2626;
        border: 1px solid #ddd;
        border-radius: 4px;
        text-align: center;
        cursor: pointer;
    }

    .mobile-back-button:hover {
        background-color: #e5e5e5;
    }

}