/* Stilizare pași formular */
.form-step-1, .form-step-2, .form-step-3, .form-step-4 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.next-step-btn {
    margin-top: 20px;
}

/* Stilizare text introductiv */
.form-introduction {
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #333;
}

.form-introduction p {
  margin: 10px 0;
}

/* Stilizare casete radio */
.radio-options input[type="radio"] {
  display: none !important;
}

@media (min-width: 1024px) {
  /* Mărim dimensiunea casetelor și ajustăm spațiul */
  .radio-options {
    justify-content: space-between; /* Ajustează distribuția pe toată lățimea */
  }
  
  .radio-options .option-box {
    width: 250px; /* Mărim casetele */
  }
  
  .radio-options label {
    margin-right: 20px; /* Ajustează spațiul dintre casete */
  }

  .radio-options label:last-child {
    margin-right: 0; /* Eliminăm marginea dreaptă pentru ultima casetă */
  }
}

.radio-options {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.radio-options label {
  cursor: pointer;
}

.option-box {
  border: 1px solid #339af0!important;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  transition: all 0.3s ease;
  width: 150px;
}

.option-box i {
  color: #228be6!important;
  margin-bottom: 10px;
}

.option-box p {
  font-size: 18px;
  font-weight: bold;
}

.radio-options input:checked + .option-box {
  border-color: #339af0;
  background-color: #fff;
}

.option-box:hover {
  border-color: #228be6;
}

/* Stilizare buton pentru trecerea între pași */
.next-step-btn, .next-step-1, .next-step-2, .next-step-3 {
  background-color: #228be6 !important; /* Prioritate pentru fundal */
  color: white !important; /* Prioritate pentru culoarea textului */
  padding: 15px 30px;
  font-size: 18px;
  border: none !important; /* Eliminăm bordura implicită */
  border-radius: 8px;
  cursor: pointer;
  display: block;
  margin: 20px auto;
  transition: background-color 0.3s ease;
}

.next-step-btn:hover, .next-step-1:hover, .next-step-2:hover, .next-step-3:hover {
  background-color: #228be6 !important; /* Prioritate pentru hover */
}

@media (max-width: 768px) {
  .next-step-btn {
    width: 100%;
  }
}

/* Stilizare câmpuri text și telefon (Pasul 2 și 3) */
input[type="text"], input[type="tel"], textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #228be6;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus, input[type="tel"]:focus, textarea:focus {
  border-color: #228be6!important;
}

textarea {
  resize: vertical;
  height: 150px;
}

@media (max-width: 768px) {
  input[type="text"], input[type="tel"], textarea {
    font-size: 14px;
    padding: 10px;
  }
}

.step-2-introduction, .step-3-introduction {
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  font-family: 'Arial', sans-serif;
}

.step-2-introduction p, .step-3-introduction p {
  margin: 10px 0;
}

@media (max-width: 768px) {
  .step-2-introduction, .step-3-introduction {
    font-size: 16px;
  }
}

/* Recapitulare */
.recapitulare p {
  font-size: 16px;
  margin-bottom: 10px;
}

.recapitulare strong {
  color: #228be6;
}

/* Stilizare buton "Revino la Pasul 1" */
.back-to-step-1 {
  background-color: #f44336;
  color: white;
  padding: 15px 30px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  margin: 10px auto;
  transition: background-color 0.3s ease;
}

.back-to-step-1:hover {
  background-color: #e53935;
}

/* Stilizare text explicativ */
.form-step-4 p {
  font-size: 16px;
  margin-top: 10px;
  text-align: center;
}

/* Stilizare buton trimite */
input[type="submit"] {
  background-color: #228be6!important;
  color: white!important;
  padding: 15px 30px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  margin: 20px auto;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #1c7ed6!important;
}

/* Răspuns Contact Form 7 */
.wpcf7-response-output {
  background-color: #1c7ed6; /* Culoare verde pentru succes */
  color: white; /* Text alb */
  padding: 15px; /* Spațiu interior */
  border-radius: 8px; /* Colțuri rotunjite */
  font-size: 16px; /* Mărimea textului */
  margin-top: 20px; /* Spațiu deasupra */
  text-align: center; /* Aliniere pe centru */
}

.wpcf7-response-output.wpcf7-validation-errors {
  background-color: #f44336; /* Culoare roșie pentru erori */
  color: white;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
  background-color: #1c7ed6; /* Verde pentru succes */
  color: white;
}

.wpcf7 .wpcf7-form-control-wrap {
  width: 100%;
  display: flex;
	justify-content: center;}

.wpcf7 .wpcf7-form-control-wrap.recaptcha {
  width: 100%;
  display: flex;
  justify-content: center; /* Centrează reCAPTCHA pe orizontală */
}

/* ============================================
   FILE UPLOAD STYLING - 5 inputs
   ============================================ */

/* Label pentru upload */
.upload-label {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

/* Container pentru upload-uri */
.upload-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 15px 0;
}

/* Stilizare input file */
input[type="file"] {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 10px;
  border: 1px dashed #228be6;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  color: #333;
  cursor: pointer;
}

input[type="file"]:hover {
  border-color: #1c7ed6;
  background-color: rgba(34, 139, 230, 0.05);
}

input[type="file"]:focus {
  border-color: #228be6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 139, 230, 0.15);
}

/* Text ajutător sub upload-uri */
.upload-hint {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-top: 5px;
}

@media (max-width: 768px) {
  input[type="file"] {
    font-size: 13px;
    padding: 10px 12px;
  }
}