* {
      box-sizing: border-box;
    }

    body {
      overflow-x: hidden;
      margin: 0;
    }
    

    .sidebar-wrapper {
      position: fixed;
      top: 56px;
      bottom: 0;
      left: 0;
      width: 200px;
      background-color: #eeeeee;
      overflow-y: auto;
      z-index: 1030;
    }

    .sidebar .nav-link {
      color: #000000;
    }

    .sidebar .nav-link:hover {
      background-color: #495057;
      color: #ffffff;
    }

    .content-area {
      margin-left: 100px;
      padding: 0.5rem;
      margin-top: 56px;
      transition: margin-left 0.3s ease-in-out;
    }

    /* Responsive para móviles */
    @media (max-width: 767.98px) {
      
#logo {
  margin-left: 40px;
}
      .sidebar-wrapper {
        position: absolute;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        width: 250px;
        z-index: 1040;
      }

      .sidebar-wrapper.show {
        transform: translateX(0);
      }

      .content-area {
        margin-left: 0;
      }

      .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 1035;
        display: none;
      }

      .sidebar-wrapper.show ~ .overlay {
        display: block;
      }
    }

    /* Ajustes para tablets y laptops */
    @media (min-width: 768px) and (max-width: 991.98px) {
      .sidebar-wrapper {
        width: 200px;
      }

      .content-area {
        margin-left: 200px;
      }
    }

    @media (min-width: 992px) and (max-width: 1199.98px) {
      .sidebar-wrapper {
        width: 220px;
      }

      .content-area {
        margin-left: 200px;
      }
    }

    #toggleSidebar {
      position: fixed;
      top: 10px;
      left: 10px;
      z-index: 1050;
    }