/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  transition: top 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: start;
  padding-top: 50px;
}

/* Khi popup được mở */
.popup-overlay.active {
  top: 0;
}

/* Nội dung popup */
.popup-content {
  background: linear-gradient(to right, #0023ff, #60aaff);
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 700px;
  position: relative;
  animation: slideDown 0.5s ease;
}

.popup-content h2 {
  text-align: center;
  color: white;
  font-size: 28px;
  margin-bottom: 10px;
}

.popup-content p {
  text-align: center;
  color: white;
  margin-bottom: 20px;
}

/* Form */
.popup-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.popup-form .row {
  display: flex;
  gap: 10px;
}

.popup-form input,
.popup-form textarea {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
}

.popup-form button {
  background: white;
  color: #0044ff;
  padding: 10px;
  font-weight: bold;
  border: 2px solid white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.popup-form button:hover {
  background: #0044ff;
  color: white;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Slide down animation */
@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
