/* Style for the navigation links */

body {
  margin: 0 10px;
  padding: 10px;

}
.mynav{
    border-bottom: 2px 2px 2px  black;
    margin: 0px 10px;
}
.chnav {
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: bold;
    box-shadow: 2px 2px 2px purple;
    margin: 0 5px;
}

.chnav:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    color: white; /* Text color change when hovering */
}

/* Style for the login button */
.chnavbtn {
    transition: transform 0.3s ease;
    box-shadow: 2px 2px 2px purple;
}

.chnavbtn:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    background-color: #0056b3; /* Optional: Change background color on hover */
}
/* side bar  */
.sidebar {
    width: 280px;
    background: #fff;
    border-right: 1px solid #ddd;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  .btn.btn-toggle {
    background-color: #007bff;
    color: white;
    font-size: 18px;
    padding: 12px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }
  .btn.btn-toggle:hover {
    background-color: #0056b3;
  }
  .btn.btn-toggle i {
    transition: transform 0.3s ease;
  }
  .btn.btn-toggle.collapsed i {
    transform: rotate(0);
  }
  .btn.btn-toggle:not(.collapsed) i {
    transform: rotate(180deg);
  }
  .btn-toggle-nav li a {
    display: block;
    color: #333;
    font-size: 16px;
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  .btn-toggle-nav li a:hover {
    background-color: #e9ecef;
    color: #007bff;
  }
  .content {
    margin-left: 300px; /* Adjust based on sidebar width */
    padding: 20px;
    flex-grow: 1;
  }
  .sidebar {
    height: 100vh;
    position: fixed;
    top: 70px;
    left: 0;
    width: 280px;
    border-right: 1px solid #ddd;
    padding: 20px;
    background-color: #fff;
    overflow-y: auto;
}
.main-content {
    margin-left: 300px; /* Sidebar width + margin */
    margin-top: 70px; /* Adjust to match header height */
}

/* login popup */
/* Popup container */
#loginPopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Blurred background effect */
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup content */
