label {
  display: block;
  margin-bottom: 5px;
  font-family: sans-serif;
  font-size: 13px;
  font-weight: bold;
}

.btn {
  display: flex;
  max-width: 250px;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

#slide1 .btn {
  display: flex;
  max-width: 250px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

input,
select,
textarea {
  width: 100%;
  max-width: 250px;
  margin-bottom: 15px;
  min-height: 30px;
  border: 1px solid #dfdfdf;
  border-radius: 3px;
  padding: 5px 10px;
}

.cta {
  width: 100%;
  max-width: 250px;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: bold;
  border: none;
  padding: 15px;
  border-radius: 30px;
  background-color: rgb(187, 187, 187);
  cursor: pointer;
  text-align: center;
  margin-top: 20px;
  color: #000000;
}

input[type="submit"] {
  background-color: #9AC240;
  color: #ffffff;
  width: calc(250px - 67px);
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.prev {
  width: calc(47px - 30px);
  margin-bottom: 15px;
}

.error {
  border: 1px solid #fc5e71;
}

.next {
  background-color: #f89827;
  color: #ffffff;
}

.hide {
  display: none;
}

#error-message-1 {
  font-family: sans-serif;
  color: #fc5e71;
  font-weight: bold;
  font-size: 14px;
}

label span {
  font-family: sans-serif;
  color: #fc5e71;
}

/* Styles pour le champ téléphone amélioré */
    .phone-container {
        display: flex;
        gap: 8px;
        align-items: stretch;
    }

    .country-select {
        position: relative;
        min-width: 60px;
    }

    #countryCode {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background: white;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 12px 30px 12px 12px;
        font-size: 20px;
        cursor: pointer;
        width: 100%;
        height: 48px;
        box-sizing: border-box;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 8px center;
        background-size: 16px;
    }

    #countryCode:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
    }

    .phone-input-wrapper {
        position: relative;
        flex: 1;
    }

    .country-code-display {
        position: absolute;
        left: 12px;
        top: 40%;
        transform: translateY(-50%);
        color: #999;
        pointer-events: none;
        font-size: 14px;
        z-index: 1;
        background: white;
        padding: 0 4px;
    }

    #phone.with-prefix {
        padding-left: 50px;
        height: 48px;
        box-sizing: border-box;
    }

    #phone {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 16px;
        box-sizing: border-box;
        height: 48px;
    }

    #phone:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
    }
	
	select {
    min-height: 42px;
    max-width: 272px;
	}

	#phone {
    max-width: 200px;
	}

    /* Responsive */
    @media (max-width: 480px) {
        .phone-container {
            flex-direction: column;
            gap: 10px;
        }
        
        .country-select {
            min-width: auto;
        }
        
        #phone.with-prefix {
            padding-left: 12px;
        }
        
        .country-code-display {
            display: none;
        }
    }
	
	.civi {
    display: flex;
    align-items: center;
    column-gap:50px
}

.radio {
    display: flex;
    align-items: center;
    column-gap:10px
}

input[type="radio"] {
    max-width: 30px;
}