/* =========================================================
   Registration form – compact & clean (clean stylesheet)
   ========================================================= */

/* Base */
html, body{
  font-size: 16px;
  line-height: 1.35;
}

#ctl00_body{ background: #f6f7fb; }

/* =========================
   Sections / layout
   ========================= */
.TblSubSection,
table[class*="TblSubSection"]{
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  margin: 10px 0;
  overflow: hidden;
}

.TitreGroupe{
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 12px;
  background: rgba(0,0,0,.02);
  border-bottom: 1px solid #e6e8ef;
}

.TblSubSection td{
  padding: 8px 12px;
  vertical-align: top;
}

.TblSubSection tr + tr td{
  border-top: 1px dashed rgba(230,232,239,.9);
}

/* Colonnes libellé / champ */
.TblSubSection .Libelle,
.TblSubSection td:first-child{
  width: 24%;
  min-width: 160px;
  color: #4b5563;
  font-weight: 600;
  padding-right: 10px;
}

.TblSubSection .Item,
.TblSubSection td:last-child{
  width: 76%;
}

/* =========================
   Inputs
   ========================= */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea{
  width: min(520px, 100%);
  padding: 8px 10px;
  border: 1px solid #d9dde7;
  border-radius: 9px;
  background: #fff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus{
  outline: none;
  border-color: rgba(59,130,246,.55);
  box-shadow: 0 0 0 3px rgba(59,130,246,.18);
}

textarea{
  min-height: 80px;
  resize: vertical;
}

/* Radios / checkboxes (alignement) */
.Item input[type="radio"],
.Item input[type="checkbox"]{
  margin: 0 6px 0 0;
  transform: translateY(1px);
}

.Item label,
.Item span{
  line-height: 1.25;
}

/* (Fallback) Certains wrappers inline-style en block */
.TblSubSection .Item div[style*="block"]{
  display: inline-block;
  width: auto;
}

/* =========================
   Key4 RADIO tables (Yes/No, Title, etc.)
   - force "côte à côte"
   - neutralise les % (ItemBase10/15/80...)
   - espacement constant via gap
   ========================= */
table.TblTckt.ItemTypeRADIO{
  width: auto;
  table-layout: auto;
  margin: 6px 0 10px;
  border-collapse: collapse;
}

table.TblTckt.ItemTypeRADIO > tbody > tr{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;                /* <= ajuste l'espacement global des options */
}

table.TblTckt.ItemTypeRADIO td,
table.TblTckt.ItemTypeRADIO td[class*="ItemBase"]{
  width: auto;
  padding: 0;
  border: 0;
  flex: 0 0 auto;
  white-space: nowrap;
}

table.TblTckt.ItemTypeRADIO td > span{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

table.TblTckt.ItemTypeRADIO label{
  display: inline;
  margin: 0;
  cursor: pointer;
}

/* Title (M. / Mrs. / Ms.) : espacement dédié (si tu veux différent du gap global) */
#ctl00_Main_TcktFront_TblTicket_IT_FinGroupe_167456 > tbody > tr{
  gap: 36px;                /* <= spécifique au groupe Title */
}

/* =========================
   Boutons / validation
   ========================= */
button,
input[type="submit"],
input[type="button"],
.btn{
  border-radius: 9px;
  padding: 9px 12px;
}

.validator,
.error,
.validation-summary-errors,
.field-validation-error{
  color: #b91c1c;
  font-weight: 600;
}

.input-validation-error{
  border-color: rgba(185,28,28,.45);
  box-shadow: 0 0 0 3px rgba(185,28,28,.12);
}

/* =========================
   Mobile
   ========================= */
@media (max-width: 780px){
  .TblSubSection td{
    display: block;
    width: 100%;
    border-top: none;
  }

  .TblSubSection tr + tr td{
    border-top: none;
  }

  .TblSubSection td:first-child{
    padding-bottom: 4px;
    min-width: auto;
  }

  input[type="text"], input[type="email"], input[type="tel"],
  input[type="password"], select, textarea{
    width: 100%;
    max-width: 100%;
  }
}

.TblSubSection .Libelle, .TblSubSection td:first-child {
    min-width: 55px;
}

table.TblTckt.ItemTypeRADIO {
    margin: 6px 13px 10px;
}

/* Uniformiser le poids des labels radio (Title / Yes-No) */
table.TblTckt.ItemTypeRADIO label{
  font-weight: 400 !important;
}

.container {
    padding: 0px 18px 0px !important;
}

header .head {
    padding: 0px 0 0 0; !important
}




table#VldtrCallout_167478_popupTable {
display: none !important
}


.ajax__validatorcallout ajax__validatorcallout_popup_table, tr.ajax__validatorcallout_popup_table_row {
display: none !important
}


label > font {
display: none !important
}



td#ctl00_Main_TcktFront_cell_IT_167482, td#ctl00_Main_TcktFront_cell_IT_167481 {
visibility: hidden !important
}


td#ctl00_Main_TcktFront_cell_IT_167466, td#ctl00_Main_TcktFront_cell_IT_167485, td#ctl00_Main_TcktFront_cell_IT_167490, td#ctl00_Main_TcktFront_cell_IT_167494, td#ctl00_Main_TcktFront_cell_IT_167497, td#ctl00_Main_TcktFront_cell_IT_167503 {
margin-top: 11px !important
}

table.ItemTypeRADIO td.ItemBase90,
table.ItemTypeRADIO td.ItemBase90 label {
  font-weight: 400 !important;
}

table.ItemTypeRADIO label{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}





/* =========================
   Banner: mobile only
   ========================= */
@media (max-width: 420px){
  .head{
    position: relative;
    width: 100%;
    height: auto;
    background-image: url("https://secure.key4events.com/key4register/images/client/2031/images/banniere_EUREF-01.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1200 / 400;
  }

  #ctl00_Main_ctl04_logo{
    opacity: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
  }
}
