  /* Header */
  header {
    background: linear-gradient(130deg, #1793f8, #7700fe);
    color: white;
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    animation: slideDown 1s ease-out;
    position: relative;
  }
  .logo img{
    height: 200px;
    cursor: pointer;
    position: relative;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  

  
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
  }
.nav-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
  }
  .headerDonateButton{
    background-image: linear-gradient(150deg, #66baea, #114588);
    width: 150px;
    height: 40px;
    border: none;
    border-radius: 5px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    color: white;
    font-weight: 200;
    font-size: 18px;
    z-index: 20;
  }
  
  .nav-buttons button {
    background: linear-gradient(150deg, #66baea, #114588);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
  }
  .nav-buttons button svg{
    fill: white;
    padding-right: 5px;
  }
  .nav-buttons a {
    text-decoration: none;
  }
  
  .nav-buttons button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }


  textarea {
    text-align: left;
    width: 100%;
    max-width: 600px;
    height: 120px;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: 'Segoe UI', sans-serif;
    border: 1.5px solid #ccc;
    border-radius: 10px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    display: none;
  }
  
  textarea:focus {
    border-color: #00b4d8;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 180, 216, 0.3);
  }
  
  /* BACKDROP */
.donatePopupBackdrop {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

/* POPUP CONTAINER */
.donatePopup {
  background: white;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.4s ease;
}

.donatePopup h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: #333;
  text-align: center;
}

/* CONTENT AREA */
.inputForDonation {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inputForDonation label {
  font-weight: 600;
  color: #333;
}

/* PRODUCT SELECTOR */
.inputForDonation h4 {
  text-align: center;
  color: black;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.switchToDescriptionButton{
  cursor: pointer;
}

/* PRODUCT LIST */
.productOptions {
  list-style: none;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 8px;
}

.productOption {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 12px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.productOption:hover {
  background-color: #f3f3f3;
}

.productOption img {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.productOption h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  color: #444;
}
.searchProduct{
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}
.cancelDonationButton, .submitDonationButton {
  background: linear-gradient(120deg, #7ed957, #4caf50);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.cancelDonationButton{
  background: linear-gradient(120deg, #d95757, #af4c4c);
}
.cancelDonationButton:hover{
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.submitDonationButton:hover {
  background: linear-gradient(120deg, #6ccf45, #43a047);
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* INPUT FIELD */
.donationItemCount {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.donationItemCount:focus {
  border-color: #00c6ff;
}
/* Mobile Menu Button (hamburger) */
.mobile-menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
}

/* Mobile Sidebar (hidden by default) */
.mobile-nav-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100vh;
  width: 260px;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease;
  padding: 20px;
  z-index: 9998;
  overflow-y: auto;
  background-color: rgba(255, 255, 255, 0.678);
  backdrop-filter: blur(3px);
}

/* When sidebar is open */
.mobile-nav-sidebar.open {
  left: 0;
}

/* Style mobile nav buttons separately */
.mobile-nav-buttons a button,
.mobile-nav-buttons button {
  display: flex;
  justify-content: left;
  align-items: center;
  width: 100%;
  position: relative;
  top: 40px;
  margin-bottom: 12px;
  padding: 12px 16px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(to right, #74b9ff, #0984e3);
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}
.mobile-nav-buttons a{
  text-decoration: none;
}
.mobile-nav-buttons button svg{
  margin-right: 10px;
  fill: white;
}
.mobile-nav-buttons a button:hover,
.mobile-nav-buttons button:hover {
  background: #0984e3;
}

/* Only show mobile nav on small screens */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  .nav-buttons {
    display: none;
  }
  .mobile-nav-sidebar {
    display: block;
  }
}

/* On larger screens hide the mobile sidebar entirely */
@media (min-width: 769px) {
  .mobile-nav-sidebar {
    display: none !important;
  }
  
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
