*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Times New Roman", serif;
    background:#f4f7fb;
    color:#111827;
}

a{
    text-decoration:none;
}

.app-layout{
    display:flex;
    width:100%;
    min-height:100vh;
}

.main-content{
    margin-left:280px;
    width:calc(100% - 280px);
    padding:30px;
    min-height:100vh;
}

/* SMM Dashboard Only */
.smm-dashboard .smm-card{
    border-radius:24px;
    border:1px solid #e5edf8;
    background:#fff;
}

.smm-dashboard .posted-card{
    margin-top:25px;
}

.smm-dashboard .table-responsive{
    overflow-x:auto;
}

.smm-dashboard .smm-search-form{
    display:grid;
    grid-template-columns:180px 1fr auto auto;
    gap:12px;
    margin:15px 0 20px;
    align-items:end;
}

.smm-dashboard .smm-link-form{
    display:grid;
    grid-template-columns:repeat(2,minmax(180px,1fr));
    gap:10px;
}

.smm-dashboard .smm-link-form button{
    grid-column:1/-1;
}

.smm-dashboard .smm-social-links{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.smm-dashboard .smm-social-links a{
    padding:7px 11px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    color:#fff;
    text-decoration:none;
}

.smm-dashboard .smm-social-links .insta{background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af);}
.smm-dashboard .smm-social-links .fb{background:#1877f2;}
.smm-dashboard .smm-social-links .yt{background:#ff0000;}
.smm-dashboard .smm-social-links .tw{background:#111827;}
.smm-dashboard .smm-social-links .ln{background:#0a66c2;}

@media(max-width:768px){
    .smm-dashboard .smm-search-form,
    .smm-dashboard .smm-link-form{
        grid-template-columns:1fr;
    }
}
@media (max-width: 768px){

    body{
        overflow-x:hidden;
    }

    .sidebar{
        position:fixed;
        left:0;
        top:0;
        width:82px !important;
        min-width:82px !important;
        height:100vh;
        z-index:999;
        overflow:hidden;
        padding:12px 8px;
    }

    .sidebar .brand-text,
    .sidebar-menu a span:last-child,
    .logout-link span:last-child,
    .back-admin-btn span:last-child{
        display:none !important;
    }

    .sidebar-brand{
        justify-content:center;
    }

    .sidebar-brand img{
        width:52px;
        height:52px;
        object-fit:contain;
    }

    .sidebar-menu a,
    .logout-link,
    .back-admin-btn{
        width:56px !important;
        height:56px;
        padding:0 !important;
        justify-content:center;
        border-radius:16px;
        margin:8px auto;
    }

    .main-content{
        margin-left:82px !important;
        width:calc(100% - 82px) !important;
        padding:14px !important;
    }

    .topbar{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }

    .topbar h1{
        font-size:24px;
        line-height:1.2;
    }

    .cards{
        grid-template-columns:1fr !important;
        gap:14px;
    }

    .card{
        width:100%;
        overflow:hidden;
    }

    .grid.two,
    .assign-grid,
    .client-filter-form,
    .form-grid{
        grid-template-columns:1fr !important;
        display:grid;
    }

    table{
        min-width:650px;
    }

    .table-responsive,
    .employee-scroll,
    .graphic-scroll-box,
    .posted-scroll-box{
        overflow-x:auto;
        width:100%;
    }

    .btn{
        width:auto;
        max-width:100%;
    }

    input,
    select,
    textarea{
        max-width:100%;
    }
}