/* Feedback Section Styles */
.feedback-section {
  padding: 80px 0;
  background-color: #f9f7f4;
  position: relative;
  overflow: hidden;
}

.feedback-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  z-index: 0;
}

.feedback-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.feedback-content {
  flex: 1;
  min-width: 300px;
}

.feedback-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-family: 'Playfair Display', serif;
}

.feedback-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
}

.feedback-form-container {
  flex: 1;
  min-width: 300px;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feedback-form .form-group {
  margin-bottom: 20px;
}

.feedback-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.feedback-form .btn-block {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  margin-top: 10px;
}

/* Star Rating Styles */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  margin-top: 10px;
}

.star-rating input {
  display: none;
}

.star-rating label {
  cursor: pointer;
  font-size: 1.8rem;
  color: #ddd;
  padding: 0 0.1em;
  display: inline-block;
  margin: 0;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #ffb400;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .feedback-container {
    flex-direction: column;
  }

  .feedback-content,
  .feedback-form-container {
    width: 100%;
  }

  .feedback-section {
    padding: 60px 0;
  }

  .feedback-content h2 {
    font-size: 2rem;
  }
}

/* Feedback Message Styles */
.feedback-message {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  z-index: 1000;
  animation: slide-in 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feedback-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.feedback-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.feedback-message-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feedback-message i {
  font-size: 1.5rem;
}

.feedback-message.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Login Modal Styles */
.feedback-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.feedback-modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.feedback-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.feedback-modal-close:hover {
  color: #333;
}

.feedback-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}
