/* ----------------- GENERAL ----------------- */

/* ------- Poppins ------- */
@font-face {
  font-family: "Poppins Light";
  font-style: light;
  src: url('../fonts/Poppins-Light.ttf');
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  src: url('../fonts/Poppins-Regular.ttf');
}
@font-face {
  font-family: "Poppins Bold";
  font-style: bold;
  src: url('../fonts/Poppins-Bold.ttf');
}

@font-face {
  font-family: "Poppins ExtraBold";
  font-style: bold;
  src: url('../fonts/Poppins-ExtraBold.ttf');
}

p, a, font, span, label{font-family: 'Poppins Light', sans-serif; font-size: 12px;}
b{font-family: 'Poppins Bold', sans-serif; /*font-variant:small-caps; letter-spacing: .1rem;*/}

/* ----------------- MAIN ----------------- */

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

:root{
  --couleur-principale  : #913143; /* rouge */
  --couleur-secondaire  : #273b47; /* bleu */
  --couleur-de-fond     : #ffffff; /* blanc */
  --couleur-de-fond-sec : #f0f0f0; /* gris */

  --couleur_rouge  : #DF4343;
  --couleur_verte  : #51CEB8;
  --couleur_jaune  : #E0982D;
  --couleur_noire  : #484848;
}

[data-theme="dark"] {
  --couleur-principale  : #f0f0f0; /* rouge */
  --couleur-secondaire  : #ffffff; /* bleu */
  --couleur-de-fond     : #1e1e1e; /* blanc */
  --couleur-de-fond-sec : #121212; /* gris */
}


html, body{
  margin:0;
  padding: 0;
  word-break: keep-all;
}

body{
  /* overflow-x: hidden; */
}

html{
  overflow-y: scroll;
  scroll-behavior: smooth;
  background-color: var(--couleur-de-fond);
}

p{
  line-height: 1.6;
  color: var(--couleur-secondaire);
}


h1, h2, h3, h4, h5, h6{
  font-family: 'Poppins ExtraBold', sans-serif !important;
  color: var(--couleur-principale);
  margin-top: 10px;
}

a{
  color: var(--couleur-principale);
}

a:hover{
  text-decoration: none;
  color: var(--couleur-principale);
}
p{
  color: var(--couleur-secondaire);
}

/* ------------------------------------------*/
/*                  TITRAGE                  */
/* ------------------------------------------*/

.titrage{

}

.titrage>div {
  display: inline-block;
  vertical-align: top;
}

.titrage_restaurant>div{
  /* margin-top: 25px; */
  margin-bottom: 70px;
}

.titrage>div:first-child {
  width: 49%;
}

.titrage>div:last-child {
  width: 50%;
  text-align: right;
  height: auto;
  vertical-align: baseline;
}


@media screen and (max-width: 1080px) {
  .titrage{
    margin-left: 20px;
  }
}

/* ------------------------------------------*/
/*                    PAGE                   */
/* ------------------------------------------*/

#page {
  display: flex;
  background: var(--couleur-de-fond-sec);
}

#content {
  width: 1047px;
  margin: 17px auto;
  color: var(--couleur-secondaire);
  background: var(--couleur-de-fond-sec);
}

.back{
  padding: 25px 0px;
}

#content_accueil,
#table_utilisateurs,
#table_entreprises,
#table_costumes,
#table_categorie,
#notes_de_frais, .notes_entreprise,
#content_spectacle, .spectacle, .billeterie_plus,
#content_restaurant, .ticket,
#recapitulatif .block_recap,
#commande_en_cours, #commande_ajout, #commande_button
{
  padding: 30px;
  margin: 15px 0px;
  border-radius: 10px;
  box-shadow: 0px 0px 3px 1px rgb(0 0 0 / 24%);
  -webkit-box-shadow: 0px 0px 3px 1px rgb(0 0 0 / 24%);
  -moz-box-shadow: 0px 0px 3px 1px rgb(0 0 0 / 24%);
  background: var(--couleur-de-fond);
}

.parent {
  cursor: default;
  display: flex;
  flex-wrap: wrap; /* Pour permettre le passage à la ligne en cas de manque d'espace */
}

