*,:before,:after{box-sizing:border-box}body{background:#f3f4f6;margin:0;font-family:system-ui,sans-serif}#menuSide{background:var(--primary-color);color:#f1f5f9;z-index:1000;flex-direction:column;width:280px;height:100vh;transition:transform .3s;display:flex;position:fixed;top:0;left:0;overflow-y:auto}#bodySide{width:calc(100% - 280px);min-height:100vh;padding:20px;transition:left .3s,width .3s;position:relative;left:280px}.menu_toggle{z-index:1100;color:#f1f5f9;cursor:pointer;background:#1e293b;border:none;border-radius:8px;justify-content:center;align-items:center;width:42px;height:42px;font-size:18px;display:none;position:fixed;top:14px;left:14px;box-shadow:0 2px 8px #0003}.overlay{z-index:999;background:#00000080;display:none;position:fixed;inset:0}.overlay.active{display:block}.menu_header{border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;gap:8px;padding:16px 20px;display:flex}.menu_header_content{flex:1;min-width:0;overflow:hidden}.menu_header h2{color:#f1f5f9;white-space:nowrap;text-overflow:ellipsis;margin:0 0 4px;font-size:15px;font-weight:700;overflow:hidden}.menu_header p{color:#94a3b8;margin:0;font-size:12px}.menu_compact_btn,.menu_close_btn{color:#94a3b8;cursor:pointer;background:#ffffff14;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:12px;transition:background .2s,color .2s;display:flex}.menu_compact_btn:hover,.menu_close_btn:hover{color:#f1f5f9;background:#ffffff26}.menu_close_btn{display:none}@media (width<=1199px){.menu_compact_btn{display:none}}#menuSide.compact{width:64px}#menuSide.compact .menu_header{justify-content:center;padding:16px 8px}#menuSide.compact .menu_header_content{display:none}#menuSide.compact .menu_item{justify-content:center;padding:12px 8px}#menuSide.compact .menu_item span,#menuSide.compact .menu_item .fa-chevron-down{display:none}#menuSide.compact .menu_item i:first-child{width:auto;font-size:17px}#menuSide.compact .menu_profile_item{justify-content:center;padding:12px 8px}#menuSide.compact .cont_profile_name_rol,#menuSide.compact .profile_arrow{display:none}#menuSide.compact .submenu{display:none!important}#menuSide.compact.compact-expanded{z-index:1050;width:280px;box-shadow:4px 0 16px #0003}#menuSide.compact.compact-expanded .menu_header{justify-content:space-between;padding:16px 20px}#menuSide.compact.compact-expanded .menu_header_content{display:block}#menuSide.compact.compact-expanded .menu_item{justify-content:flex-start;padding:12px 20px}#menuSide.compact.compact-expanded .menu_item span{display:inline}#menuSide.compact.compact-expanded .menu_item .fa-chevron-down{display:inline-block}#menuSide.compact.compact-expanded .menu_item i:first-child{width:18px;font-size:15px}#menuSide.compact.compact-expanded .menu_profile_item{justify-content:flex-start;padding:12px 20px}#menuSide.compact.compact-expanded .cont_profile_name_rol{display:flex}#menuSide.compact.compact-expanded .profile_arrow{display:inline-block}#menuSide.compact.compact-expanded .submenu{display:none}#menuSide.compact.compact-expanded .submenu.active{display:flex!important}.menu_items{flex-direction:column;flex:1;padding:12px 0;display:flex;overflow-y:auto}.menu_main_items{flex:1;padding:10px}.menu_item{color:#cbd5e1;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:12px;width:100%;margin-bottom:5px;padding:12px 20px;font-size:14px;font-weight:500;text-decoration:none;transition:all .3s;display:flex}.menu_item:hover{background:var(--secondary-color);color:#f1f5f9}.menu_item.active{color:#f1f5f9;background:#3498db33;border-left:4px solid #3498db;border-radius:0 8px 8px 0}.menu_item i:first-child{text-align:center;flex-shrink:0;width:18px;font-size:15px}.menu_item span{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.submenu{background:#705209;flex-direction:column;display:none}.submenu.active{display:flex}.submenu_item{color:#94a3b8;padding:9px 20px 9px 50px;font-size:13px;text-decoration:none;transition:background .15s,color .15s;display:block}.submenu_item:hover{background:var(--secondary-color);color:#f1f5f9}.submenu_item.active{color:#f1f5f9;font-weight:600}.menu_profile_section{border-top:1px solid #ffffff1a;border-bottom:1px solid #ffffff1a;padding:8px 0}.menu_profile_item{color:#cbd5e1;align-items:center;gap:12px;padding:12px 20px;text-decoration:none;transition:background .15s;display:flex}.menu_profile_item:hover{background:#ffffff1a}.menu_profile_item.active{background:#1d4ed8}.profile_avatar{background:#3b82f6;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex;overflow:hidden}.profile_avatar img{object-fit:cover;width:100%;height:100%}.avatar_initial{color:#fff;text-transform:uppercase;font-size:16px;font-weight:700}.cont_profile_name_rol{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.profile_name{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500;display:block;overflow:hidden}.profile_arrow{color:#64748b;flex-shrink:0;font-size:12px}.menu_bottom_items{padding:8px 0}#menuSide::-webkit-scrollbar{width:4px}#menuSide::-webkit-scrollbar-track{background:0 0}#menuSide::-webkit-scrollbar-thumb{background:#334155;border-radius:2px}@media (width<=1199px){.menu_toggle{display:flex}#menuSide{transform:translate(-100%)}#menuSide.active{transform:translate(0)}#bodySide{width:100%;padding-top:70px;left:0}}@media (width>=1200px){.menu_toggle{display:none}#menuSide{transition:transform .3s,width .3s;transform:translate(0)!important}}.topbar{z-index:100;box-sizing:border-box;justify-content:center;align-items:center;width:100%;height:64px;padding:0 20px;display:flex;position:relative}.topbar_logo{justify-content:center;align-items:center;display:flex}.topbar_logo img{object-fit:contain;width:auto;height:42px}.topbar_actions{align-items:center;gap:8px;display:flex;position:absolute;top:50%;right:20px;transform:translateY(-50%)}.notif_wrapper{position:relative}.notif_btn{cursor:pointer;color:#64748b;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-size:18px;transition:background .15s,color .15s;display:flex;position:relative}.notif_btn:hover{color:#1e293b;background:#f1f5f9}.notif_badge{color:#fff;pointer-events:none;background:#ef4444;border-radius:999px;justify-content:center;align-items:center;min-width:17px;height:17px;padding:0 4px;font-size:10px;font-weight:700;line-height:1;display:flex;position:absolute;top:4px;right:4px}.notif_badge.hidden{display:none}.notif_dropdown{z-index:2000;background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;width:320px;animation:.15s notifFadeIn;display:none;position:absolute;top:calc(100% + 10px);right:0;overflow:hidden;box-shadow:0 8px 24px #0000001f}.notif_dropdown.open{display:flex}@keyframes notifFadeIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.notif_header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:14px 16px 10px;display:flex}.notif_header h4{color:#1e293b;margin:0;font-size:14px;font-weight:600}.notif_mark_all{color:#3b82f6;cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;font-weight:500}.notif_mark_all:hover{text-decoration:underline}.notif_list{flex:1;max-height:320px;overflow-y:auto}.notif_list::-webkit-scrollbar{width:4px}.notif_list::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:2px}.notif_item{cursor:pointer;border-bottom:1px solid #f8fafc;align-items:flex-start;gap:12px;padding:12px 16px;transition:background .1s;display:flex}.notif_item:last-child{border-bottom:none}.notif_item:hover{background:#f8fafc}.notif_item.unread{background:#eff6ff}.notif_item.unread:hover{background:#dbeafe}.notif_icon{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:15px;display:flex}.notif_icon.info{color:#2563eb;background:#dbeafe}.notif_icon.success{color:#16a34a;background:#dcfce7}.notif_icon.warning{color:#ca8a04;background:#fef9c3}.notif_icon.error{color:#dc2626;background:#fee2e2}.notif_content{flex:1;min-width:0}.notif_title{color:#1e293b;white-space:nowrap;text-overflow:ellipsis;margin:0 0 2px;font-size:13px;font-weight:600;overflow:hidden}.notif_text{color:#64748b;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}.notif_time{color:#94a3b8;margin-top:4px;font-size:11px;display:block}.notif_dot{background:#3b82f6;border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:4px}.notif_empty{text-align:center;color:#94a3b8;padding:32px 16px;font-size:13px}.notif_empty i{opacity:.5;margin-bottom:8px;font-size:28px;display:block}.notif_footer{text-align:center;border-top:1px solid #f1f5f9;padding:10px 16px}.notif_footer a{color:#3b82f6;font-size:12px;font-weight:500;text-decoration:none}.notif_footer a:hover{text-decoration:underline}
