body,
html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #f0f0f0;
  height: 100%;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.btn {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0056b3;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  max-width: 600px;
  width: 100%;
  height: 0;
  transition: height 0.3s ease;
}

@media (max-width: 600px) {
  .modal {
    max-width: 100%;
  }
}

.modal-content {
  width: 100%;
  position: absolute;
  bottom: 0;
  background-color: #fff;
  padding: 20px 0;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.stars {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.star {
  font-size: 40px;
  color: #d3d3d3;
  cursor: pointer;
  transition: color 0.3s ease;
}

.star.selected,
.star:hover,
.star:hover ~ .star {
  color: #ffbf00;
}

.review-input {
  display: none;
  width: 100%;
  padding: 10px;
}

input[type="text"] {
  width: 90%;
  border: 1px solid #ddd;
  border-radius: 5px;
  resize: vertical;
  font-size: 16px;
  display: block;
  padding: 10px 0;
  margin: 0 auto;
  margin-bottom: 10px;
}

.popup {
  display: none;
  position: fixed;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  transition: bottom 0.3s ease;
}

.popup.show {
  bottom: 20px;
}
