.sidebar { width: 250px; height: 100%; background-color: #bcdaef; display: flex; flex-direction: column; } .logo-container { text-align: center; } .logo-image-container { position: relative; display: inline-block; margin-bottom: 0.5rem; } .logo-image { width: 100%; height: auto; display: block; margin: 0 auto; } .version-badge { position: absolute; top: 0; right: 20px; background-color: #0088cc; color: white; border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: bold; } .logo-text { font-size: 1.5rem; font-weight: bold; color: #0a2847; margin-bottom: 0.25rem; } .logo-subtitle { font-size: 0.7rem; color: #0a2847; max-width: 180px; margin: 0 auto; line-height: 1.2; } .separator { height: 1px; background-color: #a3c5e6; margin: 0 0.5rem; } .menu-container { padding: 0.5rem 0; flex: 1; overflow-y: auto; height: 100%; } .sidebar-menu { list-style: none; padding: 0; margin: 0; } .menu-item { margin: 2px 0; padding: 0 0.5rem; /* Añadimos padding lateral al ítem */ } .menu-link { display: flex; align-items: center; padding: 0.75rem 1rem; color: #0a2847; text-decoration: none; transition: background-color 0.2s, box-shadow 0.3s; border-left: 3px solid transparent; border-radius: .25rem; width: calc(100% - 1rem); /* Reducimos el ancho para crear margen */ } .menu-link:hover { background-color: #a2c9ec !important; } .menu-icon { margin-right: 0.75rem; width: 1.25rem; text-align: center; color: #0a2847; } .menu-text { font-size: 0.9rem; } .menu-item.active .menu-link { background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%) !important; border-left: 3px solid white !important; color: #706f6f !important; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24) !important; margin: 0 auto; /* Centra el elemento */ }