body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f0f0f0;
}

.feedback-container {
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: white;
  max-width: 800px;
  width: 100%;
  text-align: center;
  /* Center text within the container */
}

.feedback-container img {
  display: block;
  /* Make the image a block element to center it */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.feedback-container h2,
.feedback-container h1 {
  margin: 0 auto 20px;
  /* Center headings and add consistent spacing */
}

.rating {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.rating input {
  display: none;
}

.rating label {
  font-size: 3rem;
  /* Increased font size */
  margin: 0 5px;
  cursor: pointer;
  padding: 2px;
  /* Added padding */
}

/* Star Colors */
.rating label[for="star1"] {
  color: red;
}

.rating label[for="star2"] {
  color: orange;
}

.rating label[for="star3"] {
  color: yellow;
}

.rating label[for="star4"] {
  color: lightgreen;
}

.rating label[for="star5"] {
  color: green;
}

/* Selected Star Styles */
.rating input:checked+label {
  border: 3px solid;
  /* Increased border width */
  padding: 0;
  /* Removed padding to prevent shifting */
}

.rating input#star1:checked+label {
  border-color: #fff;
}

.rating input#star2:checked+label {
  border-color: #fff;
}

.rating input#star3:checked+label {
  border-color: #fff;
}

.rating input#star4:checked+label {
  border-color: #fff;
}

.rating input#star5:checked+label {
  border-color: #fff;
}


.form-group {
  margin-bottom: 15px;
  width: 100%;
  max-width: 800px;
  /* Increased width */
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  /* Increased padding */
  font-size: 1.2rem;
  /* Increased font size */
  border: 2px solid #ccc;
  /* Increased border width */
  border-radius: 8px;
  /* Increased border radius */
  box-sizing: border-box;
  /* Ensures padding is included in width */
}

.form-actions {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
  /* Increased width */
}

.form-actions button {
  padding: 12px 24px;
  /* Increased padding */
  font-size: 1.2rem;
  /* Increased font size */
  cursor: pointer;
  border: none;
  border-radius: 8px;
  /* Increased border radius */
}

.submit-btn {
  background-color: #4CAF50;
  color: white;
}

.clear-btn {
  background-color: #f44336;
  color: white;
}

h2 {
  color: #458fcc;
}

h1 {
  color: #213555;
  text-transform: capitalize;
}

img {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
}

/* Simple modal styles */
#otpModal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#otpModalContent {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  width: 300px;
  text-align: center;
}

#otpModalContent input {
  width: 80%;
  padding: 8px;
  margin: 10px 0;
  font-size: 1rem;
}

#otpModalContent button {
  padding: 8px 12px;
  margin: 0 5px;
  font-size: 1rem;
}

.form-group select#languageSelect {
  font-size: 1.2rem;
  border: 2px solid #0078d7;
  background-color: #e5f1fb;
  padding: 10px;
  border-radius: 5px;
  color: #333;
  outline: none;
}

.form-group label[for="languageSelect"] {
  font-size: 1.2rem;
  color: #0078d7;
  margin-bottom: 8px;
}


#thankYouMessage {
  font-size: large;
  color: #032725;
  font-weight: 600;
}

@media (max-width: 600px) {
  .rating {
    flex-direction: row;
  }

  .rating label {
    margin: 5px 0;
  }

  .form-group,
  .form-actions {
    max-width: 100%;
  }
}

