body {
  background-image: url("../media/Kep1.jpg"); 
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  margin: 20px 0;
  font-family: 'Times New Roman', Times, serif;
}

.form-wrapper {
      background-color: var(--bg-elol);
      padding: 2rem;
      border-radius: 20px;
      box-shadow: 5px 5px 10px black;
      max-width: 800px;
      margin: 2rem auto;
    }

    fieldset {
      border: 2px solid var(--border-color);
      border-radius: 10px;
      padding: 1rem;
      margin-bottom: 1.5rem;
      background-color: var(--secondary-color);
    }

    legend {
      font-weight: bold;
      color: var(--text-color);
    }

    label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: bold;
    }

    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="url"],
    textarea {
      width: 100%;
      padding: 0.5rem;
      border-radius: 6px;
      border: 1px solid var(--border-color);
      box-sizing: border-box;
      margin-bottom: 1rem;
      font-size: 1rem;
    }

    textarea {
      height: 120px;
      resize: vertical;
    }

    .rating-stars {
      font-size: 1.2rem;
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .submit-buttons {
      text-align: center;
      margin-top: 1.5rem;
    }

    .submit-buttons input[type="submit"],
    .submit-buttons input[type="reset"] {
      background-color: var(--secondary-color);
      color: var(--text-color);
      border: 2px solid var(--text-color);
      border-radius: 8px;
      padding: 0.6rem 1.2rem;
      font-weight: bold;
      margin: 0 0.5rem;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .submit-buttons input:hover {
      background-color: var(--bg-color);
    }

    h1 {
      text-align: center;
      margin-top: 2rem;
      font-size: 2.2rem;
      color: var(--text-color);
    }
    .form-section {
  margin-top: 2rem;
  padding: 1rem;
  background-color: var(--bg-color);
  border-radius: 15px;
}

.form-box {
  background-color: var(--secondary-color);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--text-color);
  box-shadow: 3px 3px 8px rgba(0,0,0,0.2);
  border-radius: 10px;
}

.form-box h3 {
  margin-top: 0;
  color: var(--text-color);
  border-bottom: 1px solid var(--text-color);
  padding-bottom: 0.3rem;
  font-size: 1.2rem;
}

.form-box label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

input, select, textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.2rem;
  border: 1px solid #aaa;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}

input:focus, textarea:focus, select:focus {
  border-color: #6494ed;
  outline: none;
  box-shadow: 0 0 4px #6494ed99;
}

.form-buttons {
  text-align: center;
  margin-top: 2rem;
}

.form-buttons button {
  background-color: var(--link-active);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  margin: 0 0.5rem;
  transition: background-color 0.2s ease;
}

.form-buttons button:hover {
  background-color: #333;
}

.rating-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.rating-options input[type="radio"] {
  display: none;
}

.rating-options label {
  display: inline-block;
  background-color: lightgray;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  border: 2px solid transparent;
  transition: all 0.2s ease-in-out;
}

.rating-options input[type="radio"]:checked + label {
  background-color: var(--link-hover);
  color: white;
  border-color: var(--text-color);
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

.rating-options label:hover {
  background-color: var(--bg-elol);
}

