/* ===========================
   ACCOUNT LAYOUT
=========================== */

.ol-account-wrapper{
    display:flex;
    gap:30px;
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
}

/* Sidebar */

.ol-sidebar{
    width:260px;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:25px;
    flex-shrink:0;
}

.ol-user-info{
    border-bottom:1px solid #eee;
    padding-bottom:20px;
    margin-bottom:20px;
}

.ol-user-info h3{
    margin:0;
    font-size:24px;
}

.ol-user-info p{
    margin-top:8px;
    color:#666;
    word-break:break-word;
    font-size:14px;
}

/* Menu */

.ol-menu{
    list-style:none;
    margin:0;
    padding:0;
}

.ol-menu li{
    padding:16px 18px;
    border-radius:8px;
    cursor:pointer;
    margin-bottom:12px;
    transition:.3s;
    font-size:16px;
}

.ol-menu li:hover{
    background:#95bf3d;
    color:#fff;
}

.ol-menu li.active{
    background:#95bf3d;
    color:#fff;
}

.ol-menu a{
    color:inherit;
    text-decoration:none;
    display:block;
}

/* Content */

.ol-content{
    flex:1;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:35px;
    min-height:500px;
}

.ol-menu a{
    display: block;
    color: #222;
    transition: all .2s ease;
}

.ol-menu a:hover{
    color: #95bf3d;
}

.ol-menu a,
.ol-menu a:visited,
.ol-menu a:hover,
.ol-menu a:focus{
    text-decoration: none !important;
}

/* Hide Tabs */

.tab-content{
    display:none;
}

.tab-content.active{
    display:block;
}

/* Mobile */

@media(max-width:768px){

    .ol-account-wrapper{
        flex-direction:column;
    }

    .ol-sidebar{
        width:100%;
    }

}

.order-card{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px 25px;

    margin-bottom:18px;

    border:1px solid #ececec;

    border-radius:12px;

    background:#fff;

    transition:.3s;

}
.order-card a{

    color:#95bf3d;

    text-decoration:none;

    font-weight:600;

}

.order-card:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.order-info{

    flex:2;

}

.order-total{

    flex:1;

    font-size:18px;

    font-weight:700;

    color:#222;

}

.order-status{

    flex:1;

}

.order-action{

    flex:1;

    text-align:right;

}

.status{

    display:inline-block;

    padding:6px 14px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

}

.status.processing{

    background:#fff3cd;

    color:#856404;

}

.status.draft{
    background:#f1f3f5;
    color:#495057;
}

.status.pending{
    background:#fff3cd;
    color:#856404;
}

.status.completed{
    background:#d4edda;
    color:#155724;
}

.status.cancelled{
    background:#f8d7da;
    color:#721c24;
}



.order-action a{

    display:inline-block;

    padding:10px 18px;

    border-radius:8px;

    background:#95bf3d;

    color:#fff;

    text-decoration:none;

    font-weight:600;

}

.order-action a:hover{

    background:#7ea52f;

}

@media(max-width:768px){

            .order-card{
            
                flex-direction:column;
            
                align-items:flex-start;
            
                gap:15px;
            
            }
            
            .order-action{
            
                width:100%;
            
                text-align:left;
            
            }
            
            .order-action a{
            
                width:100%;
            
                text-align:center;
            
            }

}

.address-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

    margin-top:25px;

}

.address-card{

    background:#fff;

    border:1px solid #ececec;

    border-radius:12px;

    padding:25px;

}

.address-card h3{

    margin-bottom:15px;

}

.address-card p{

    line-height:1.7;

    min-height:120px;

}

.address-btn{

    display:inline-block;

    margin-top:15px;

    padding:10px 18px;

    background:#95bf3d;

    color:#fff;

    border-radius:8px;

    text-decoration:none;

}

.address-btn:hover{

    background:#7ea52f;

}

@media(max-width:768px){

        .address-grid{
        
            grid-template-columns:1fr;
        
        }

}

.arrow{
    color:#95bf3d;
    font-size:20px;
    font-weight:600;
    cursor:pointer;
}