/* Add this class to show the modal */
.Modal2.show {
  display: block;
}


/* Joborder.css */
.public-sans-page {
  font-family: 'Public Sans', sans-serif !important;
}


.Modal2 {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  /* Prevents background scrolling */
  display: flex;
  justify-content: center;
  align-items: center;
}


.Modal2-content {
  background-color: white;
  margin: 8% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  max-height: 80vh;
  /* Limits height to 80% of the viewport */
  overflow-y: auto;
  /* Enables vertical scrolling if content exceeds height */
  position: relative;
}


.Modal2-content {
  position: absolute;
  top: 0%;
  /* Decrease this value to move it up */
  left: 35%;
  transform: translate(-50%, -50%);
}


.Modal2.show .Modal2-content {
  transform: translateY(0);
}

.modal-header {
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}


.collapsed .logo img {
  display: block !important;
}

.logo2 {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  position: relative;
  top: 10px;
  left: -21px;
}


.side-nav.collapsed .nav-links li a {
  display: flex;
  justify-content: center;
  /* Centers the icon */
  align-items: center;
  /* Centers vertically */
  width: 100%;
  padding: 10px 0;
}

.side-nav.collapsed .nav-links li a span {
  display: none;
  /* Hide text when collapsed */
}


.side-nav .nav-toggle img {
  width: 24px;
  height: 24px;
  margin-left: 10px;
  transition: all 0.3s ease;
  /* Smooth transition */
}

