

/* -------titre du tableau --------- */


/* page manager titre  */
p.attente{
    font-size: 40px!important ; 
    color:#7e88af; 
     /* border:1px solid red;  */
   border-radius: 15px;
    text-align:center ; 
    /* background-color:red; */
}
/* page comptabilite titre */
#page-wrapper p.manager{
    font-size: 30px; 
    color:white;
    border:1px solid blueviolet;
    border-radius: 15px;
    text-align:center ;
    background-color:blueviolet
}

/* masquage de la barre bleue dans le menu noir de wordpress  */
.current.menu-top.menu-icon-generic#toplevel_page_edit-note{
    display:none!important;
}

/* masquage de la version de wp */
#wpfooter{
    display:none;
}

/* graphisme du logiciel de modification de note  */

select#analytique_select{
    margin-right:30px;
}

.tva{
    display:flex;
}

.bloc_piece_jointe_repas_midi,.bloc_piece_jointe_repas_soir {
    display: flex;
    align-items: center; 
    gap: 20px; 
}

.bloc_piece_jointe_repas_midi label {
    margin-right: 10px; 
}

.bloc_piece_jointe_repas_midi .fichier_joint {
    display: flex;
    align-items: center;
    gap: 10px; 
}


.frais-form-container {
    max-width: 1000px;
    margin: auto;
    font-family: Arial, sans-serif;
}

.frais-form-container h1 {
    text-align: center;
    color: #2c3e50;
}

.jour-container {
    background-color: lightgray;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px; 
}

.data-text {
    color: black; 
    font-weight: bold; 
    font-size: 16px;
    padding: 5px;
    margin: 15px;
}

.flex-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top:25px;
}

.flex-container label {
    font-weight: bold;
}


.note-block {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.note-block h3 {
  
    color: white;
    padding: 10px;
    border-radius: 6px;
    width: 25%; 
    text-align: left; 
    font-size: 22px; 
}



.note-block label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
}


.note-block input[type="text"],
.note-block select,
.note-block input[type="file"] {
  
    padding: 8px;

    border: 1px solid #ccc;
    border-radius: 4px;
}
.note-block input[type="file"] {
    width: 270px;
}
.note-block input[type="text"],
.note-block select{
    width: 140px;
}



.note-block input[type="file"] {
    background-color: #fff;
}

.note-block hr {
    margin: 25px 0;
    border-top: 1px dashed #ccc;
}


.container-montant,.container-jour,.container-type {
    display: flex;
    flex-wrap: nowrap; 
    gap: 20px; 
    justify-content: space-between; 
}

.form-row {
    display: flex;
    flex-direction: column;
    align-items: center; 
    width: 100%; 
}

.form-row label {
    font-weight: bold;
    color: black;
    text-align: center;
    width: 100%; 
}

.form-row input {
    width: 80%;
    padding: 8px;
    text-align: center;
}
.type_piece {
    display: flex;
    align-items: center; 
    gap: 15px; 
}

.type_piece select {
    width: 200px; 
    padding: 8px;
}

.piece-jointe-container {
    display: flex;
    align-items: center; 
    gap: 15px;
}

.piece-jointe-container input[type="file"] {
    width: 200px;
    padding: 5px;
}


/* formulaire demande frais */







.option .checkbox-label .hotel {
    margin-bottom: 15px; 
    display: block; 
}

.option {
    display: flex;
    flex-direction: column; 
    gap: 20px;
}





.detail {
    display: block; 
}




.motif-lieu-fields select,
.motif-lieu-fields input[type="text"] {
    width: 100%; 
    padding: 10px; 
    box-sizing: border-box; 
    font-size: 14px; 
    height: 45px; 
    margin: 0; 
}


.lieu-container input[type="text"] {
    width: 100% !important; 
    padding: 10px;
    box-sizing: border-box;
    font-size: 14px; 
    height: 45px; 
    margin: 0; 
}
.notes {
    text-align: center; 
    font-size: 24px; 
    font-weight: bold; 
    color: #333; 
    margin-bottom: 20px;
}

.formulaire {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid grey;
    border-radius: 25px;
    background-color: #f9f9f9;
}

fieldset {
    border: 1px solid #A0A7C4;
    border-radius: 5px;
    margin: 20px 0;
    padding: 10px;
    width: 100%; 
   
    box-sizing: border-box; 
}
/* Pour les inputs à l'intérieur du fieldset */
fieldset input[type="text"],
fieldset input[type="date"],
fieldset input[type="number"],
fieldset select {
    width: 75%;  
    padding: 8px;
    box-sizing: border-box;  
}

legend {
    font-weight: bold;
    padding: 0 10px;
}

label {
    display: block;
    margin: 10px 0 5px;
}

input[type="text"],
input[type="date"],
input[type="time"],
input[type="number"],
select {
    width: 75%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="checkbox"],
input[type="file"] {
    margin: 10px 0;
}

.time-fields, .motif-lieu-fields, .info {
    display: flex;
    justify-content: space-between; 
    margin: 5px 0; 
}

