.ORmenu-bar {
    position: sticky;
    width: 15%;
    min-width: 200px;
    height: 96vh;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    justify-content: space-between; /* Distribute content between top and bottom */
    top: 15px; /* Add explicit top positioning */
    z-index: 10; /* Ensure it stays above other content */
  }

  .ORmenu-bar:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
  }
  
  /* Branding/logo */
  .ORlogo {
    text-align: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .ORlogo:hover {
    transform: scale(1.05);
  }
  
  .ORlogo img {
    width: 72%;
    max-width: 140px;
    border-radius: 50%;
    border: 1px solid #000;
    display: block;
    margin: 0 auto 12px;
  }
  
  .ORlogo p {
    font-size: 22px;
    font-weight: 800;
    color: #6F4F37;
    margin: 0;
  }
  
  /* top group of buttons (Menu, Orders, etc) */
  .ORmenu-btn,
  .ORorder-btn,
  .ORmenu-top-btn { /* optional shared class if you add it later */
    width: 100%;
    height: 48px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    margin: 6px 0;
    padding: 0 14px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    border: none;
  }
  
/* visual styles */
/* Base styles for all buttons */
.ORmenu-btn,
.ORorder-btn,
.ORuserpoints-btn,
.ORprofile-btn {
  width: 100%;
  height: 48px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  margin: 6px 0;
  padding: 0 14px;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  font-weight: 700;
  background: #D9D9D9;    /* default = gray */
  color: #6F4F37;         /* default = brown text */
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Hover effects for menu buttons */
.ORmenu-btn:hover,
.ORorder-btn:hover,
.ORuserpoints-btn:hover,
.ORprofile-btn:hover {
  background: #6F4F37;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 79, 55, 0.3);
}

/* Active (highlighted) button */
.ORmenu-bar .ORmenu-btn.active,
.ORmenu-bar .ORorder-btn.active,
.ORmenu-bar .ORuserpoints-btn.active,
.ORmenu-bar .ORprofile-btn.active {
  background: #6F4F37 !important;
  color: #fff !important;
}

  
  
  /* Bottom group wrapper for Profile and Logout */
  .ORmenu-bottom-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto; /* Push to bottom */
  }

  /* Profile button styling */
  .ORprofile-btn {
    margin-top: auto;   /* removed auto margin */
  }
  
  .ORlogout {
    width: 100%;
    height: 44px;
    border-radius: 28px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    border: 1px solid #eee;
    margin-top: 8px;    /* small gap between profile & logout */
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .ORlogout:hover {
    background: #f8f9fa;
    border-color: #6F4F37;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  }
  
  /* link styles inside buttons */
  .ORprofile a,
  .ORlogout a,
  .ORorder-btn a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
  }

  @media only screen and (max-width: 1023px) {

    .ORmenu-bar {
        width: 100%;
        min-width: unset;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: auto;
        border-radius: 12px;
        margin-bottom: 15px;
      }
    
      /* Ensure all buttons have equal width on tablet */
      .ORmenu-btn,
      .ORorder-btn,
      .ORuserpoints-btn,
      .ORprofile-btn {
        width: 120px;
        height: 40px;
        padding: 0 12px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    
      .ORlogo {
        margin-bottom: 0;
      }
    
      .ORlogo img {
        width: 60px;
        max-width: 80px;
      }

    
      .ORprofile,
      .ORlogout {
        margin-top: 0;
        width: 120px; /* fixed width for consistency */
        height: 40px;
        padding: 0 12px;
      }
  }

  @media only screen and (max-width: 768px) {

    .ORmenu-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 buttons per row */
        gap: 8px;
        padding: 12px;
        border-radius: 12px;
        text-align: center;
        justify-items: center;
        align-items: center;
      }
    
      /* Logo centered */
      .ORlogo {
        grid-column: span 2;
        margin-bottom: 10px;
        text-align: center;
      }
    
      .ORlogo img {
        width: 55px;
        max-width: 70px;
        border-radius: 50%;
        margin: 0 auto 6px;
        display: block;
      }
    
      .ORlogo p {
        font-size: 15px;
        font-weight: 700;
        color: #6F4F37;
        margin: 0;
      }
    
      /* ===== BUTTONS (Menu, Orders, User Points, Profile, Logout) ===== */
      .ORmenu-btn,
      .ORorder-btn,
      .ORuserpoints-btn,
      .ORprofile,
      .ORlogout {
        width: 100%;
        max-width: 120px;   /* equal width for all buttons */
        height: 38px;       /* shorter height */
        font-size: 13px;
        padding: 0 10px;
        border-radius: 20px; /* less rounded */
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;     /* center buttons */
      }
    
      .ORprofile-btn {
        background: #D9D9D9;
        border: none;
        font-weight: 700;
        color: #6F4F37;
        font-size: 13px; /* Match other buttons */
      }
    
      .ORlogout {
        border: 1px solid #ddd;
        background: #fff;
        font-weight: 600;
        grid-column: 1 / -1; /* span full width to center */
        justify-self: center; /* center within the grid cell */
      }

  }

  @media only screen and (max-width: 480px) {
    .ORmenu-bar {
      flex-wrap: wrap;
      justify-content: center;
    }
}