.child {
  flex: 1; /* Chaque enfant prendra 1/4 de la largeur de la div parent */
  padding: 10px; /* Ajoutez un espace intérieur pour séparer les éléments */
  box-sizing: border-box; /* Assure que le padding est inclus dans la largeur définie */
  /* border: 1px solid #ccc; /* Ajoutez une bordure pour séparer visuellement les éléments */
  margin: 5px; /* Ajoutez une marge pour l'espace entre les éléments */
}


/* ------------------------------------------*/
/*                   TABLE                   */
/* ------------------------------------------*/

table{
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins Light', sans-serif;
  font-size: 12px;
}

th, td {
  text-align: left;
  padding: 8px;
  height: 40px;
}

tr:nth-child(even){background-color: var(--couleur-de-fond-sec);}

th {
  color: var(--couleur-secondaire);
}



/* ------------------------------------------*/
/*                   LOGIN                   */
/* ------------------------------------------*/

#login_content,
#inscription_content{
  height: 95vh;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}

#login_form{
  width: 300px;
  text-align: center;
  background-color: white;
}

#login_form img{
  width: 50%;
  margin: 30px 0px;
}

#login_form input{
  text-align: center;
}

.login_alert_error, .ins_alert_error{
  position: absolute;
  width: 350px;

  background-color: var(--couleur-principale);
  border-radius: 5px;

  animation: fadein 2s;
}

.login_alert_error p, .ins_alert_error p{
  text-align: center;
  color: var(--couleur-de-fond);
}

.login_alert_error, .ins_alert_error{
  top: 85%;
}

.link_alert{
  color: var(--couleur-principale);
  text-decoration: none;
}



/* ------------------------------------------*/
/*                   FORM                    */
/* ------------------------------------------*/

input, select, date, number,textarea, search{
  width: 100%;
  height: 50px;
  padding: 7px 20px;
  margin: 10px 0px;
  border-radius: 5px;
  box-sizing: border-box;
  border: 1px solid #8080806b;
}

textarea{
  height: 150px;
}

.abutton,
.abutton_red,
.abutton_blanc,
button,
input[type=button],
input[type="submit"]{
  height: 50px;
  width: 250px;
  margin: 15px 0px;
  padding: 15px 30px;
  cursor: pointer;
  border-radius: 5px;
  color: var(--couleur-de-fond);
  background-color: var(--couleur-principale);
  border: 1px solid var(--couleur-principale);
  transition: 300ms all;
  text-decoration: none;
}

.abutton:hover,
.abutton_red:hover,
.abutton_blanc:hover,
button:hover,
input[type=button]:hover,
input[type="submit"]:hover{
  transition: 300ms all;
  color: var(--couleur-de-fond);
  background-color: var(--couleur-secondaire);
  border: 1px solid var(--couleur-secondaire);
}

.abutton_blanc{
  color: var(--couleur-principale);
  background-color: var(--couleur-de-fond);
  border: 1px solid var(--couleur-principale);
}

.abutton_blanc:hover{
  color: var(--couleur-de-fond);
  background-color: var(--couleur-principale);
  border: 1px solid var(--couleur-principale);
}

.search-container {
  position: relative;
}

.search-input {
  padding: 10px 20px 10px 40px; /* Ajustez l'espacement selon vos besoins */
    width: 74%;
}

.fa-search {
  position: absolute;
  top: 57%;
  left: 60px; /* Ajustez la position selon vos besoins */
  transform: translateY(-50%);
  color: #999; /* Couleur de l'icône */
  font-size: 16px; /* Taille de l'icône */
}


/* ------------------------------------------*/
/*                   FOOTER                  */
/* ------------------------------------------*/

footer{
   text-align:center;
   margin: auto 50px;
}



/* ------------------------------------------*/
/*                PROGRESS BAR               */
/* ------------------------------------------*/


#progress{
  margin-bottom: 30px;
  width: 100%;
  display: inline-block;
  height: 25px;
}

#progress div{
  display: inline-block;
  vertical-align: middle;
}

