/* ============================================================
 * STAFF DOCS - Full CSS v2.3 (Responsive)
 * ============================================================ */

:root{
    --sd-bg:#f5f6f8;
    --sd-card:#ffffff;
    --sd-border:#e5e7eb;
    --sd-text:#1f2937;
    --sd-muted:#6b7280;
    --sd-primary:#2271b1;
    --sd-primary-dark:#135e96;
    --sd-danger:#d63638;
    --sd-radius:10px;
    --sd-shadow:0 1px 3px rgba(0,0,0,.06);
    --sd-sidebar-w:260px;
    --sd-header-h:64px;
}

.sd-app *,
.sd-app *::before,
.sd-app *::after{
    box-sizing:border-box;
}

/* ============================================================
 * LAYOUT
 * ============================================================ */
.sd-app{
    display:grid;
    grid-template-columns:var(--sd-sidebar-w) 1fr;
    min-height:100vh;
    background:var(--sd-bg);
    color:var(--sd-text);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    font-size:14px;
    line-height:1.5;
}
.sd-app.no-sidebar{
    grid-template-columns:1fr;
}

.sd-main{
    display:flex;
    flex-direction:column;
    min-width:0;
}

/* ============================================================
 * SIDEBAR
 * ============================================================ */
.sd-sidebar{
    background:#fff;
    border-right:1px solid var(--sd-border);
    padding:20px 16px;
    position:sticky;
    top:0;
    height:100vh;
    overflow-y:auto;
}
.sd-nav a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:9px 12px;
    border-radius:8px;
    color:var(--sd-text);
    text-decoration:none;
    font-size:14px;
    margin-bottom:2px;
    transition:background .15s,color .15s;
}
.sd-nav a:hover{
    background:#f0f6fc;
    color:var(--sd-primary-dark);
}
.sd-nav a.active{
    background:#eaf3fb;
    color:var(--sd-primary-dark);
    font-weight:600;
}
.sd-nav a .dashicons{
    font-size:18px;
    width:18px;
    height:18px;
    color:var(--sd-muted);
    flex:0 0 18px;
}
.sd-nav a.active .dashicons,
.sd-nav a:hover .dashicons{
    color:var(--sd-primary);
}
.sd-nav-section{
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.8px;
    color:var(--sd-muted);
    margin:16px 8px 8px;
    font-weight:600;
}
.sd-nav-divider{
    height:1px;
    background:var(--sd-border);
    margin:16px 8px;
}

/* ============================================================
 * HEADER
 * ============================================================ */
