:root{
    --primary:#E0007A;
    --primary-dark:#B00061;
    --primary-light:#FFE3F1;
    --secondary:#111111;
    --success:#16A34A;
    --danger:#DC2626;
    --light:#FFF7FB;
    --white:#ffffff;
    --border:#F3C5DC;
    --text:#171717;
    --muted:#6B7280;
    --shadow:0 14px 35px rgba(224,0,122,0.16);
}

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

body{
    font-family:Arial, sans-serif;
    background:var(--light);
    color:var(--text);
}

.app-wrapper{
    display:flex;
    min-height:100vh;
}

.sidebar{
    width:270px;
    background:linear-gradient(180deg,#E0007A,#A9005D);
    color:white;
    padding:20px;
    position:fixed;
    height:100vh;
    box-shadow:var(--shadow);
    z-index:1000;
}

.sidebar-brand{
    text-align:center;
    margin-bottom:30px;
}

.sidebar-logo{
    width:150px;
    max-width:100%;
    background:white;
    border-radius:18px;
    padding:10px;
    margin-bottom:12px;
}

.sidebar-brand strong{
    display:block;
    font-size:20px;
}

.sidebar-brand small{
    color:#ffe6f4;
}

.sidebar-menu{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.sidebar-menu a{
    text-decoration:none;
    color:white;
    padding:13px 14px;
    border-radius:14px;
    transition:.3s;
    font-weight:600;
}

.sidebar-menu a:hover{
    background:rgba(255,255,255,0.18);
    transform:translateX(4px);
}

.main-content{
    margin-left:270px;
    width:calc(100% - 270px);
}

.topbar{
    background:white;
    padding:18px 25px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:var(--shadow);
    border-bottom:1px solid var(--border);
    position:sticky;
    top:0;
    z-index:900;
}

.user-box{
    display:flex;
    align-items:center;
    gap:12px;
}

.content-area{
    padding:30px;
}

.page-header{
    background:white;
    padding:25px;
    border-radius:20px;
    box-shadow:var(--shadow);
    display:flex;
    justify-content:space-between;
    align-items:center;
    border:1px solid var(--border);
}

.page-header h2{
    margin:0;
    font-weight:800;
}

.page-header p{
    margin:6px 0 0;
    color:var(--muted);
}

.role-badge{
    background:var(--primary);
    color:white;
    padding:9px 18px;
    border-radius:30px;
    font-weight:bold;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
    margin-top:25px;
}

.stat-card{
    background:white;
    padding:26px;
    border-radius:22px;
    box-shadow:var(--shadow);
    position:relative;
    border:1px solid var(--border);
    overflow:hidden;
}

.stat-card.primary{
    border-left:7px solid var(--primary);
}

.stat-card.success{
    border-left:7px solid var(--primary-dark);
}

.stat-card.dark{
    border-left:7px solid var(--secondary);
}

.stat-card span{
    color:var(--primary);
    font-weight:bold;
}

.stat-card h3{
    margin:10px 0;
    color:var(--secondary);
    font-weight:800;
}

.stat-card p{
    color:var(--muted);
}

.stat-card i{
    font-size:45px;
    color:var(--primary);
    opacity:.25;
    position:absolute;
    right:25px;
    bottom:20px;
}

.stat-card a{
    display:inline-block;
    margin-top:15px;
    text-decoration:none;
    background:var(--primary);
    color:white;
    padding:10px 18px;
    border-radius:30px;
    font-weight:bold;
}

.stat-card a:hover{
    background:var(--primary-dark);
    color:white;
}

.dashboard-panel{
    margin-top:30px;
    background:white;
    padding:25px;
    border-radius:22px;
    box-shadow:var(--shadow);
    border:1px solid var(--border);
}

.quick-actions{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:20px;
}

.quick-actions a{
    background:var(--primary-light);
    padding:22px;
    border-radius:18px;
    text-decoration:none;
    color:var(--primary-dark);
    font-weight:bold;
    text-align:center;
    border:1px solid var(--border);
    transition:.25s;
}

.quick-actions a:hover{
    transform:translateY(-3px);
    box-shadow:var(--shadow);
}

.quick-actions a i{
    display:block;
    font-size:28px;
    margin-bottom:8px;
}

.premium-form{
    background:white;
    padding:28px;
    border-radius:24px;
    box-shadow:var(--shadow);
    border:1px solid var(--border);
}

.form-section{
    background:white;
    border:1px solid var(--border);
    border-radius:20px;
    padding:24px;
}

.form-section h5{
    color:var(--primary);
    font-weight:800;
    margin-bottom:8px;
}

.form-label{
    font-weight:700;
    color:var(--secondary);
    margin-bottom:6px;
}

.form-control,
.form-select{
    height:48px;
    border-radius:14px;
    border:1px solid #ead0dd;
    font-size:15px;
}

.form-control:focus,
.form-select:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 .2rem rgba(224,0,122,.15);
}

.form-actions{
    display:flex;
    gap:12px;
    justify-content:flex-end;
    margin-top:28px;
}

.btn-primary,
.btn-success{
    background:var(--primary)!important;
    border-color:var(--primary)!important;
    border-radius:14px;
    font-weight:700;
}

.btn-primary:hover,
.btn-success:hover{
    background:var(--primary-dark)!important;
    border-color:var(--primary-dark)!important;
}

.btn-light,
.btn-outline-secondary{
    border:1px solid var(--border);
    border-radius:14px;
    font-weight:700;
}

.btn-outline-danger{
    border-radius:14px;
    font-weight:700;
}

.table{
    background:white;
    border-radius:18px;
    overflow:hidden;
}

.table thead{
    background:var(--primary);
    color:white;
}

.card{
    border-radius:22px;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.menu-toggle{
    display:none;
    border:none;
    background:var(--primary-light);
    color:var(--primary);
    width:42px;
    height:42px;
    border-radius:12px;
    font-size:22px;
}

@media(max-width:992px){
    .sidebar{
        width:100%;
        height:auto;
        position:relative;
    }

    .main-content{
        margin-left:0;
        width:100%;
    }

    .stats-grid,
    .quick-actions{
        grid-template-columns:1fr;
    }

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

    .user-box{
        width:100%;
        justify-content:space-between;
    }

    .page-header{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .form-actions{
        flex-direction:column;
    }

    .form-actions .btn{
        width:100%;
    }

    .premium-form{
        padding:18px;
    }

    .content-area{
        padding:18px;
    }
}



.premium-table-card{
    background:white;
    border-radius:24px;
    padding:24px;
    box-shadow:var(--shadow);
    border:1px solid var(--border);
}

.table-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-bottom:22px;
}

.table-toolbar h5{
    font-weight:800;
    margin:0;
    color:var(--secondary);
}

.table-toolbar small{
    color:var(--muted);
}

.search-input{
    max-width:380px;
}

.premium-table{
    margin:0;
    border-collapse:separate;
    border-spacing:0 10px;
}

.premium-table thead th{
    background:var(--primary);
    color:white;
    border:none;
    padding:14px;
    font-size:14px;
}

.premium-table tbody tr{
    background:#fff;
    box-shadow:0 8px 20px rgba(224,0,122,.08);
}

.premium-table tbody td{
    padding:16px 14px;
    vertical-align:middle;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
}

.premium-table tbody td:first-child{
    border-left:1px solid var(--border);
    border-radius:14px 0 0 14px;
}

.premium-table tbody td:last-child{
    border-right:1px solid var(--border);
    border-radius:0 14px 14px 0;
}

.table-badge{
    background:var(--primary-light);
    color:var(--primary-dark);
    padding:6px 12px;
    border-radius:20px;
    font-weight:700;
    font-size:13px;
}

.btn-outline-primary{
    color:var(--primary);
    border-color:var(--primary);
    border-radius:10px;
}

.btn-outline-primary:hover{
    background:var(--primary);
    border-color:var(--primary);
    color:white;
}

@media(max-width:768px){
    .table-toolbar{
        flex-direction:column;
        align-items:flex-start;
    }

    .search-input{
        max-width:100%;
    }
}


.premium-error{
    border-radius:18px;
    padding:18px 22px;
    font-weight:700;
    border:1px solid #f5b5c8;
    background:#fff0f6;
    color:#b00061;
    box-shadow:var(--shadow);
}

.premium-error i{
    margin-right:8px;
}

.status-badge{
    background:#fff0f7;
    color:var(--primary-dark);
    padding:7px 14px;
    border-radius:30px;
    font-weight:800;
    font-size:13px;
    border:1px solid var(--border);
}


.textarea-premium{
    min-height:120px;
    resize:vertical;
    padding-top:14px;
}

input[type="file"].form-control{
    padding:10px 14px;
    height:48px;
}

.form-section + .form-section{
    margin-top:28px;
}


/* =========================================
   SOLICITUDES PREMIUM
========================================= */

.status-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 16px;
    border-radius:30px;
    background:#fff0f7;
    color:var(--primary-dark);
    font-weight:800;
    font-size:13px;
    border:1px solid var(--border);
    letter-spacing:.3px;
}

.textarea-premium{
    min-height:120px;
    resize:vertical;
    padding-top:14px !important;
}

input[type="file"].form-control{
    padding:10px 14px;
    height:50px;
    display:flex;
    align-items:center;
}

.form-section + .form-section{
    margin-top:30px;
}

.document-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:20px;
    transition:.25s;
    box-shadow:var(--shadow);
}

