/*** STEPS **/

.steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.step {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d5dbe5;
    margin: 0 15px;
}

.step:last-child::after {
    content: "";
    flex: 1;
    height: 0px;
    background:#ffffff;
    margin: 0 15px;
}

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #d5dbe5;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    vertical-align: baseline;
}

.step.valid .step-number {
    background-color: #f37331!important;
    border-color: #f37331!important;
    color: transparent!important;
    position: relative;
}

.step.valid .step-number::after {
  content: "✓";
  color: white!important;
  position: absolute;
}

.step.active .step-number {
    background: #163c8c;
    color: #fff;
    border-color: #163c8c;
    vertical-align: baseline;
}

.step-title {
    margin-left: 12px;
    color: #4a5875;
    font-weight: 500;
    white-space: nowrap;
    vertical-align: baseline;
}

/* Mobile : masquer les titres */
@media (max-width: 768px) {
    .step-title {
        display: none;
    }
    .steps {
        padding: 15px 10px;
    }
    .step {
        justify-content: center;
    }
    .step:not(:last-child)::after {
        margin: 0 10px;
    }
}

.form-step,
.form-step-title {
  text-align: left;
}

.form-step-title * {
  font-weight: 500!important;
  color: rgb(243, 115, 49);
}

.form-row {
    display: flex;
    align-items: center;
    position: relative;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    .field {
        width: 100%;
    }
}

.field {
  text-align: left;
  flex: 1;
}

.next-btn,
.prev-btn {
  background-color: #ffffff;
  border-radius: 5px!important;
}

.right {
  text-align: right;
}

.form-step:not(.active) {
  display: none;
}

/*** ALERT ***/

.alert-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 10px;
  padding: 14px 16px;
  font-family: Arial, sans-serif;
  color: #1f3b57;
  margin-bottom: 20px;
}

.blue {
  background: #eaf3ff;
  border: 1px solid #b9d7ff;
}

.orange {
  background: #fbf0eb;
  border: 1px solid #f1cab6;
}

.alert-content {
  width: 100%;
}

.alert-icon {
  font-size: 18px;
  margin-top: 2px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid #000000;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
    flex-shrink: 0;
    vertical-align: baseline;
}

.orange > .alert-icon {
    color: #db703b;
    border: 2px solid #db703b;
}

.alert-title {
  font-weight: 600;
  margin: 0 0 6px 0;
  font-size: 14px;
  text-align: left!important;
}

.alert-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #355a78;
  text-align: left!important;
}

/**/

.field{
    flex:1;
    margin-bottom:20px;
}

.hidden {
  display: none;
}

.lowercase {
    text-transform: none!important;
}

/* Champs */
.wpcf7 input[type="text"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    height: 48px;
    border: 1px solid #d7dde7;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 16px;
}

/* Radio Oui / Non */
.wpcf7-form-control.wpcf7-radio {
    display: flex;
    gap: 12px;
}

.wpcf7-form-control.wpcf7-radio label:has(input:checked) {
    background-color: #f37331;
    color: #ffffff;
    border-color: #f37331;
}

.wpcf7-radio .wpcf7-list-item {
    margin: 0;
    flex: 1;
}

.wpcf7-radio .wpcf7-list-item label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border: 1px solid #d7dde7;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 600;
}

.wpcf7-radio input[type="radio"] {
    margin-right: 8px;
    display: none;
}

/* Upload */
.wpcf7 input[type="file"] {
    width: 100%;
    padding: 40px 20px;
    border: 2px dashed #d7dde7;
    border-radius: 16px;
    background: #fafbfc;
}

/* Texte aide */
.cf7-help {
    margin-top: 6px;
    color: #6b7280;
    font-size: 13px;
}

.wpcf7-submit:hover {
    opacity: .9;
}

.cf7-checkbox-wrapper {
    background: #eef0f3;
    border: 1px solid #d9dde3;
    border-radius: 18px;
    padding: 20px;
    max-width: 100%;
    margin-bottom: 20px;
}

.cf7-checkbox-wrapper hr {
    border: 0;
    border-top: 1px solid #d9dde3;
    margin: 15px 0;
}

.cf7-checkbox-wrapper label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #5b6574;
    font-size: 16px;
    line-height: 1.4;
    cursor: pointer;
    margin-bottom: 15px;
}

.cf7-checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.cf7-checkbox-wrapper a {
    color: #1f3b73;
    text-decoration: underline;
}

.cf7-select-all {
    font-weight: 700;
    color: #1f2b3d;
}

.required {
    color: #d93025;
    font-weight: 700;
}

.wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-form-control-wrap {
    display: block;
}

