/* ========== SIDEBAR MENU STYLES ========== */

    /* Sidebar Overlay */
    .sidebar-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1040;
      display: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .sidebar-overlay.active {
      display: block;
      opacity: 1;
    }

    /* Sidebar Navigation */
    .sidebar-nav {
      position: fixed;
      top: 0;
      left: -30vw;
      width: 30vw;
      height: 100vh;
      background-color: #fff;
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
      z-index: 1050;
      transition: left 0.3s ease;
      overflow-y: auto;
      padding: 20px 0 0 0;
      display: flex;
      flex-direction: column;
    }

    .sidebar-nav.active {
      left: 0;
    }

    .sidebar-header {
      padding: 15px 20px;
      border-bottom: 1px solid #e0e0e0;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .sidebar-header h4 {
      margin: 0;
      font-size: 18px;
      color: rgb(7, 89, 133);
      font-weight: 600;
    }

    .sidebar-close {
      background: none;
      border: none;
      font-size: 24px;
      color: #666;
      cursor: pointer;
      padding: 0;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .sidebar-close:hover {
      color: rgb(7, 89, 133);
    }

    .sidebar-menu {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .sidebar-menu>li {
      border-bottom: 1px solid #f0f0f0;
    }

    .sidebar-menu>li>a {
      display: block;
      padding: 15px 20px;
      color: #333;
      text-decoration: none;
      font-weight: 500;
      transition: background-color 0.2s;
    }

    .sidebar-menu>li>a:hover {
      background-color: #f5f5f5;
      color: rgb(7, 89, 133);
    }

    .sidebar-menu>li>a i {
      margin-right: 10px;
      width: 20px;
      text-align: center;
    }

    .sidebar-menu>li.has-submenu>a {
      position: relative;
      padding-right: 40px;
    }

    .sidebar-menu>li.has-submenu>a::after {
      content: '\f107';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      right: 20px;
      transition: transform 0.3s;
    }

    .sidebar-menu>li.has-submenu.open>a::after {
      transform: rotate(180deg);
    }

    .sidebar-submenu {
      list-style: none;
      padding: 0;
      margin: 0;
      background-color: #f8f9fa;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }

    .sidebar-menu>li.has-submenu.open .sidebar-submenu {
      max-height: 500px;
    }

    .sidebar-submenu li a {
      display: block;
      padding: 12px 20px 12px 40px;
      color: #555;
      text-decoration: none;
      font-size: 14px;
      transition: background-color 0.2s;
    }

    .sidebar-submenu li a:hover {
      background-color: #e9ecef;
      color: rgb(7, 89, 133);
    }

    /* Logout položka na spodku */
    .sidebar-logout {
      margin-top: auto;
      padding: 0.5rem 0 0.5rem 0;
      background-color: #ddd;
    }

    .sidebar-logout > li {
      border-bottom: none;
    }

    .sidebar-logout > li > a {
      color: #333;
      font-weight: 600;
    }

    .sidebar-logout > li > a:hover {
      color: rgb(7, 89, 133);
      background-color: #ddd !important;
    }

    /* Hamburger Button */
    .hamburger-btn {
      position: fixed;
      top: 2rem;
      left: 2rem;
      background: none;
      border: none;
      cursor: pointer;
      padding: 10px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 55px;
      height: 40px;
      z-index: 100;
      transition: all 0.3s ease;
    }

    .hamburger-btn:hover {
      transform: scale(1.1);
    }

    .hamburger-btn span {
      width: 100%;
      height: 3px;
      background-color: rgb(7, 89, 133);
      border-radius: 2px;
      transition: all 0.3s;
    }

    .hamburger-btn:hover span {
      background-color: rgb(5, 73, 110);
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .sidebar-nav {
        width: 80vw;
        left: -80vw;
      }

      .hamburger-btn {
        top: 1rem;
        left: 1rem;
        width: 35px;
        height: 35px;
      }
    }