.nav-account-sidebar {
    width: 20%;
    transition: all 0.3s ease;
}

.nav-account-sidebar-right {
    width: 100%;
    height: 100%;
    padding-left: 2rem;
}

.nav-account-li-sidebar {
    margin-bottom: 0.5rem;
}

.nav-account-link-sidebar {
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 2rem;
}



.nav-account-tab-sidebar {
    padding: 2rem;
}

.grid-account-adresse {
    display: grid;
    grid-template-rows: repeat(2, auto); 
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    width: 100%;
    padding: 2rem;
}

#nouvelleAdresse {
    display: none;
}

.address-div {
    border: 1px solid #353535;
    padding: 3rem;
    margin: 0;
    border-radius: 8px;
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.address-div:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(145, 90, 67, 0.2);
    border-color: #915a43;
}

.address-div h1 {
    color: #915a43;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.address-div p {
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
    color: #d2d2d2;
}

.address-div hr {
    border-color: #353535;
    margin: 1.5rem 0;
    opacity: 0.2;
}

.address-div .small {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.address-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.btn-adresse-edit {
    background-color: #915a43 !important;
    border: none;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    color: white;
    border-radius: 4px;
}

.btn-adresse-edit:hover {
    background-color: #a36739 !important;
    transform: translateY(-2px);
}

.btn-danger-adresse {
    background-color: black !important;
    border: 1px solid #915a43;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    color: rgb(213, 213, 213)
}

.btn-danger-adresse:hover {
    background-color: #1a1a1a !important;
    transform: translateY(-2px);
}

.mybtn-house {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    border: 1px solid #353535;
    border-radius: 8px;
    margin: 0;
    padding: 8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.mybtn-house:hover {
    border-color: #915a43;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(145, 90, 67, 0.2);
}

.mybtn-house i {
    font-size: 3rem;
    color: #915a43;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.mybtn-house:hover i {
    transform: scale(1.1);
}

.adresse-div-add {
    /* border: 1px solid #353535; */
    padding: 4rem;
    /* border-radius: 8px; */
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .d-flex.align-items-start {
        flex-direction: column;
    }

    .nav-account-sidebar {
        width: 100%;
        margin-bottom: 2rem;
    }

    .nav-account-sidebar.flex-column {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-account-link-sidebar {

        font-size: 1.8rem !important;
    }
    
    
    .nav-account-li-sidebar {
        margin-bottom: 0;
    }

    .nav-account-sidebar-right {
        padding-left: 0;
    }

    .nav-account-tab-sidebar {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .nav-account-sidebar.flex-column {
        flex-direction: column !important;
        width: 100%;
    }

    .nav-account-li-sidebar {
        width: 100%;
    }

    .nav-account-link-sidebar {
        text-align: center;
    }
} 