body.modal-open {
  overflow: hidden;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 999;
}

#overlay.show {
  opacity: 1;
  visibility: visible;
}

#privacyModal {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  min-height: 40vh;
  background-color: #121928;
  color: #fff;
  padding: 20px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
  transition: bottom 0.6s ease-in-out;
  z-index: 1000;
  display: flex;
}

#privacyModal.show {
  bottom: 0;
  min-height: 280px;
}

.privacy-content {
  flex: 1;
  padding: 40px;
}

.privacy-content h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #fff;
}

.privacy-content p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.privacy-buttons {
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  border-left: 2px solid #333;
  padding: 30px;
}

.privacy-buttons h2 {
  color: #fff;
}

.privacy-buttons button {
  padding: 10px 20px;
  margin-right: 15px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.agree {
  background-color: orange;
  color: white;
}

.disagree {
  background-color: #333;
  color: #ccc;
}

.customize {
  background: none;
  color: #39c;
  text-decoration: underline;
  cursor: pointer;
  border: none;
  text-align: center;
  margin: 0 auto;
}

@media (max-width: 768px) {
  #privacyModal {
    height: 70vh;
    flex-direction: column;
  }
  .privacy-content {
    padding: 20px;
  }
  .privacy-buttons {
    padding: 20px;
    width: 100%;
    border: none;
  }
}