.sd-header{
    background:#fff;
    border-bottom:1px solid var(--sd-border);
    padding:14px 28px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    position:sticky;
    top:0;
    z-index:20;
}
.sd-header-left{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}
.sd-brand{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:var(--sd-text);
    text-decoration:none;
    font-weight:700;
    font-size:16px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.sd-brand .dashicons{
    color:var(--sd-primary);
    font-size:22px;
    width:22px;
    height:22px;
    flex:0 0 22px;
}
.sd-header-right{
    display:flex;
    align-items:center;
    gap:14px;
    flex:0 0 auto;
}

/* ============================================================
 * USER DROPDOWN
 * ============================================================ */
.sd-user{
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    padding:6px 12px;
    border-radius:20px;
    position:relative;
    user-select:none;
    transition:background .15s;
}
.sd-user:hover{
    background:#f3f4f6;
}
.sd-user .sd-avatar{
    width:32px;
    height:32px;
    border-radius:50%;
    background:linear-gradient(135deg,#2271b1,#4a9dd8);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    font-size:13px;
    flex:0 0 32px;
}
.sd-user .sd-username{
    font-size:14px;
    font-weight:500;
    color:var(--sd-text);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:160px;
}
.sd-user .dashicons-arrow-down-alt2{
    font-size:14px;
    width:14px;
    height:14px;
    color:var(--sd-muted);
}
.sd-user-menu{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    min-width:200px;
    background:#fff;
    border:1px solid var(--sd-border);
    border-radius:10px;
    box-shadow:0 8px 24px rgba(0,0,0,.10);
    padding:6px;
    opacity:0;
    visibility:hidden;
    transform:translateY(-6px);
    transition:opacity .15s,transform .15s,visibility .15s;
    z-index:50;
}
.sd-user.open .sd-user-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
.sd-user-menu a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:9px 12px;
    border-radius:6px;
    color:var(--sd-text);
    text-decoration:none;
    font-size:14px;
    transition:background .12s,color .12s;
}
.sd-user-menu a:hover{
    background:#f0f6fc;
    color:var(--sd-primary-dark);
}
.sd-user-menu a .dashicons{
    font-size:16px;
    width:16px;
    height:16px;
    color:var(--sd-muted);
}
.sd-user-menu a:hover .dashicons{
    color:var(--sd-primary);
}
.sd-user-menu-divider{
    height:1px;
    background:var(--sd-border);
    margin:6px 4px;
}

.sd-icon-btn{
    background:none;
    border:none;
    cursor:pointer;
    color:var(--sd-muted);
    padding:8px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:background .15s,color .15s;
}
.sd-icon-btn:hover{
    background:#f0f6fc;
    color:var(--sd-primary);
}

/* ============================================================
 * CONTENT
 * ============================================================ */
.sd-content{
    padding:28px;
    max-width:1200px;
    width:100%;
    margin:0 auto;
}
.sd-breadcrumb{
    font-size:13px;
    color:var(--sd-muted);
    margin-bottom:10px;
    word-break:break-word;
}
.sd-breadcrumb a{
    color:var(--sd-muted);
    text-decoration:none;
}
.sd-breadcrumb a:hover{color:var(--sd-primary);}
.sd-page-title{
    font-size:26px;
    font-weight:700;
    margin:0 0 4px;
    color:var(--sd-text);
    line-height:1.3;
    word-break:break-word;
}
.sd-page-sub{
    font-size:14px;
    color:var(--sd-muted);
    margin:0 0 22px;
}

/* ============================================================
 * SEARCH BOX
 * ============================================================ */
.sd-search-box{
    position:relative;
    margin-bottom:20px;
    display:block;
}
.sd-search-box input{
    width:100%;
    padding:14px 16px 14px 48px !important;
    border:1px solid var(--sd-border) !important;
    border-radius:12px !important;
    background:#fff !important;
    font-size:14px !important;
    line-height:1.4 !important;
    height:auto !important;
    outline:none;
    box-shadow:none !important;
    transition:border .15s,box-shadow .15s;
    box-sizing:border-box;
    color:var(--sd-text);
    font-family:inherit;
}
.sd-search-box input:focus{
    border-color:var(--sd-primary) !important;
    box-shadow:0 0 0 3px rgba(34,113,177,.1) !important;
}
.sd-search-box .dashicons{
    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    color:var(--sd-muted);
    font-size:18px;
    width:18px;
    height:18px;
    pointer-events:none;
    z-index:1;
}

/* ============================================================
 * TYPE FILTER CHIPS
 * ============================================================ */
.sd-type-filter{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:24px;
}
.sd-type-chip{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 14px;
    border-radius:20px;
    background:#fff;
    border:1px solid var(--sd-border);
    color:var(--sd-text);
    text-decoration:none;
    font-size:13px;
    font-weight:500;
    transition:all .15s;
    white-space:nowrap;
}
.sd-type-chip:hover{
    border-color:var(--sd-primary);
    color:var(--sd-primary);
}
.sd-type-chip.active{
    background:var(--sd-primary);
    border-color:var(--sd-primary);
    color:#fff;
}
.sd-type-count{
    display:inline-block;
    padding:1px 8px;
    border-radius:10px;
    background:rgba(0,0,0,.06);
    font-size:11px;
    font-weight:600;
}
.sd-type-chip.active .sd-type-count{
    background:rgba(255,255,255,.22);
    color:#fff;
}

/* ============================================================
 * SECTION TITLE
 * ============================================================ */
.sd-section-title{
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.8px;
    color:var(--sd-muted);
    margin:0 0 14px;
    padding-bottom:10px;
    border-bottom:1px solid var(--sd-border);
}

/* ============================================================
 * DOC LIST
 * ============================================================ */
.sd-doc-list{
    display:flex;
    flex-direction:column;
    gap:4px;
}
.sd-doc-row{
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 16px;
    background:#fff;
    border:1px solid transparent;
    border-radius:8px;
    text-decoration:none;
    color:inherit;
    transition:background .15s,border-color .15s;
}
.sd-doc-row:hover{
    background:#f9fafb;
    border-color:var(--sd-border);
}
.sd-doc-icon{
    width:34px;
    height:34px;
    flex:0 0 34px;
    border-radius:8px;
    background:#f3f4f6;
    color:var(--sd-primary);
    display:flex;
    align-items:center;
    justify-content:center;
}
.sd-doc-icon .dashicons{
    font-size:18px;
    width:18px;
    height:18px;
}
.sd-doc-info{
    flex:1;
    min-width:0;
}
.sd-doc-title{
    font-size:15px;
    font-weight:600;
    color:var(--sd-text);
    margin:0 0 3px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.sd-doc-meta{
    font-size:13px;
    color:var(--sd-muted);
}
.sd-doc-arrow{
    color:#cbd5e1;
    font-size:18px;
    width:18px;
    height:18px;
    flex:0 0 18px;
}

/* ============================================================
 * PAGINATION
 * ============================================================ */
.sd-pagination{
    margin-top:28px;
    display:flex;
    justify-content:center;
    gap:6px;
    flex-wrap:wrap;
}
.sd-pagination .page-numbers{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:36px;
    height:36px;
    padding:0 10px;
    border-radius:8px;
    background:#fff;
    border:1px solid var(--sd-border);
    color:var(--sd-text);
    text-decoration:none;
    font-size:14px;
    transition:all .15s;
}
.sd-pagination .page-numbers:hover{
    border-color:var(--sd-primary);
    color:var(--sd-primary);
}
.sd-pagination .page-numbers.current{
    background:var(--sd-primary);
    border-color:var(--sd-primary);
    color:#fff;
}

/* ============================================================
 * EMPTY STATE
 * ============================================================ */
.sd-empty{
    padding:60px 20px;
    text-align:center;
    background:#fff;
    border:1px dashed var(--sd-border);
    border-radius:var(--sd-radius);
    color:var(--sd-muted);
}

/* ============================================================
 * AUTH (login / no-access)
 * ============================================================ */
.sd-auth-wrap{
    max-width:420px;
    margin:40px auto;
    padding:36px;
    background:#fff;
    border:1px solid var(--sd-border);
    border-radius:14px;
    box-shadow:var(--sd-shadow);
}
.sd-auth-wrap h2{
    font-size:22px;
    margin:0 0 8px;
    text-align:center;
    color:var(--sd-text);
}
.sd-auth-wrap .sd-sub{
    color:var(--sd-muted);
    font-size:14px;
    text-align:center;
    margin:0 0 26px;
}
.sd-auth-wrap label{
    display:block;
    font-weight:600;
    margin-bottom:6px;
    font-size:14px;
    color:var(--sd-text);
}
.sd-auth-wrap input[type=text],
.sd-auth-wrap input[type=password]{
    width:100%;
    padding:11px 13px;
    margin-bottom:16px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:14px;
    outline:none;
    transition:border .15s,box-shadow .15s;
    box-sizing:border-box;
    font-family:inherit;
}
.sd-auth-wrap input:focus{
    border-color:var(--sd-primary);
    box-shadow:0 0 0 3px rgba(34,113,177,.1);
}
.sd-auth-wrap .sd-remember{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:400;
    margin-bottom:18px;
    font-size:14px;
}
.sd-auth-wrap button{
    width:100%;
    padding:12px;
    background:var(--sd-primary);
    color:#fff;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    transition:background .15s;
    font-family:inherit;
}
.sd-auth-wrap button:hover{
    background:var(--sd-primary-dark);
}
.sd-no-access{
    max-width:600px;
    margin:40px auto;
    padding:44px;
    text-align:center;
    background:#fff;
    border:1px solid var(--sd-border);
    border-radius:14px;
}
.sd-no-access .dashicons{
    font-size:52px;
    width:52px;
    height:52px;
    color:var(--sd-danger);
    margin-bottom:12px;
}
.sd-no-access h2{
    margin:0 0 10px;
    color:var(--sd-danger);
    font-size:22px;
}
.sd-no-access p{
    color:var(--sd-muted);
    margin:0;
}

/* ============================================================
 * SINGLE ARTICLE
 * ============================================================ */
.sd-article{
    background:#fff;
    border:1px solid var(--sd-border);
    border-radius:var(--sd-radius);
    padding:36px;
}
.sd-article h1{
    font-size:30px;
    margin:0 0 12px;
    line-height:1.3;
    color:var(--sd-text);
    word-break:break-word;
}
.sd-article .sd-meta{
    color:var(--sd-muted);
    font-size:14px;
    margin-bottom:24px;
    padding-bottom:16px;
    border-bottom:1px solid var(--sd-border);
}
.sd-article .sd-thumb{
    border-radius:10px;
    overflow:hidden;
    margin:0 0 24px;
}
.sd-article .sd-thumb img{
    width:100%;
    height:auto;
    display:block;
}
.sd-article .sd-body{
    font-size:16px;
    line-height:1.8;
    color:var(--sd-text);
    word-wrap:break-word;
    overflow-wrap:break-word;
}
.sd-article .sd-body img{
    max-width:100%;
    height:auto;
}
.sd-back-link{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:24px;
    color:var(--sd-primary);
    text-decoration:none;
    font-weight:500;
}
.sd-back-link:hover{text-decoration:underline;}

/* ============================================================
 * ALERTS
 * ============================================================ */
.sd-alert{
    padding:12px 16px;
    border-radius:10px;
    margin-bottom:20px;
    font-size:14px;
    border-left:4px solid;
}
.sd-alert-success{
    background:#ecfdf5;
    border-color:#10b981;
    color:#065f46;
}
.sd-alert-error{
    background:#fef2f2;
    border-color:#dc2626;
    color:#991b1b;
}
.sd-alert-error div + div{margin-top:4px;}

/* ============================================================
 * PROFILE
 * ============================================================ */
.sd-profile-grid{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:28px;
    align-items:start;
}
.sd-profile-card{
    background:#fff;
    border:1px solid var(--sd-border);
    border-radius:var(--sd-radius);
    padding:24px;
    text-align:center;
    position:sticky;
    top:100px;
}
.sd-profile-avatar{
    width:120px;
    height:120px;
    margin:0 auto 16px;
    border-radius:50%;
    overflow:hidden;
    background:linear-gradient(135deg,#2271b1,#4a9dd8);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:44px;
    font-weight:700;
}
.sd-profile-avatar-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    border-radius:50%;
}
.sd-profile-name{
    margin:0 0 4px;
    font-size:18px;
    font-weight:700;
    color:var(--sd-text);
    word-break:break-word;
}
.sd-profile-username{
    margin:0 0 14px;
    font-size:13px;
    color:var(--sd-muted);
    word-break:break-word;
}
.sd-profile-roles{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    justify-content:center;
    margin-bottom:16px;
}
.sd-role-badge{
    display:inline-block;
    padding:3px 10px;
    border-radius:12px;
    background:#eaf3fb;
    color:var(--sd-primary-dark);
    font-size:12px;
    font-weight:600;
}
.sd-avatar-upload{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:8px 14px;
    border:1px solid var(--sd-border);
    border-radius:8px;
    background:#f9fafb;
    cursor:pointer;
    font-size:13px;
    font-weight:500;
    transition:all .15s;
}
.sd-avatar-upload:hover{
    border-color:var(--sd-primary);
    color:var(--sd-primary);
    background:#fff;
}
.sd-avatar-upload .dashicons{
    font-size:16px;
    width:16px;
    height:16px;
}

.sd-profile-main{
    background:#fff;
    border:1px solid var(--sd-border);
    border-radius:var(--sd-radius);
    padding:28px;
}
.sd-profile-main .sd-section-title{
    margin-top:0;
}
.sd-field{
    margin-bottom:18px;
}
.sd-field label{
    display:block;
    font-weight:600;
    font-size:13px;
    margin-bottom:6px;
    color:var(--sd-text);
}
.sd-field label .req{color:var(--sd-danger);}
.sd-field input,
.sd-field textarea{
    width:100%;
    padding:10px 12px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:14px;
    outline:none;
    transition:border .15s,box-shadow .15s;
    background:#fff;
    box-sizing:border-box;
    font-family:inherit;
    color:var(--sd-text);
}
.sd-field input:focus,
.sd-field textarea:focus{
    border-color:var(--sd-primary);
    box-shadow:0 0 0 3px rgba(34,113,177,.1);
}
.sd-field input:disabled{
    background:#f3f4f6;
    color:var(--sd-muted);
    cursor:not-allowed;
}
.sd-field textarea{resize:vertical;min-height:80px;}
.sd-field-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}
.sd-help{
    font-size:13px;
    color:var(--sd-muted);
    margin:-4px 0 14px;
}
.sd-profile-actions{
    display:flex;
    gap:10px;
    margin-top:28px;
    padding-top:22px;
    border-top:1px solid var(--sd-border);
    flex-wrap:wrap;
}
.sd-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:10px 20px;
    border-radius:8px;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    border:1px solid transparent;
    cursor:pointer;
    transition:all .15s;
    font-family:inherit;
}
.sd-btn-primary{
    background:var(--sd-primary);
    color:#fff;
}
.sd-btn-primary:hover{
    background:var(--sd-primary-dark);
    color:#fff;
}
.sd-btn-ghost{
    background:#fff;
    border-color:var(--sd-border);
    color:var(--sd-text);
}
.sd-btn-ghost:hover{
    border-color:var(--sd-primary);
    color:var(--sd-primary);
}

