/* Container for the feedback form */
.feedback-form-container {
  width: 95%;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
}

/* Form headings */
.feedback-form-container h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

/* Form headings */
.feedback-form-container p {
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
}

.feedback-form-container h3 {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

/* Form labels */
.feedback-form-container label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

/* Star rating system */
.rating {
  display: flex;
  direction: rtl;
  justify-content: space-between;
  width: 150px;
  margin-bottom: 15px; /* Added margin to align with other inputs */
}

.rating input {
  display: none;
}

.rating label {
  font-size: 30px;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.rating input:checked ~ label,
.rating label:hover,
.rating label:hover ~ label {
  color: #f39c12; /* Gold color for selected stars */
}

.rating input:checked + label:hover,
.rating input:checked ~ label:hover,
.rating label:hover ~ input:checked ~ label {
  color: #f39c12;
}

/* Textarea styling */
.feedback-form-container textarea {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  font-size: 16px;
  box-sizing: border-box;
  height: 100px;
  resize: vertical;
}

/* Checkbox styling */
.feedback-form-container input[type="checkbox"] {
  transform: scale(1.3);
  margin-right: 10px;
}

.feedback-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap; /* Ensures responsiveness on small screens */
}

/* Submit and Cancel buttons */
.feedback-form-container button {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  margin-right: 10px;
  margin-top: 10px;
}

.feedback-form-container button[type="submit"] {
  background-color: #0d315e;
  color: white;
}

.feedback-form-container button[type="submit"]:hover {
  background-color: #0056b3;
}

.feedback-form-container button[type="button"] {
  background-color: #6c757d;
  color: white;
}

.feedback-form-container button[type="button"]:hover {
  background-color: #5a6268;
}

.comments {
    width: 600px; /* Adjust the width as needed */
    word-wrap: break-word; /* Ensures long words or URLs are broken to the next line */
    white-space: normal; /* Allows text to wrap to the next line */
    overflow-wrap: break-word; /* Breaks words at any character if needed */
    padding: 10px; /* Optional: Adds padding inside the element */
    border: 1px solid #ccc; /* Optional: Adds a border around the comments */
    background-color: #f9f9f9; /* Optional: Sets a background color */
    border-radius: 5px; /* Optional: Adds rounded corners */
	margin: 0 auto; /* Center the comment box horizontally */
    text-align: justify; /* Align the text evenly across the width */
}


#feedbackDetailsContainer {
    max-height: 400px; /* Adjust height as needed */
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.feedback-entry {
    margin-bottom: 20px;
}

.feedback-entry h4 {
    margin: 0 0 5px;
    color: #333;
}

.feedback-entry p {
    margin: 5px 0;
    color: #666;
}

.feedback-header {
    display: flex; /* Use flexbox */
    flex-direction: column; /* Arrange items vertically */
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically within the container */
    text-align: center; /* Center text */
    gap: 10px; /* Space between the logo and the heading */
    margin-bottom: 10px; /* Add space below the header */
}

.feedback-header img {
  height: 50px;          /* Give it a specific height */
  width: auto; 
  display: inline-block; /* Ensure the image is displayed */
}


.feedback-header h2 {
    font-size: 25px; /* Adjust font size */
    margin: 0; /* Remove any default margin */
    color: #333; /* Consistent text color */
    font-weight: bold; /* Bold text */
}

/* ✅ Large Desktops (min-width: 1920px) */
@media (min-width: 1920px) {
  .feedback-form-container {
    max-width: 1000px;
    font-size: 20px;
    padding: 28px;
  }

  .feedback-header img {
    height: 60px;          /* Give it a specific height */
    width: auto; 
    display: inline-block; /* Ensure the image is displayed */
  }

  .feedback-header h2 {
    font-size: 28px;
  }

  .feedback-form-container h3 {
    font-size: 20px;
  }

  .feedback-form-container p,
  .feedback-form-container label,
  .feedback-form-container textarea {
    font-size: 20px;
  }

  .rating {
    width: 170px;
  }

  .rating label {
    font-size: 30px;
  }

  .feedback-form-container button {
    font-size: 22px;
    padding: 12px 24px;
  }

  .feedback-form-container input[type="checkbox"] {
    transform: scale(1.5);
  }

  .feedback-entry h4 {
    font-size: 20px;
  }

  .feedback-entry p {
    font-size: 20px;
  }

  .comments {
    width: 800px;
    font-size: 20px;
  }

}

/* ✅ Standard Laptops (max-width: 1280px) */
@media (max-width: 1280px) {
  .feedback-form-container {
    font-size: 16px;
    padding: 20px;
  }

  .feedback-header img {
    height: 40px;          /* Give it a specific height */
    width: auto; 
    display: inline-block; /* Ensure the image is displayed */
  }

  .feedback-header h2 {
    font-size: 24px;
  }

  .feedback-form-container h3 {
    font-size: 17px;
  }

  .feedback-form-container p,
  .feedback-form-container label,
  .feedback-form-container textarea {
    font-size: 16px;
  }
  
  .rating {
    width: 130px;
  }

  .rating label {
    font-size: 22px;
  }

  .feedback-form-container button {
    font-size: 16px;
    padding: 9px 18px;
  }

  .feedback-form-container input[type="checkbox"] {
    transform: scale(1.2);
  }

  .feedback-entry h4 {
    font-size: 16px;
  }

  .feedback-entry p {
    font-size: 16px;
  }

  .comments {
    width: 95%;
    font-size: 15px;
  }
}

/* ✅ Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .feedback-form-container {
    font-size: 14px;
    padding: 16px;
  }

  
.feedback-header img {
  height: 30px;          /* Give it a specific height */
  width: auto; 
  display: inline-block; /* Ensure the image is displayed */
}

  .feedback-header h2 {
    font-size: 20px;
  }

  .feedback-form-container h3 {
    font-size: 16px;
  }

  .feedback-form-container p,
  .feedback-form-container label,
  .feedback-form-container textarea {
    font-size: 14px;
  }

  .rating {
    width: 110px;
  }

  .rating label {
    font-size: 20px;
  }

  .feedback-form-container button {
    font-size: 14px;
    padding: 8px 16px;
  }

  .comments {
    width: 100%;
    font-size: 14px;
  }

  .feedback-form-container input[type="checkbox"] {
    transform: scale(1);
  }

  .feedback-entry h4 {
    font-size: 15px;
  }

  .feedback-entry p {
    font-size: 15px;
  }

}