/* Confirm Place Overlay */
.confirmPlace {
  position: fixed;
  top: -200vh;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 64, 128, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  overflow-y: auto;
  z-index: 1000;
  padding: 16px;
}
.confirmPlace.Final {
  top: -0vh;
}
/* Confirm Place Container */
.confirmPlace .ADDB {
  background: white;
  padding: 32px;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  position: relative;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  animation: slideIn 0.3s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes slideIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Verification Text */
.confirmPlace .verification-text {
  color: #004080;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  padding: 0 20px;
}

/* Input Buttons */
.confirmPlace input[type="button"],
.confirmPlace input[type="submit"] {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 12px;
}

.confirmPlace input[type="button"] {
  background: transparent;
  color: #004080;
  border: 1px solid #004080;
}

.confirmPlace input[type="button"]:hover {
  background: rgba(0, 64, 128, 0.1);
}

.confirmPlace input[type="submit"] {
  background: #004080;
  color: white;
  border: none;
}

.confirmPlace input[type="submit"]:hover {
  background: #009E60;
}

/* Final Class for Confirm Place */
.confirmPlace.Final .ADDB {
  background: #f0f8ff;
  border: 1px solid #004080;
}

/* Answer Section */
.confirmPlace .an_answer {
  margin-bottom: 15px;
  text-align: left;
  width: 100%;
}

.confirmPlace .an_answer h6 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: #004080;
  font-weight: 600;
}

.confirmPlace .an_answer input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  font-size: 14px;
  color: #333;
}

/* Mobile optimizations */
@media (max-width: 480px) {
  .confirmPlace {
      padding: 16px;
  }

  .confirmPlace .ADDB {
      padding: 24px 16px;
      border-radius: 8px;
      max-width: 100%;
  }

  .confirmPlace .verification-text {
      font-size: 14px;
      padding: 0 8px;
  }

  .confirmPlace input[type="button"],
  .confirmPlace input[type="submit"] {
      padding: 10px;
      font-size: 14px;
  }

  .confirmPlace .an_answer h6 {
      font-size: 14px;
  }

  .confirmPlace .an_answer input[type="text"] {
      font-size: 12px;
      padding: 8px;
  }
}