/* ============================================================
 * RESPONSIVE - TABLET (≤ 1024px)
 * ============================================================ */
@media (max-width:1024px){
    :root{
        --sd-sidebar-w:220px;
    }
    .sd-content{padding:24px 20px;}
    .sd-header{padding:12px 20px;}
}

/* ============================================================
 * RESPONSIVE - MOBILE (≤ 900px)
 * ============================================================ */
@media (max-width:900px){
    /* Layout: 1 cột, sidebar thành drawer ngang trên cùng */
    .sd-app{
        grid-template-columns:1fr;
        min-height:100vh;
    }
    .sd-sidebar{
        position:relative;
        height:auto;
        max-height:none;
        border-right:none;
        border-bottom:1px solid var(--sd-border);
        padding:12px 16px;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
    }

    /* Sidebar chuyển thành thanh nav ngang có scroll */
    .sd-nav{
        display:flex;
        gap:6px;
        align-items:center;
        min-width:max-content;
        padding-bottom:4px;
    }
    .sd-nav a{
        margin-bottom:0;
        white-space:nowrap;
        padding:8px 12px;
        font-size:13px;
        flex:0 0 auto;
    }
    .sd-nav a .dashicons{
        font-size:16px;
        width:16px;
        height:16px;
        flex:0 0 16px;
    }
    .sd-nav-section{
        display:flex;
        align-items:center;
        margin:0 6px 0 12px;
        white-space:nowrap;
        font-size:11px;
        padding:6px 0;
        border:none;
    }
    .sd-nav-divider{
        width:1px;
        height:20px;
        margin:0 6px;
        flex:0 0 1px;
    }

    /* Header */
    .sd-header{
        padding:12px 16px;
        position:sticky;
        top:0;
    }
    .sd-brand{
        font-size:14px;
    }
    .sd-brand .dashicons{
        font-size:20px;
        width:20px;
        height:20px;
        flex:0 0 20px;
    }
    .sd-user .sd-username{
        display:none;
    }
    .sd-user{
        padding:6px 8px;
        gap:6px;
    }

    /* Content */
    .sd-content{
        padding:18px 16px;
        max-width:100%;
    }
    .sd-page-title{
        font-size:22px;
    }
    .sd-page-sub{
        font-size:13px;
        margin-bottom:18px;
    }
    .sd-breadcrumb{
        font-size:12px;
    }

    /* Search */
    .sd-search-box input{
        padding:12px 14px 12px 42px !important;
        font-size:14px !important;
        border-radius:10px !important;
    }
    .sd-search-box .dashicons{
        left:14px;
        font-size:16px;
        width:16px;
        height:16px;
    }

    /* Type chips */
    .sd-type-filter{
        overflow-x:auto;
        flex-wrap:nowrap;
        padding-bottom:6px;
        margin-bottom:18px;
        -webkit-overflow-scrolling:touch;
    }
    .sd-type-filter::-webkit-scrollbar{display:none;}
    .sd-type-chip{
        flex:0 0 auto;
        font-size:12px;
        padding:6px 12px;
    }

    /* Doc list */
    .sd-doc-row{
        padding:12px 12px;
        gap:10px;
    }
    .sd-doc-icon{
        width:30px;
        height:30px;
        flex:0 0 30px;
        border-radius:6px;
    }
    .sd-doc-icon .dashicons{
        font-size:16px;
        width:16px;
        height:16px;
    }
    .sd-doc-title{
        font-size:14px;
        white-space:normal;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }
    .sd-doc-meta{
        font-size:12px;
    }
    .sd-doc-arrow{
        font-size:16px;
        width:16px;
        height:16px;
        flex:0 0 16px;
    }

    /* Pagination */
    .sd-pagination .page-numbers{
        min-width:32px;
        height:32px;
        font-size:13px;
        padding:0 8px;
    }

    /* Auth */
    .sd-auth-wrap{
        margin:20px auto;
        padding:24px 20px;
        border-radius:12px;
    }
    .sd-auth-wrap h2{
        font-size:19px;
    }
    .sd-auth-wrap .sd-sub{
        font-size:13px;
        margin-bottom:20px;
    }
    .sd-no-access{
        margin:20px auto;
        padding:32px 20px;
    }

    /* Single article */
    .sd-article{
        padding:22px 18px;
        border-radius:10px;
    }
    .sd-article h1{
        font-size:22px;
    }
    .sd-article .sd-meta{
        font-size:13px;
        margin-bottom:18px;
        padding-bottom:12px;
    }
    .sd-article .sd-body{
        font-size:15px;
        line-height:1.7;
    }

    /* Profile */
    .sd-profile-grid{
        grid-template-columns:1fr;
        gap:18px;
    }
    .sd-profile-card{
        position:relative;
        top:0;
        padding:20px;
    }
    .sd-profile-avatar{
        width:90px;
        height:90px;
        font-size:34px;
        margin-bottom:12px;
    }
    .sd-profile-main{
        padding:20px;
    }
    .sd-field-row{
        grid-template-columns:1fr;
        gap:0;
    }
    .sd-profile-actions{
        flex-direction:column-reverse;
    }
    .sd-btn{
        justify-content:center;
        width:100%;
    }

    /* Section title */
    .sd-section-title{
        font-size:12px;
    }
}

