/* Styling for the feedback form */
.form-container {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
  }
  
  .form-header {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .form-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
  }
  
  .form-subtitle {
    margin-top: 10px;
    color: #666;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .form-input {
    margin-top: 5px;
  }
  
  .form-textarea,
  .form-textbox {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
  }

  .form-textarea {
    height: 150px;
    resize: vertical;
  }
  
  .radio-group {
    display: flex;
    flex-wrap: wrap;
  }
  
  .radio-item {
    margin-right: 10px;
  }
  
  .name-input {
    display: flex;
    gap: 10px;
  }
  
  .form-textbox {
    flex: 1;
  }
  
  .submit-button-tell {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    font-size: 18px;
    padding: 12px 24px;
  }
  .btn-primary{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 36px;
  }


  /* Add the following CSS rules */

.mood-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
  }
  
  .mood-rating .mood-face {
    font-size: 30px;
    cursor: pointer;
  }
  
  .mood-rating .mood-face:hover {
    transform: scale(1.1);
  }
  
  .mood-rating .vsad:hover{
    transform: scale(1.1);
  }
  .mood-rating .sad:hover{
    transform: scale(1.2);
  }
  .mood-rating .neutral:hover{
    transform: scale(1.3);
  }
  .mood-rating .happy:hover{
    transform: scale(1.4);
  }
  .mood-rating .vhappy:hover{
    transform: scale(1.5);
  }

  .mood-rating .mood-face.active {
    border: 2px solid #000;
    border-radius: 50%;
    padding: 3px;
    box-sizing: content-box;
  }
  
  
  .faq-section {
    position: relative;
  }

/* Submit */
section.active .show-modal {
  display: none;
}

.overlay {
  position: fixed;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  width: 90%;
  padding: 30px;
  margin: 0;
  border-radius: 24px;
  background-color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

section.active .overlay {
  opacity: 1;
  pointer-events: auto;
}

section.active .modal-box {
  opacity: 1;
  pointer-events: auto;
}

.modal-box i {
  font-size: 70px;
  color: #4070f4;
}

.modal-box h2 {
  margin-top: 20px;
  font-size: 25px;
  font-weight: 500;
  color: #333;
}

.modal-box h3 {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  text-align: center;
}

.modal-box .close {
  margin-top: 25px;
}

@media (min-width: 768px) {
  .modal-box {
    max-width: 380px;
  }
}

@media screen and (max-width: 480px) {
  .modal-box {
    width: 90%;
    max-width: 320px;
    padding: 20px;
  }

  .modal-box h2 {
    font-size: 20px;
  }

  .modal-box h3 {
    font-size: 14px;
  }

  .modal-box .close {
    margin-top: 15px;
  }
}
