﻿
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 10px;
  background-color: white;
}


@media (max-width: 330px) 
{
  body {
    padding: 10px;
  }

  .form-container {
    padding: 5px;
  }
}

#dv_no_revente
{
  font-size:9px;
  font-style: italic;
  text-align: center;
}

#lbl_preinscription 
{
  font-size: 11px;
  text-align: center;
  display:none;
}

.form-container {
  background-color: #fff;
  padding: 5px;
  border-radius: 8px;
  max-width: 380px;
  margin: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 5px;
  margin-left: 2px;
  margin-right: 2px;
  width: 98%;
  font-size: 14px;
}
/*
label {
  display: block;
  margin-bottom: 6px;
}
*/

.required-star {
  color: red;
  margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
#txt_nom,
#txt_prenom {
  width: 100px;
  padding: 1px 1px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 11px;
  background-color: #DCDCDC36;
}
#txt_entreprise {
  width: 150px;
  padding: 1px 1px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 11px;
  background-color: #DCDCDC36; 
}

#txt_cp_entreprise {
  width: 50px;
  padding: 1px 1px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 11px;
  background-color: #DCDCDC36;
}

input.error {
  border-color: red;
  background-color: #ffeaea;
}

.error-message {
  color: red;
  font-size: 11px;
  margin-top: 5px;
}

/* Style de base pour le label */
.custom-checkbox {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

  /* Cacher l'input checkbox */
  .custom-checkbox input {
    display: none;
  }

  /* Style de la case à cocher */
  .custom-checkbox .checkbox {
    width: 12px;
    height: 12px;
    border: 2px solid #FF5B00;
    border-radius: 4px;
    margin-right: 10px;
    transition: background-color 0.3s, border-color 0.3s;
  }

  /* Coche blanche à l'intérieur */
  .custom-checkbox input:checked + .checkbox {
    background-color: #FF5B00;
    border-color: #FF5B00;
  }

    /* Ajout de la coche blanche quand la case est cochée */
    /* Créer la coche en forme de "V" */
    .custom-checkbox input:checked + .checkbox::after {
      content: '';
      display: block;
      position: absolute;
      top: 6px;
      left: 4px;
      width: 8px;
      height: 5px;
      border-left: 2px solid white;
      border-bottom: 2px solid white;
      transform: rotate(-45deg);
    }

  /* Assurer que la checkbox interagit bien avec le label */
  .custom-checkbox input:focus + .checkbox {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 91, 0, 0.4);
  }

.ico_geoloc {
  background-image: url('../images/geoloc_avec_marge_gauche.png') !important;
  background-position: center left 10px;
  background-repeat: no-repeat;
  background-size: 6%;
  padding-left: 25px;
  padding-top: 2%;
  padding-bottom: 2%;
  width: 100%;
  border-radius: 8px;
  text-align: center;
  background-color: white;
  font-size: 11px !important;
}
#btn_envoiDemande {
    background-color: #FF5B00;
    color: white;
    font-weight: bold;
}


.oblig::placeholder {
  color: red;
  font-size: 11px;
  font-family: Arial, sans-serif;
}

textarea {
  resize: none;
  border-color: #FF5B00;
  border-radius: 4px;
  font-size: 11px;
}