.document-card:hover{
    transform:translateY(-2px);
}

.document-icon{
    width:55px;
    height:55px;
    border-radius:16px;
    background:linear-gradient(135deg,var(--primary),var(--primary-dark));
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:24px;
}

.timeline{
    position:relative;
    margin-top:15px;
}

.timeline::before{
    content:"";
    position:absolute;
    left:22px;
    top:0;
    width:3px;
    height:100%;
    background:linear-gradient(
        to bottom,
        var(--primary),
        #ffb3d9
    );
    border-radius:20px;
}

.timeline-item{
    position:relative;
    padding-left:65px;
    margin-bottom:28px;
}

.timeline-dot{
    width:18px;
    height:18px;
    border-radius:50%;
    background:var(--primary);
    border:4px solid #fff;
    box-shadow:0 0 0 3px rgba(230,0,126,.2);
    position:absolute;
    left:14px;
    top:8px;
}

.timeline-content{
    background:#fff;
    border-radius:18px;
    padding:18px 22px;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.timeline-content h6{
    margin-bottom:6px;
    font-weight:800;
    color:#222;
}

.timeline-content small{
    color:#777;
    display:block;
    margin-top:8px;
}

.premium-detail-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
    margin-top:20px;
}

.detail-box{
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:18px;
    box-shadow:var(--shadow);
}

