.app-dashboard{

    max-width:920px;
    margin:auto;
    padding:20px 14px 140px;

}

.ud-header{

    margin-bottom:24px;

}

.ud-header h2{

    font-size:42px;
    font-weight:950;
    margin:0 0 10px;

}

.dashboard-subtitle{

    color:#6b7280;
    font-size:15px;

}

.dashboard-top-actions{

    display:flex;
    gap:12px;
    margin-bottom:24px;

}

.dashboard-main-btn,
.dashboard-logout-btn{

    flex:1;
    height:58px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none !important;
    font-weight:900;

}

.dashboard-main-btn{

    background:#16a34a;
    color:#fff;

}

.dashboard-logout-btn{

    background:#f3f4f6;
    color:#111827;

}

.dashboard-status-tabs{

    display:flex;
    gap:10px;
    overflow:auto;
    margin-bottom:24px;

}

.dashboard-status-tab{

    min-width:120px;
    height:54px;
    border-radius:999px;
    background:#f3f4f6;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none !important;
    color:#111827;
    font-weight:900;

}

.dashboard-status-tab.active{

    background:#16a34a;
    color:#fff;

}

.ads-list{

    display:flex;
    flex-direction:column;
    gap:20px;

}

.dashboard-card{

    background:#fff;
    border-radius:28px;
    overflow:hidden;
    box-shadow:
    0 4px 18px rgba(0,0,0,.05);

}

.dashboard-thumb{

    padding:14px 14px 0;

}

.dashboard-thumb img{

    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    border-radius:22px;

}

.ad-content{

    padding:18px;

}

.title{

    display:block;
    text-decoration:none !important;
    font-size:28px;
    line-height:1.4;
    font-weight:950;
    color:#111827;
    margin-bottom:18px;

}

.dashboard-meta{

    display:flex;
    gap:10px;
    align-items:center;
    margin-bottom:20px;

}

.dashboard-status,
.dashboard-views{

    height:46px;
    padding:0 18px;
    border-radius:999px;
    background:#f3f4f6;
    display:flex;
    align-items:center;
    font-size:15px;
    font-weight:900;

}

.dashboard-actions{

    display:flex;
    flex-wrap:wrap;
    gap:10px;

}

.dashboard-action-btn{

    flex:1;
    min-width:120px;
    height:52px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none !important;
    font-weight:900;

}

.dashboard-action-btn.view{

    background:#f3f4f6;
    color:#111827;

}

.dashboard-action-btn.edit{

    background:#DCFCE7;
    color:#15803D;

}

.dashboard-action-btn.delete{

    background:#FEE2E2;
    color:#DC2626;

}

.dashboard-action-btn.republish{

    background:#DBEAFE;
    color:#2563EB;

}

.dashboard-empty{

    background:#fff;
    border-radius:24px;
    padding:40px;
    text-align:center;
    font-weight:900;

}

@media(max-width:768px){

    .dashboard-top-actions{

        flex-direction:column;

    }

    .dashboard-actions{

        flex-direction:column;

    }

    .title{

        font-size:24px;

    }

}

/* ====================================
SIMPLE DASHBOARD CARDS
==================================== */

.dashboard-simple-card{

    display:flex;
    gap:14px;

    background:#fff;

    border-radius:24px;

    padding:14px;

    box-shadow:
    0 4px 14px rgba(0,0,0,.05);

}

.dashboard-simple-thumb{

    width:110px;
    min-width:110px;

}

.dashboard-simple-thumb img{

    width:100%;
    height:110px;

    object-fit:cover;

    border-radius:18px;

}

.dashboard-simple-content{

    flex:1;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

}

.dashboard-simple-title{

    text-decoration:none !important;

    color:#111827;

    font-size:20px;

    font-weight:900;

    line-height:1.5;

}

.dashboard-simple-meta{

    display:flex;

    gap:10px;

    margin-top:10px;

    margin-bottom:14px;

}

.dashboard-simple-views,
.dashboard-simple-status{

    height:38px;

    padding:0 14px;

    border-radius:999px;

    background:#f3f4f6;

    display:flex;

    align-items:center;

    font-size:13px;

    font-weight:800;

}

.dashboard-simple-actions{

    display:flex;

    align-items:center;

    gap:10px;

}

.dashboard-icon-btn{

    width:42px;

    height:42px;

    border-radius:14px;

    background:#f3f4f6;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none !important;

    font-size:18px;

}

.dashboard-icon-btn.edit{

    background:#DCFCE7;

}

.dashboard-icon-btn.delete{

    background:#FEE2E2;

}

.dashboard-view-btn{

    flex:1;

    height:42px;

    border-radius:14px;

    background:#16a34a;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none !important;

    font-size:14px;

    font-weight:900;

}

@media(max-width:768px){

    .dashboard-simple-card{

        align-items:flex-start;

    }

    .dashboard-simple-thumb{

        width:92px;
        min-width:92px;

    }

    .dashboard-simple-thumb img{

        height:92px;

    }

    .dashboard-simple-title{

        font-size:17px;

    }

}

.sudanads-success-notice{
    background:#e8f8ee;
    border:1px solid #7cc48d;
    color:#1f5d2f;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
}