/* ===================================================
   ANOROT LOGIN SYSTEM PRO
   Dashboard CSS
=================================================== */

.alsp-dashboard{
    display:flex;
    gap:30px;
    max-width:1400px;
    margin:40px auto;
    padding:20px;
}

/* Sidebar */

.alsp-sidebar{
    width:280px;
    background:#fff;
    border-radius:15px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    overflow:hidden;
}

.alsp-user{
    text-align:center;
    padding:30px 20px;
    background:linear-gradient(135deg,var(--alsp-primary),var(--alsp-secondary));
    color:#fff;
}

.alsp-avatar{
    width:90px;
    height:90px;
    border-radius:50%;
    border:4px solid #fff;
    object-fit:cover;
    margin-bottom:15px;
}

.alsp-user h3{
    margin:0;
    font-size:20px;
    font-weight:700;
}

.alsp-user p{
    margin-top:8px;
    font-size:14px;
    opacity:.9;
    word-break:break-word;
}

/* Menu */

.alsp-menu{
    list-style:none;
    margin:0;
    padding:0;
}

.alsp-menu li{
    padding:16px 22px;
    cursor:pointer;
    transition:.3s;
    border-bottom:1px solid #f3f3f3;
    font-size:15px;
    font-weight:500;
}

.alsp-menu li:hover{
    background:#f7f7f7;
}

.alsp-menu li.active{
    background:var(--alsp-primary);
    color:#fff;
}

.alsp-menu li a{
    color:inherit;
    text-decoration:none;
    display:block;
}

/* Content */

.alsp-content{
    flex:1;
    background:#fff;
    border-radius:15px;
    padding:35px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.alsp-tab-content{
    display:none;
}

.alsp-tab-content.active{
    display:block;
}

.alsp-content h2{
    margin-top:0;
    margin-bottom:20px;
}

/* Table */

.alsp-table{
    width:100%;
    border-collapse:collapse;
}

.alsp-table th{
    width:220px;
    background:#fafafa;
    text-align:left;
    padding:15px;
}

.alsp-table td{
    padding:15px;
}

.alsp-table th,
.alsp-table td{
    border:1px solid #ececec;
}

/* Orders */

.alsp-order-card{
    border:1px solid #ececec;
    border-radius:12px;
    margin-bottom:25px;
    overflow:hidden;
    background:#fff;
}

.alsp-order-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#fafafa;
    padding:18px 20px;
}

.alsp-order-body{
    padding:20px;
}

.alsp-product{
    display:flex;
    gap:20px;
    margin-bottom:20px;
}

.alsp-product:last-child{
    margin-bottom:0;
}

.alsp-product-image img{
    width:80px;
    height:80px;
    border-radius:10px;
    object-fit:cover;
}

.alsp-product-info{
    flex:1;
    line-height:28px;
}

.alsp-order-footer{
    padding:20px;
    border-top:1px solid #ececec;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* Profile */

.alsp-group{
    margin-bottom:20px;
}

.alsp-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.alsp-group input{
    width:100%;
    padding:13px;
    border:1px solid #ddd;
    border-radius:10px;
}

/* Mobile */

@media(max-width:991px){

.alsp-dashboard{
    flex-direction:column;
}

.alsp-sidebar{
    width:100%;
}

.alsp-content{
    width:100%;
}

.alsp-order-head{
    flex-direction:column;
    gap:10px;
    align-items:flex-start;
}

.alsp-product{
    flex-direction:column;
}

.alsp-table th,
.alsp-table td{
    display:block;
    width:100%;
}

.alsp-table tr{
    display:block;
    margin-bottom:15px;
}

}