/* ============================================================
 * RESPONSIVE - SMALL MOBILE (≤ 480px)
 * ============================================================ */
@media (max-width:480px){
    .sd-header{
        padding:10px 12px;
    }
    .sd-brand{
        font-size:13px;
        gap:6px;
    }
    .sd-brand .dashicons{
        font-size:18px;
        width:18px;
        height:18px;
        flex:0 0 18px;
    }
    .sd-header-right{
        gap:6px;
    }
    .sd-user{
        padding:4px 6px;
    }
    .sd-user .sd-avatar{
        width:28px;
        height:28px;
        flex:0 0 28px;
        font-size:12px;
    }
    .sd-icon-btn{
        padding:6px;
    }

    .sd-content{
        padding:14px 12px;
    }
    .sd-page-title{
        font-size:20px;
    }
    .sd-search-box input{
        padding:11px 12px 11px 40px !important;
        font-size:13px !important;
    }

    .sd-sidebar{
        padding:10px 12px;
    }
    .sd-nav a{
        padding:7px 10px;
        font-size:12px;
    }

    .sd-article{
        padding:18px 14px;
    }
    .sd-article h1{
        font-size:20px;
    }

    .sd-auth-wrap{
        padding:20px 16px;
    }
    .sd-auth-wrap h2{
        font-size:18px;
    }

    .sd-profile-main{
        padding:16px;
    }
    .sd-profile-card{
        padding:16px;
    }

    .sd-pagination .page-numbers{
        min-width:30px;
        height:30px;
        font-size:12px;
        padding:0 6px;
    }
}

/* ============================================================
 * SCROLLBAR ĐẸP CHO SIDEBAR
 * ============================================================ */
.sd-sidebar::-webkit-scrollbar{
    width:6px;
}
.sd-sidebar::-webkit-scrollbar-thumb{
    background:#d1d5db;
    border-radius:3px;
}
.sd-sidebar::-webkit-scrollbar-thumb:hover{
    background:#9ca3af;
}
.sd-nav::-webkit-scrollbar{
    height:0;
}