/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* [data-elementor-type='wp-page'] {
  overflow-x: hidden;
} */

.surtitre {
  margin-bottom: -10px !important;
}
@media all and (max-width: 767px) {
  .surtitre {
    margin-bottom: -5px !important;
  }
}

.fond {
  user-select: none;
  pointer-events: none;
  z-index: -1;
}

/* Form soumission */

.e-form__indicators.e-form__indicators--type-number_text {
  display: none;
}

.ed-stepper {
  display: inline-flex;
  align-items: center;
}
.ed-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.ed-dot.active {
  background: #2e9e72;
  border-color: #2e9e72;
  color: #fff;
}
.ed-dot.current {
  background: #2e9e72;
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(46, 158, 114, 0.35);
}
.ed-line {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
}
.ed-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 0%;
  background: #2e9e72;
  transition: width 0.4s ease;
}
.ed-line.done::after {
  width: 100%;
}

#soumission_form {
  padding: 50px;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
  border-radius: 15px;
}

#soumission_form .label-step {
  font-size: 2.2rem;
}

#soumission_form .elementor-field-label {
  margin-bottom: 10px;
}

#soumission_form .elementor-field-type-upload .elementor-field-label {
  margin-bottom: 30px;
}

#soumission_form .elementor-field-type-checkbox .elementor-field-subgroup {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* #soumission_form .elementor-field-type-checkbox .elementor-field-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 10px 15px;
  border: 2px solid #ededed;
  border-radius: 8px;
} */
span.elementor-field-option {
  position: relative;
}
#soumission_form .elementor-field-type-checkbox .elementor-field-option {
  display: flex;
  align-items: center;
  /* gap: 0.5rem; */
}
#soumission_form .elementor-field-type-checkbox .elementor-field-option input {
  position: absolute;
  left: 15px;
}
#soumission_form .elementor-field-type-checkbox .elementor-field-option label {
  content: '';
  width: 100%;
  height: 100%;
  background: white;
  padding: 10px 15px;
  padding-left: 40px;
  border: 2px solid #ededed;
  border-radius: 8px;
}

#soumission_form .elementor-field-textual {
  background: #fff;
  border: 2px solid #ededed;
  border-radius: 8px;
  padding: 10px 15px;
}

#soumission_form .elementor-field-type-checkbox .elementor-field-option input {
  accent-color: var(--e-global-color-primary);
}

#soumission_form .e-form__buttons {
  justify-content: flex-end;
  margin-top: 50px;
}

#soumission_form .e-form__buttons:has(.elementor-field-type-previous) {
  justify-content: space-between;
  margin-top: 50px;
}

.elementor-field-group-field_2e76f67 input[type='file'] {
  display: none;
}

.elementor-field-group-field_2e76f67 {
  position: relative;
  min-height: 170px;
}

.elementor-field-group-field_2e76f67::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1.5px dashed #c8c5be;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  box-sizing: border-box;
}

.elementor-field-group-field_2e76f67 label {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #3d3d3a;
  cursor: pointer;
  box-sizing: border-box;
}

.elementor-field-group-field_2e76f67 label::before {
  content: '';
  display: block;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background-color: #9ca8a0;
  mask-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 489.4 489.4'%3E%3Cpath d='M382.4,422.75h-79.1H282h-4.6v-106.1h34.7c8.8,0,14-10,8.8-17.2l-67.5-93.4c-4.3-6-13.2-6-17.5,0l-67.5,93.4c-5.2,7.2-0.1,17.2,8.8,17.2h34.7v106.1h-4.6H186H94.3c-52.5-2.9-94.3-52-94.3-105.2c0-36.7,19.9-68.7,49.4-86c-2.7-7.3-4.1-15.1-4.1-23.3c0-37.5,30.3-67.8,67.8-67.8c8.1,0,15.9,1.4,23.2,4.1c21.7-46,68.5-77.9,122.9-77.9c70.4,0.1,128.4,54,135,122.7c54.1,9.3,95.2,59.4,95.2,116.1C489.4,366.05,442.2,418.55,382.4,422.75z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 489.4 489.4'%3E%3Cpath d='M382.4,422.75h-79.1H282h-4.6v-106.1h34.7c8.8,0,14-10,8.8-17.2l-67.5-93.4c-4.3-6-13.2-6-17.5,0l-67.5,93.4c-5.2,7.2-0.1,17.2,8.8,17.2h34.7v106.1h-4.6H186H94.3c-52.5-2.9-94.3-52-94.3-105.2c0-36.7,19.9-68.7,49.4-86c-2.7-7.3-4.1-15.1-4.1-23.3c0-37.5,30.3-67.8,67.8-67.8c8.1,0,15.9,1.4,23.2,4.1c21.7-46,68.5-77.9,122.9-77.9c70.4,0.1,128.4,54,135,122.7c54.1,9.3,95.2,59.4,95.2,116.1C489.4,366.05,442.2,418.55,382.4,422.75z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
}

.elementor-field-group-field_2e76f67 label::after {
  content: 'Formats acceptés : JPG, PNG\A Plusieurs fichiers autorisés';
  white-space: pre;
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #9ca8a0;
  text-align: center;
  line-height: 1.6;
}

.elementor-field-group-field_2e76f67 label.has-files {
  justify-content: flex-start;
  align-items: stretch;
  padding: 16px;
  gap: 8px;
}

.ed-file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f5f3ee;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.ed-file-icon {
  min-width: 38px;
  height: 38px;
  background: #9ca8a0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.ed-file-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  flex: 1;
}

.ed-file-name {
  font-size: 13px;
  font-weight: 500;
  color: #3d3d3a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ed-file-size {
  font-size: 11px;
  color: #9ca8a0;
}

.ed-file-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca8a0;
  font-size: 13px;
  padding: 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s;
}

.ed-file-remove:hover {
  color: #d85a30 !important;
  background-color: transparent !important;
}

.ed-file-add {
  font-size: 12px;
  color: #9ca8a0;
  text-align: center;
  padding: 8px;
  cursor: pointer;
  border-top: 1px dashed #c8c5be;
  margin-top: 4px;
  transition: color 0.2s;
}

.ed-file-add:hover {
  color: #3d3d3a !important;
  background: transparent !important;
}

.elementor-field-group-field_2e76f67 label.has-files::before,
.elementor-field-group-field_2e76f67 label.has-files::after {
  display: none;
}