.detail-box label{
    display:block;
    font-size:13px;
    color:#777;
    margin-bottom:6px;
    font-weight:600;
}

.detail-box p{
    margin:0;
    font-weight:700;
    color:#222;
}

.badge-folio{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 18px;
    border-radius:40px;
    background:#ffe4f1;
    color:var(--primary-dark);
    font-weight:900;
    font-size:14px;
    letter-spacing:.5px;
}

.empty-state{
    text-align:center;
    padding:50px 20px;
    color:#999;
}

.empty-state i{
    font-size:60px;
    margin-bottom:12px;
    color:#f0a4cb;
}

.action-buttons{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:25px;
}

.action-buttons .btn{
    border-radius:14px;
    padding:10px 18px;
    font-weight:700;
}

.search-input{
    width:380px;
    max-width:100%;
    border-radius:16px !important;
    border:1px solid var(--border) !important;
    padding:12px 18px !important;
    background:#fff !important;
}

.search-input:focus{
    border-color:var(--primary) !important;
    box-shadow:0 0 0 .2rem rgba(230,0,126,.12) !important;
}

.file-preview{
    display:flex;
    align-items:center;
    gap:12px;
}

.file-preview i{
    font-size:28px;
    color:var(--primary);
}

.file-preview span{
    font-weight:700;
    color:#333;
}

