/* Stili personalizzati per la dashboard */
.my-account-dashboard {
    padding: 30px;
}

.sidebar-menu {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 15px;
}

.nav-link {
    font-size: 16px;
    padding: 10px;
    border-left: 3px solid transparent;
}

.nav-link.active,
.nav-link:hover {
    color: #FBB03B;
}

.cart-badge {
    background: #FBB03B;
    color: white;
    padding: 3px 8px;
    border-radius: 50%;
    font-weight: bold;
}

.logout-link {
    font-weight: bold;
}

.content-area {
    padding: 20px;
}

.dashboard-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.profile-card {
    text-align: center;
    margin-bottom: 20px;
}

.profile-picture img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.info-section,
.security-section {
    background: #f8f4fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.info-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.info-group label {
    font-weight: bold;
}

.edit-button {
    background: none;
    border: none;
    font-size: 14px;
    color: #a04d74;
    cursor: pointer;
}

.edit-button:hover {
    text-decoration: underline;
}

.woocommerce-MyAccount-navigation {
    width: 100%!important; /* Occupa tutta l'area disponibile */
}

.woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Aggiusta la spaziatura tra le voci */
}

.woocommerce-MyAccount-navigation ul li {
    display: block;
    width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-content{
	width: 100%;
}

img.foto_profilo{
	display: block;
    text-align: center;
    margin: 0 auto;
    border-radius:100%;
}

.info-group.dashboard {
    /* Stili per gli elementi che hanno entrambe le classi */
    display: block;
}

.info-group.dashboard label {
    /* Stili per gli elementi che hanno entrambe le classi */
    font-weight: 400;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
}

.foto_profilo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    transition: opacity 0.3s ease-in-out;
}

.edit-icon {
    position: absolute;
    bottom: 10px;
    left: 90px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

.avatar-wrapper:hover .edit-icon {
    opacity: 1;
}

.avatar-wrapper:hover .foto_profilo {
    opacity: 0.7;
}

label.avatar-label {
    display: grid;
}

.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
                    }

                    .modal-content {
                        background: #fff;
                        padding: 20px;
                        margin: 10% auto;
                        width: 400px;
                        border-radius: 8px;
                        position: relative;
                    }

                    .close {
                        position: absolute;
                        top: 10px;
                        right: 15px;
                        font-size: 24px;
                        cursor: pointer;
                    }

                    .form-login {
                        width: 100%;
                        padding: 8px;
                        margin: 5px 0 15px 0;
                    }