.address-main-container {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}
.customer-sidebar {
    width: 100%;
    display: flex;
    justify-content: center;
    border:1px solid #D9D9D9;
    border-radius: 20px;
}
.customer-sidebar ul li {
     padding:30px 20px;
    display:flex;
    align-items:center;
    justify-content: center;
    gap:12px;
    font-weight:700;
    font-size:clamp(16px,1.4vw,20px);
    cursor:pointer;
    transition:.3s;
                border-bottom:1px solid #D9D9D9;
                gap:6px


}
.customer-sidebar ul li a {
    margin-right: 12px;
    margin-left: 12px;
    cursor: pointer;
    text-decoration: none;
    color: black;
        display:flex;

    gap:12px;
 
  

}
.customer-sidebar ul li:last-child {
    border-bottom: none;
}
.customer-sidebar ul li:hover {
    background:#f4f5fb;
}
.customer-sidebar ul li:active{
    font-weight:600;
    background:#f4f5fb;
}

.address-container {
    width: 100%;
    min-height: 90vh;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    padding-top: 28px;
}
.main-addr-header {
    font-weight: 700;
    font-size:clamp(16px,3vw,22px);
}
.main-addr-p {
    font-weight: 400;
    font-size:clamp(16px,3vw,20px);
    color: #8d8d8d;
}
#add-address {
    background-color: #4c2a71;
    color: white;
    border-radius: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 20px;
    padding: 13px 40px; 
    height:50px !important;
    width:270px;
    cursor: pointer;
    height: fit-content;
    border: none;
}
#add-address:hover , #submitAddress:hover {
    background-color: #3f235d;
}

#submitAddress {
    background-color: #4c2a71;
    color: white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 20px;
    padding: 13px 0px;
    width: 100%;
    cursor: pointer;
    height: fit-content;
    border: none;
}

.address-div {
    border: 1px solid #d9d9d9;
    border-radius: 20px;
}
.addr-name {
    font-weight: 700;
    font-size:clamp(16px,2vw,20px) !important ;
}
.addr-phone {
    font-weight: 600;
    font-size:clamp(16px,2vw,20px) ;
}
.addr-details {
    font-size: 20px;
    color: #686868;
}
.addr-details .city {
    font-weight: 700;
    color: black;
        font-size:clamp(16px,2vw,20px) ;

    
}
.default-badge {
    background-color: #4c2a7133;
    border-radius: 28px;
    padding: 6px 22px;
    color: #4c2a71;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .addr-header {
        flex-direction: column;
    }
    .main-addr-header {
        font-size: 1.5rem;
    }
    .main-addr-p {
        font-size: 14px;
    }
    #add-address {
        font-size: 16px;
        width:100%
    }
}
  .modal-header{
            border-bottom:none
        }
        html[dir="ltr"] .modal-body{
            text-align:left
        }
        html[dir="rtl"] .modal-body{
            text-align:right
        }
        html[dir="rtl"] .modal-header .btn-close {
    margin-left: 0;
    margin-right: auto;
}

.myorder-sidebar{
    border-radius:20px;
    border:1px solid #D9D9D9;
    overflow:hidden;
        margin-bottom:30px

}

.myorder-sidebar-item{
    padding:16px 20px;
    display:flex;
    align-items:center;
    justify-content: center;
    gap:12px;
    font-weight:700;
    font-size:clamp(16px,1.4vw,20px);
    cursor:pointer;
    transition:.3s;
}

.myorder-sidebar-item:hover{
    background:#f4f5fb;
}

.myorder-sidebar-item.active{
    font-weight:600;
    background:#f4f5fb;
}
.myorder-sidebar-item:not(:last-child){
    border-bottom:1px solid #D9D9D9;
}
.sidebar-link.active {
    background: #f5f5f5;
    color: #000;
    font-weight: bold;
}
/* العنصر الأساسي */
.chat-item {
    display: block;
}

/* اللينك */
.chat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    text-decoration: none;
    color: black;
}

/* السهم */
.chat-arrow {
    transition: 0.3s;
}

.chat-submenu {
    display: none;
    padding-left: 20px;
    background-color: #f5f5f5;
    border-radius: 20px;
}
.chat-submenu {
    display: none;
}

.chat-item.open .chat-submenu {
    display: block;
}
.chat-item.open .chat-submenu {
    display: block;
}

.chat-item.open .chat-arrow {
    transform: rotate(180deg);
}

.chat-item.active {
    background: #f4f5fb;
}

.chat-submenu li a.active {
    font-weight: bold;
}
.customer-sidebar ul li:first-child:hover{
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.customer-sidebar ul li:first-child.active{
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.customer-sidebar ul li:last-child:hover{

    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.customer-sidebar ul li:last-child.active{

    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}