#progress .wrapper_text span{
  font-family: 'Poppins ExtraBold';
  position: absolute;
  top: 29px;
  right: 10px;
  width: 160px;
}

.wrapper {
  width: 250px;
}

.wrapper_text{
  position: relative;
  top: -33px;
  right: 95px;
}

.progress-bar {
  width: 100%;
  height: 25px;
  background-color: #d9d9d9;
  padding: 0px;
  border-radius: 5px;
  /* box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2); */
}

.progress-bar-fill {
  display: block;
  height: 25px;
  background-color: #51CEB8;
  border-radius: 5px;
  transition: width 500ms ease-in-out;
}

.titrage div:last-child{

}

.titrage div:last-child div:last-child{

}

.titrage form{
  width: 47%;
  display: inline-block;
}

.titrage form:last-child {
    padding-bottom: 0px;
    text-align: right;
    width: auto;
}

.titrage form input{
  height: auto;
  margin: 5px;
  padding: 10px;
  width: auto;
}



/* ------------------------------------------*/
/*                   POPUP                   */
/* ------------------------------------------*/

/* POPUP */
.overlay {
  z-index: 10;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  visibility: hidden;
  opacity: 0;
  transition: all 100ms;
}

.overlay:target, .modalVid, .mentions_legales{
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 60px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 90%;
  position: relative;
  transition: all 100ms ease-in-out;
}

.popup h4 {
  margin-top: 0;
  text-align: left;
}

.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: bleu;
  cursor: pointer;
}

.popup .close:hover {
  color: green;
}

.popup .content {
  height: 70vh;
  overflow: auto;
}


.mentions_legales{
  cursor: pointer;
}


/* ------------------------------------------*/
/*            INPUT SELCTOR NUMBER           */
/* ------------------------------------------*/

span {cursor:pointer;}
	.number{
    display: inline-block;
    font-size: 25px;
	}
	.minus, .plus{
    width: 25px;
    height: 25px;
    background: #f2f2f2;
    border-radius: 5px;
    padding: 2px 5px 9px 5px;
    border: 1px solid #ddd;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    font-size: x-large;
	}

	input.number_resto, input.libre_input, input.search_input{
		height:34px;
    width: 70px;
    text-align: center;
		border:1px solid #ddd;
		border-radius: 5px;
    display: inline-block;
    vertical-align: middle;
    font-size: 25px;
  }

  input.libre_input{
    font-size: 15px;
    /* height: 19px; */
    width: 90px;
  }

  input.search_input{
    font-size: 12px;
    width: 173px;
    text-align: left;
    padding-left: 10px;
  }

  input[type="checkbox"]{
    width: 20px;
    margin-bottom: 7px;
    vertical-align: middle;
    margin-left: 11px;
  }

  .hidden_input{
    display: none;
  }








  /* ------------------------------------------*/
  /*                 accordion                 */
  /* ------------------------------------------*/

  .accordion_div{
    margin: 29px 0px 5px 0px;
    padding: 22px 0px 20px 30px;
    border-radius: 5px;

    border-radius: 15px;
    border: 1px solid #273b4747;
    padding: 30px;
    background-color: #ffffff;
  }

  .accordion {
    width: 100%;
    font-size: 18px;
    transition: 0.4s;
    vertical-align: top;
    cursor: pointer;

    transition: all 0.3s ease;
  }

  .accordion:hover {
    color: #000;
    text-decoration: underline;
  }

  .accordion a{
    cursor: pointer;
  }

  .accordion:after {
    content: '\002B';
    color: var(--couleur-principale);
    font-weight: 900;
    float: right;
    margin-left: 5px;
    position: relative;
    right: 24px;
    font-size: xxx-large;
    top: -20px;
    cursor: pointer;
  }

  .accordion.active:after {
    content: "\2212";
  }

  .accordion {
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .panel {
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    max-height: 0;
  }

  .panel h4{
    margin-top: 30px !important;
  }

  .panel ul{
    margin-left: 20px;
    font-family: 'Poppins Light';
  }

  .panel li{
    margin: 15px 0px;
  }



/**
/