.time-fields div, .motif-lieu-fields, .info {
    flex: 1; 
    margin-right: 10px; 
}

.time-fields div:last-child, .motif-lieu-fields {
    margin-right: 0; 
}

input[type="checkbox"] {
    margin-left: 10px; 
}



input[type="text"],
select {
    width: 170px; 
    padding: 5px; 
  
    box-sizing: border-box; 
}



.repas {
    display: flex;
    padding-left: 15px;
}

#repas_midi_row {
    margin-right: 30px;
}

#nuitee_fields, #transport_fields {
    display: flex;
}

#nuitee_fields.show, #transport_fields.show {
    display: flex; 
    gap: 20px; 
}

#nuitee_fields input[type="number"] { 
    flex: 0 0 150px; width: 150px; 
}

.option {
    position: relative;
}

.checkbox-row {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
    min-width: 150px;
}
.checkbox-label label {
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px; 
    display: inline-block;
    max-width: 160px;
}
.checkbox-label label:hover {
    overflow: visible;
    white-space: normal;
    text-overflow: unset;
}


.lieu-deplacement {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
}

.lieu-deplacement label {
    margin-bottom: 4px;
}

.lieu-deplacement input {
    height: 36px;
    padding: 6px 10px;
    box-sizing: border-box;
    width: 100%;
}




.code_analytique {
    display: flex; 
    align-items: center; 
    margin-bottom: 10px; 
}

label {
    margin-right: 10px; 
    margin-left: 10px
}

input[type="checkbox"] {
    margin-left: 5px; 
}



/*------------------------- graphisme fichier modification------------------- */

.repas-midi, .repas-soir {
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 10px;
    background: #f9f9f9;
}
.repas-midi h4, .repas-soir h4 {
    margin-top: 0;
}

.message-vide {
    margin-top: 1em;
    color: #666;
    font-style: italic;
}

.repas-id-visible {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 5px;
    padding-left: 5px;
}


/* -----------Bouton dans edition repas -----------------------------  */

/* Bouton Ajouter */
#ajouter_repas_journee {
    background-color: #3c8dbc; /* Bleu admin WordPress */
    color: white;
   
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
   
}

#ajouter_repas_journee:hover {
    background-color: purple;
}


/* page modification note  */
.id-repas{
    float:right;
}

.formulaire-repas {
    max-width: 100%;
    margin: 0 auto;
}

.repas-fieldset {
    border: 1px solid #ccc;
    padding: 1.5em;
    margin-bottom: 2em;
    background: #fdfdfd;
    border-radius: 8px;
}

.repas-fieldset legend {
    font-weight: bold;
    font-size: 1.2em;
    color: #333;
}

.ligne {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 1em;
}

.ligne > div {
    flex: 1;
    min-width: 160px;
}

.repas-fieldset label {
    display: block;
    margin-bottom: 0.2em;
    font-weight: 600;
    color: #444;
}

.repas-fieldset input,
.repas-fieldset select {

    padding: 0.5em;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 0.95em;
}

.repas-fieldset h4 {
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: #0073aa;
    font-size: 1.1em;
}

 
.modification{
    font-size:35px;
    text-align:center;
}

.repas-btn {
    background: linear-gradient(135deg, #774caf, #5d2e7d);
    margin:10px;
}
.repas-btn, .repas-btn-cancel,.supprimer-journee{
    color: white;
    padding: 0.6em 1.2em;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
  }
  
  .repas-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #66BB6A, #388E3C);
  }
  
  .repas-btn:active {
    transform: scale(0.98);
    box-shadow: none;
  }
  .repas-btn-cancel,.supprimer-journee{
    background: linear-gradient(135deg, #af4c4c, #7d2e2e);
  }
  /* bouton ajouter une journée  */

   #add-day{
    margin:6px;
   }
   /*--------------------- ajout bouton ajouter une journée dans formulaire de base ------------------- */
 

  .button-row {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start; 
  }
  
  .button-row .button {
    height: 40px;
    line-height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }
  


/* capture heure dans le formulaire modification */

.card {
    margin:10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    width: 100%;
  max-width: 400px; 
  min-height: 200px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;

  }
  
  .card-header {
    background-color: #e9ecef;
    padding: 10px 15px;
    font-size: 16px;
    border-bottom: 1px solid #ddd;
  }
  
  .card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;

  }
  
  .capture-list {
    list-style: none;
    margin: 0;
    padding: 10px 15px;
  }
  
  .capture-list li {
    margin-bottom: 8px;
  }
  
  .capture-link {
    text-decoration: none;
    color: #0073aa;
    font-weight: 500;
  }
  
  .capture-link:hover {
    text-decoration: underline;
    color: #005177;
  }
  
  .help-text {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #666;
  }
  .capture {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px auto;
    padding: 10px;
    align-items: stretch;
  }
  
/* pop up */

.popup-refus {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 2px solid #0073aa;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    width: 400px;
    max-width: 90%;
    border-radius: 8px;
  }
  #motif_refus {
    width: 100%;
    box-sizing: border-box;
  }
  
  .popup-actions {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
  }
  
  
  
  
  