



  
  
  /* Sidebar toggle button */
  .open-btn {
    font-size: 2.4rem;
    cursor: pointer;
    position: fixed;
    top: 20px;
    left: 20px;
    color: rgb(0, 0, 0);
    z-index: 1000;
    user-select: none;
  }
  .open-btn:hover {
    color: #555;
  }
  /* Sidebar Base */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100%;
    background: #ffffff;
    padding: 20px;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: Arial, sans-serif;
    z-index: 1000;
  }
  
  /* Sidebar Links */
  .sidebar .menu a {
    display: block;
    padding: 12px 15px;
    margin: 5px 0;
    color: #333;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease;
  }
  .sidebar.hide {
    display: none!important;
  }
  .sidebar .menu a:hover {
    background: #f2f2f2;
  }
  
  /* Dropdown */
  .dropdown {
    margin-top: 15px;
  }
  
  .dropdown-btn {
    width: 100%;
    padding: 12px 15px;
    font-size: 1.1rem;
    text-align: left;
    border: none;
    background: #f7f7f7;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
  }
  
  .dropdown-btn:hover {
    background: #e9e9e9;
  }
  
  .dropdown-content {
    display: none;
    flex-direction: column;
    margin-top: 5px;
  }
  
  .dropdown-content a {
    padding: 10px 15px;
    font-size: 1rem;
    background: #fafafa;
    border-radius: 6px;
    margin: 3px 0;
  }
  
  .dropdown-content a:hover {
    background: #eaeaea;
  }
  
  /* Show Dropdown when active */
  .dropdown.open .dropdown-content {
    display: flex;
  }
  
  /* Footer (Sign Out) */
  .sidebar-footer {
    margin-top: auto;
    margin-bottom: 30px;
    padding-top: 20px;
  }
  
  .signout-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    border: none;
    background: #e74c3c;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  
  .signout-btn:hover {
    background: #c0392b;
  }
  /* Toggle Container */
  .toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px;
    background: #f7f7f7;
    border-radius: 8px;
    font-size: 1rem;
  }
  
  /* Switch (Light/Dark Toggle) */
  .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 34px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    border-radius: 50%;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
  }
  
  input:checked + .slider {
    background-color: #333;
  }
  
  input:checked + .slider:before {
    transform: translateX(26px);
  }