.card-hover{
    transition:.25s ease;
}

.card-hover:hover{
    transform:translateY(-3px);
}

.info-highlight{
    background:#fff5fa;
    border:1px dashed #f0a4cb;
    padding:14px 18px;
    border-radius:14px;
    color:#9b0055;
    font-weight:700;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:992px){

    .table-toolbar{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .search-input{
        width:100%;
    }

    .premium-detail-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .timeline::before{
        left:16px;
    }

    .timeline-dot{
        left:8px;
    }

    .timeline-item{
        padding-left:45px;
    }

    .action-buttons{
        flex-direction:column;
    }

    .action-buttons .btn{
        width:100%;
    }

}



/* =========================================
   SELECT2 PREMIUM
========================================= */

.select2-container--default .select2-selection--single{
    height:56px !important;
    border-radius:18px !important;
    border:1px solid var(--border) !important;
    padding:12px 14px !important;
    background:#fff !important;
    display:flex !important;
    align-items:center !important;
    box-shadow:none !important;
}

.select2-container--default .select2-selection--single:hover{
    border-color:var(--primary) !important;
}

.select2-container--default.select2-container--focus .select2-selection--single{
    border-color:var(--primary) !important;
    box-shadow:0 0 0 .2rem rgba(230,0,126,.12) !important;
}

.select2-container--default .select2-selection__rendered{
    color:#222 !important;
    line-height:normal !important;
    padding-left:0 !important;
    font-weight:600;
}

.select2-container--default .select2-selection__arrow{
    height:54px !important;
    right:12px !important;
}

.select2-dropdown{
    border-radius:18px !important;
    border:1px solid var(--border) !important;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.select2-search__field{
    border-radius:12px !important;
    border:1px solid #ddd !important;
    padding:10px !important;
}

.select2-results__option{
    padding:12px 16px !important;
    font-weight:600;
}

.select2-results__option--highlighted{
    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    ) !important;
}


.solicitudes-table{
    width:100%;
    border-collapse:separate;
    border-spacing:0 12px;
    margin:0;
}

.solicitudes-table thead th{
    background:var(--primary);
    color:white;
    padding:16px 14px;
    font-size:14px;
    font-weight:800;
    white-space:nowrap;
    border:none;
}

.solicitudes-table tbody tr{
    background:white;
    box-shadow:0 8px 22px rgba(224,0,122,.08);
}

.solicitudes-table tbody td{
    padding:18px 14px;
    vertical-align:middle;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    font-size:15px;
}

.solicitudes-table tbody td:first-child{
    border-left:1px solid var(--border);
    border-radius:16px 0 0 16px;
}

.solicitudes-table tbody td:last-child{
    border-right:1px solid var(--border);
    border-radius:0 16px 16px 0;
}

.folio-pill{
    display:inline-block;
    white-space:nowrap;
    background:var(--primary-light);
    color:var(--primary-dark);
    padding:8px 12px;
    border-radius:20px;
    font-weight:900;
    font-size:13px;
}

.person-cell strong{
    display:block;
    max-width:260px;
    line-height:1.35;
    font-size:15px;
}

.curp-text{
    white-space:nowrap;
    font-weight:700;
    font-size:14px;
}

.date-text{
    white-space:nowrap;
    font-weight:600;
}

.table-actions{
    display:flex;
    justify-content:center;
    gap:8px;
}

.btn-action{
    width:38px;
    height:38px;
    border-radius:12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    border:1px solid var(--border);
    transition:.2s;
}

.btn-action.view{
    color:var(--primary);
}

.btn-action.edit{
    color:#555;
}

.btn-action:hover{
    background:var(--primary);
    color:white;
    border-color:var(--primary);
}

/* =========================================
   LOGIN PREMIUM
========================================= */

.login-body{
    min-height:100vh;
    background:
        linear-gradient(
            135deg,
            #fff7fb 0%,
            #ffe5f3 100%
        );
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.login-wrapper{
    width:100%;
    max-width:460px;
}

.login-card{
    background:white;
    border-radius:32px;
    padding:45px;
    box-shadow:
        0 25px 60px rgba(224,0,122,.18);
    border:1px solid #ffd2e8;
}

.login-logo-container{
    text-align:center;
    margin-bottom:25px;
}

.login-logo{
    width:220px;
    max-width:100%;
    object-fit:contain;
}

.login-card h1{
    text-align:center;
    font-size:34px;
    font-weight:900;
    color:#111;
    margin-bottom:10px;
}

.login-subtitle{
    text-align:center;
    color:#777;
    font-size:18px;
    margin-bottom:35px;
}

.premium-input-group{
    border-radius:18px;
    overflow:hidden;
    border:1px solid #f3c5dc;
}

.premium-input-group .input-group-text{
    background:#fff0f7;
    border:none;
    color:var(--primary);
    font-size:20px;
    width:58px;
    justify-content:center;
}

.premium-input-group .form-control{
    border:none;
    min-height:58px;
    font-size:16px;
    font-weight:600;
}

.premium-input-group .form-control:focus{
    box-shadow:none;
}

.btn-login{
    width:100%;
    height:58px;
    border:none;
    border-radius:18px;
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );
    color:white;
    font-size:18px;
    font-weight:900;
    transition:.25s;
}

.btn-login:hover{
    transform:translateY(-2px);
    box-shadow:
        0 12px 25px rgba(224,0,122,.25);
    color:white;
}

/* =========================
   REUNIONES
========================= */

.stats-grid-system{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.stat-box-system{
    background:#fff;
    border:1px solid #f3bfd9;
    border-radius:22px;
    padding:25px;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.stat-box-system span{
    display:block;
    color:#777;
    margin-bottom:10px;
}

.stat-box-system h3{
    font-size:34px;
    font-weight:800;
    color:#e0007a;
}

.table-card-system{
    background:#fff;
    border-radius:28px;
    border:1px solid #f3bfd9;
    padding:30px;
    box-shadow:0 12px 30px rgba(0,0,0,.05);
}

.table-header-system{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    gap:20px;
    flex-wrap:wrap;
}

.search-input-system{
    width:340px;
    max-width:100%;
    height:52px;
    border-radius:18px;
    border:1px solid #f0bfd9;
    padding:0 18px;
    font-size:15px;
}

.table-system{
    width:100%;
    border-collapse:separate;
    border-spacing:0 14px;
}

.table-system thead th{
    background:#e0007a;
    color:#fff;
    padding:18px;
    font-size:15px;
}

.table-system thead th:first-child{
    border-radius:16px 0 0 16px;
}

.table-system thead th:last-child{
    border-radius:0 16px 16px 0;
}

.table-system tbody tr{
    background:#fff;
    box-shadow:0 5px 15px rgba(0,0,0,.04);
}

.table-system tbody td{
    padding:18px;
    border-top:1px solid #f6d3e6;
    border-bottom:1px solid #f6d3e6;
}

.table-system tbody td:first-child{
    border-left:1px solid #f6d3e6;
    border-radius:18px 0 0 18px;
}

.table-system tbody td:last-child{
    border-right:1px solid #f6d3e6;
    border-radius:0 18px 18px 0;
}

.badge-pink{
    background:#ffe4f2;
    color:#e0007a;
    padding:8px 16px;
    border-radius:50px;
    font-weight:700;
}

.actions-system{
    display:flex;
    gap:10px;
}

.btn-action-system{
    width:38px;
    height:38px;
    border-radius:12px;
    border:1px solid #f1bfd9;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#e0007a;
    text-decoration:none;
}

.form-card-system{
    background:#fff;
    border-radius:28px;
    border:1px solid #f3bfd9;
    padding:35px;
    box-shadow:0 12px 30px rgba(0,0,0,.05);
}

.form-section-title{
    font-size:28px;
    font-weight:800;
    color:#e0007a;
    margin-bottom:30px;
}

.input-system{
    border-radius:18px !important;
    border:1px solid #f1bfd9 !important;
    min-height:54px;
    padding:12px 18px !important;
}

.btn-primary-system{
    background:#e0007a;
    color:#fff;
    border:none;
    border-radius:18px;
    padding:14px 24px;
    text-decoration:none;
    font-weight:700;
}

.btn-secondary-system{
    background:#fff;
    color:#555;
    border:1px solid #f1bfd9;
    border-radius:18px;
    padding:14px 24px;
    text-decoration:none;
    font-weight:700;
}
/* Layout 3.2: reglas finales que prevalecen sobre el CSS anterior */
.sidebar {transition:width .24s ease,transform .24s ease;overflow-x:hidden;overflow-y:auto}
.sidebar-menu a {display:flex;align-items:center;gap:12px;white-space:nowrap}
.sidebar-menu a i {font-size:19px;min-width:22px;text-align:center}
.sidebar-menu a.active {background:rgba(255,255,255,.23);box-shadow:inset 3px 0 0 #fff}
.main-content {min-width:0;transition:margin-left .24s ease,width .24s ease}
.menu-toggle {display:inline-flex!important;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer}
.topbar {gap:16px}
.topbar > div:nth-of-type(1) {flex:1;min-width:0}
body.sidebar-collapsed .sidebar {width:84px;padding:18px 10px}
body.sidebar-collapsed .main-content {margin-left:84px;width:calc(100% - 84px)}
body.sidebar-collapsed .sidebar-logo {width:52px;padding:4px;border-radius:12px}
body.sidebar-collapsed .sidebar-brand {margin-bottom:22px}
body.sidebar-collapsed .brand-copy,body.sidebar-collapsed .nav-label {display:none}
body.sidebar-collapsed .sidebar-menu a {justify-content:center;padding:14px 8px}
body.sidebar-collapsed .sidebar-menu a i {font-size:23px}
.sidebar-backdrop {display:none}
@media(max-width:992px){
 .sidebar {position:fixed!important;top:0;left:0;width:270px!important;height:100dvh!important;transform:translateX(-105%);z-index:1100}
 .main-content,body.sidebar-collapsed .main-content {margin-left:0!important;width:100%!important}
 body.sidebar-collapsed .sidebar {padding:20px}
 body.sidebar-collapsed .brand-copy,body.sidebar-collapsed .nav-label {display:initial}
 body.sidebar-collapsed .sidebar-menu a {justify-content:flex-start;padding:13px 14px}
 body.sidebar-collapsed .sidebar-logo {width:150px;padding:10px}
 body.mobile-menu-open .sidebar {transform:translateX(0)}
 body.mobile-menu-open .sidebar-backdrop {display:block;position:fixed;inset:0;background:rgba(17,24,39,.48);z-index:1050}
 .topbar {flex-direction:row;flex-wrap:wrap;align-items:center}
 .topbar .user-box {width:auto}
}
@media(max-width:600px){.topbar{padding:12px 14px}.topbar h6{font-size:14px}.user-box span{display:none}}
@media(prefers-reduced-motion:reduce){.sidebar,.main-content{transition:none}}
