span {
  font-weight: 500;
}

p {
  font-size: 20px;
}

footer {
  margin-top: 0 !important;
}

.grey-container {
  padding: 60px 0;
  margin: 80px 0;
  background-color: #e5e5e5;
  border-radius: 16px;
}

.grey-container p:last-child {
  margin-top: 30px !important;
}

.p-container {
  width: 90%;
  margin: 0 auto;
}

.p-container p {
  margin-bottom: 1.5rem !important;
}

.material-symbols-outlined {
  vertical-align: middle !important;
  color: var(--theme-color) !important;
}

/* INTRO CONTAINER */

.intro-container {
  margin: 50px auto;
  width: 90%;
}

.grey-intro {
  background-color: #e5e5e5;
  border-radius: 16px 0 0 16px;
  height: 500px;
  padding: 40px;
}

.orange-intro {
  background-color: var(--theme-color);
  border-radius: 0 16px 16px 0;
  height: 500px;
}

.orange-intro button {
  color: white;
  border-radius: 25px;
  border: 0;
  padding: 10px 40px;
  background-color: #007884;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
}

.intro-img {
  width: 80%;
  display: flex;
  margin: 0 auto;
  justify-content: center;
}

.intro-img img {
  width: 60%;
}

.intro-btn {
  margin: 20px 0;
}

.orange-intro a {
  color: white !important;
}

.intro-btn button {
  border-radius: 16px;
  font-size: 16px;
  font-weight: 500;
}

.p-intro p {
  color: white;
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 600;
  margin: 20px 0;
}

/* FORM */

.form-section {
  width: 100%;
  background-color: var(--theme-color);
  padding: 40px 0;
  border-radius: 16px;
}

.grey-form-cont {
  background-color: var(--bg-primary);
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

button {
  background-color: var(--theme-color);
  color: white;
  border-radius: 25px;
  border: 0;
  padding: 10px 40px;
}

form label {
  font-size: 16px;
  color: var(--primary-text);
  font-weight: bold;
}

form input,
form select,
form textarea {
  border-radius: 16px;
  border: 0;
  background-color: var(--bg-secondary);
  padding: 10px 30px 10px 15px;
  width: 225px;
  height: 40px;
}

form textarea {
  height: 80px !important;
}

form input::placeholder,
select,
form textarea::placeholder {
  color: var(--text-placeholder);
  text-align: center;
  font-weight: 500;
  font-size: 13px !important;
}

option {
  color: black;
}

input {
  font-size: 16px !important;
}

form input[type="file"] {
  border-radius: 16px;
  border: 0;
  background-color: #efefef;
  padding: 10px;
  width: 225px;
  height: 40px;
  color: rgba(151, 151, 155, 0.32);
  font-weight: 500;
  font-size: 13px;
  text-align: center;
}

form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--theme-color);
  /* Cambia colore del checkbox */
}

form label a {
  color: #007bff;
  /* Colore link */
  text-decoration: none;
  font-weight: bold;
}

form label a:hover {
  text-decoration: underline;
}

.privacy-cont {
  width: 80%;
}

.privacy-cont label {
  text-align: center;
}

/* FILE UPLOAD */

.file-upload-wrapper {
  width: 90%;
  max-width: 400px;
  height: 200px;
  margin: 20px 0;
  border: 2px dashed var(--theme-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s;
}

.file-upload-wrapper:hover {
  background: rgba(0, 123, 255, 0.1);
}

.file-upload-wrapper i {
  font-size: 40px;
  color: var(--theme-color);
}

.file-upload-wrapper span {
  font-size: 16px;
  margin-top: 10px;
  color: #007bff;
}

#fileUpload {
  display: none;
}

/* legal p */

.legal-p {
  width: 90%;
  text-align: center;
  margin: 40px auto;
}

.legal-p p {
  font-size: 14px;
  font-weight: 300;
}

@media (min-width: 1024px) {
  .fst-p {
    margin-top: 50px !important;
  }

  .form-section {
    width: 80% !important;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 24px !important;
    padding: inherit !important;
  }

  .grey-form-cont {
    background-color: var(--bg-secondary);
    border-radius: 100px;
  }

  form {
    width: 70% !important;
    margin: 0 auto;
  }

  form input {
    width: 300px !important;
    background-color: var(--bg-primary) !important;
  }

  form textarea {
    width: 100% !important;
    background-color: var(--bg-primary) !important;
  }

  .privacy-cont {
    width: inherit !important;
    justify-content: center !important;
  }

  form input {
    width: 100% !important;
  }
}
