/* ==========================================================================
   UNIFIED CSS (style.css + admin.css)
   --------------------------------------------------------------------------
   - Réunit le reset et les bases communes (doublons supprimés)
   - Conserve toutes les règles sans rien omettre
   - En cas de conflit sur le même sélecteur, les déclarations sont listées
     dans l’ordre (style.css en premier, puis admin.css).
   - Vous pouvez adapter l’ordre ou scoper certains styles (ex: .admin body {})
     si nécessaire pour éviter les conflits dans votre projet.
   ========================================================================= */

/* --------------------------------
   1) RESET CSS (fusion style.css + admin.css)
-------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer,
header, hgroup, menu, nav, output, ruby, section,
summary, time, mark, audio, video, main {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
.logo {
  margin-bottom: 30px;
}
.logo.admin {
  margin-bottom: 0;
}
.logo.admin img {
  max-height: 60px;
  margin: auto !important;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, main {
    display: block;
}

/* List & blockquote reset */
ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: none;
}

/* Table reset */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* --------------------------------
   2) BASE STYLES 
-------------------------------- */
*, *::after, *::before {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    height: 100%;
    width: 100%;
}

/* -- Conflit potentiel avec admin.css (line-height, font-family, background) -- */
body {
    font-size: 1.6rem;
    font-family: "Open Sans", sans-serif;
    color: #2b3e51;
    background-color: #ebebeb;
    line-height: 1.2;
    overflow-x: hidden;
}

a {
    color: #4a4a49;
    text-decoration: none;
}
.text-primary {
  color: #14387f !important;
}
p {
    margin: 2px 0 8px;
    line-height: 24px;
}

strong {
    font-size: 15px;
    font-weight: bold;
}

em {
    font-style: italic;
}

/* --------------------------------
   3) TYPOGRAPHIE 
-------------------------------- */
h1 {
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #14387F;
}
/* On fusionne h2 de style.css + admin.css : ajout color & margin-bottom */
h2 {
    font-size: 26px;
    font-weight: 400;
    color: #495057; /* ajouté depuis admin.css */
    margin-bottom: 20px; /* idem */
}

.cd-form legend, h3 {
    padding-bottom: 10px;
    font-family: 'Open Sans', arial, helvetica, sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #dc0d15;
}

.cd-form legend {
    padding-top: 30px;
}

.cd-form h4, .cd-form .cd-label {
    font-size: 1.3rem;
    color: #2F4154;
    margin-bottom: 10px;
}

.cd-form h4 {
    font-size: 18px;
    line-height: 1.4;
    margin: 5px 0 10px;
    font-weight: 700;
    color: #4a4a49;
}

/* --------------------------------
   4) LAYOUT & STRUCTURE 
-------------------------------- */
.contenu {
    width: 100%;
}

.sections {
    width: 100%;
    max-width: 998px;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.60);
}

.section1, .section2, .section3, .section4, .liste {
    background: #ffffff;
    max-height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 998px;
    background-repeat: no-repeat;
    background-position-y: top;
}

.section1 {
    background-image: url('../img/body.jpg');
    height: 550px;
}

.section2 {
    height: auto;
    margin-top: -20px;
    padding: 0;
}

.section3 {
    background-image: url(../img/footer.jpg);
    height: 378px;
}

.liste {
    background-image: url('../img/liste.jpg');
    padding: 0;
    width: 750px;
    height: 1984px;
}

.sections.finJeu, .section1.finJeu, .section2.finJeu, .section3.finJeu, .section4.finJeu {
    width: 100%;
    max-width: 750px!important;
}

.container {
    margin-top: 30px;
}
.login a {
  font-size: 14px !important;
}
.page-login .container {
  margin: 60px auto;
  padding: 30px;
  border-radius: 8px;
  max-width: 480px;
}
a.auth-link.text-primary {
  font-size: 12px;
}
.left, .right {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
}

.left {
    left: 20px;
}
.left.users_logs {
    left: 230px;
}

.left a, .right a {
    color: white;
    background: #dc0d15;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
}
.left a {
    background: #14387F;
}

.right-info {
    float: right;
}

.blockLine {
    display: inline-block;
    width: 100%;
}

.floatLeft {
    float: left;
    width: 50%;
}

/* --------------------------------
   5) UTILITY CLASSES 
-------------------------------- */
.hideMe, .constructionStripe, .noDisplay {
    display: none !important;
}

.border-highlight {
    border: 3px dashed red;
}

.center {
    text-align: center;
}

.right-align {
    text-align: right;
}

.bg-blur {
    backdrop-filter: blur(5px);
}

.shadow-custom {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}

/* --------------------------------
   6) HEADER & NAVIGATION 
-------------------------------- */
.navbar > .container-fluid .cols {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-light .navbar-brand img {
    max-width: 220px;
    height: auto;
}

.nav-link {
    color: #006699 !important;
    font-size: 16px;
    font-weight: 600;
    margin: 0 14px;
    padding: 10px 20px;
}

.nav-link:hover {
    color: #dd1119 !important;
}

.navbar > .container-fluid .col-lg-4.text-right span {
    font-weight: 500;
    margin: 0 5px;
}

.nav-tabs {
    margin: 30px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: none;
}

.tab-content {
    background: white;
    padding: 30px 20px 5px;
    border: 1px solid #ddd;
}

/* --------------------------------
   7) BANNER & HERO 
-------------------------------- */
.banner {
    background: url(../img/background-image.jpg) no-repeat center center fixed;
    background-size: cover;
    min-height: 320px;
    display: grid;
    align-content: stretch;
}

.banner > .bg-blur {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    background: #0000007a;
}

.banner-title h1, .banner-title h2 {
    color: white;
    font-size: 44px;
    text-transform: uppercase;
    text-shadow: 1px 0 2px #000;
    margin-bottom: 10px;
}

.banner-title h2 {
    font-size: 20px;
    text-transform: none;
    margin-top: 10px;
}

/* --------------------------------
   8) SEARCH SECTION 
-------------------------------- */
.recherche {
    background: radial-gradient(ellipse at center 60px, #f8f9fa 50%, #e3e3e3 100%);
    text-align: center;
}

.recherche h3 {
    text-transform: uppercase;
    font-size: 22px;
    color: #006699;
}

.recherche small {
    font-size: 12px;
    margin-top: 12px;
    display: block;
}
.recherche small a {
    text-decoration: underline;
}
.recherche small img {
    max-width: 16px;
    position: relative;
    top: 3px;
    margin-right: 3px;
}
.recherche small svg {
    max-width: 16px;
    position: relative;
    top: 3px;
    fill: #006699;
    margin-right: 3px;
}
.message_info .alert {
  padding: 20px 0 40px;
}
.message_info svg {
  width: 72px;
  height: 72px;
  margin: 20px;
}
span.info {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

#rechercheForm {
    max-width: 840px;
    margin: auto;
}

#recherche-termes {
    min-width: 520px;
    border-radius: 30px 0 0 30px;
    padding: 30px;
}

#rechercheForm .btn-primary {
    border-radius: 0 30px 30px 0!important;
    padding: 18px 30px!important;
    background-color: #14387F;
    border-color: #14387F;
    font-size: 16px !important;
    display: flex;
}
#rechercheForm .btn-primary i.fas {
    padding: 4px 8px;
}
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.search-container > .form-group {
  margin-bottom: 0;
}
/* --------------------------------
   9) BUTTONS & CONTROLS 
-------------------------------- */
.btn {
    font-size: 18px !important;
}
/* body input, .btn-primary => Conflit potentiellement avec admin.css */
button, input, .btn-primary {
    font-size: 18px !important;
}
.btn-primary {
    background-color: #14387F;
    border-color: #14387F;
}
.btn-primary, 
.btn-secondary,
.btn-warning,
.btn-danger,
.btn-save,
a.nav-link.btn {
  border-radius: 30px!important;
  padding: 5px 20px!important;
}
.btn-primary:hover {
    color: #fff;
    background-color: #dd1119;
    border-color: #dd1119;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.toolbar .btn-primary {
    padding: 6px 50px;
}

.action-btn {
    cursor: pointer;
    padding: 5px;
}

a.nav-link.btn {
    color: white !important;
    font-size: 14px !important;
    padding: 3px 10px !important;
}

a.nav-link.active {
    color: #dc3545 !important;
}

a.boutonLien {
    background: rgb(239 239 239);
    border: 1px solid #2c97de;
    color: #2c97de;
    text-decoration: none;
    font-weight: 700;
    padding: 6px 10px;
    margin: 10px 0;
    display: inline-block;
}
a.boutonLien > img {
    transform: rotate(-90deg);
    position: relative;
    top: 2px;
}

.CTA-jouer {
    background: #dc0d15;
    color: white !important;
    text-align: center;
    outline: none;
    border: none;
    width: 300px;
    padding: 12px;
    font-size: 20px;
    font-weight: 700;
    display: block;
    margin: 30px auto;
    border-radius: 3px;
    cursor: pointer;
}
.CTA-jouer.rejouer {
    background: #515151;
    font-size: 18px;
    max-width: 140px;
    padding: 8px;
    border-radius: 30px;
}

/* --------------------------------
   10) TABLES & LISTS 
-------------------------------- */
.table {
    margin-top: 20px;
}
.table th, .table td {
    text-align: center;
    vertical-align: middle;
}
.table th {
    background-color: #343a40;
    color: #fff;
}
#records-table_wrapper {
    padding: 8px 0;
}
.tableau {
    background: white;
}
.table-responsive {
    margin-top: 20px;
}
table.dataTable>thead .sorting:before, table.dataTable>thead .sorting:after, table.dataTable>thead .sorting_asc:before, table.dataTable>thead .sorting_asc:after, table.dataTable>thead .sorting_desc:before, table.dataTable>thead .sorting_desc:after, table.dataTable>thead .sorting_asc_disabled:before, table.dataTable>thead .sorting_asc_disabled:after, table.dataTable>thead .sorting_desc_disabled:before, table.dataTable>thead .sorting_desc_disabled:after {
  color: white;
  opacity: .8;
}
/* --------------------------------
   11) CARDS & PANELS 
-------------------------------- */
.card {
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card-header {
    background-color: #14387F!important;
    color: white;
    font-weight: bold;
    text-align: center;
}
.card-header.bg-info {
    background-color: #17a2b8 !important;
}

.filter-row {
    background-color: #f8f9fa;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

/* --------------------------------
   12) FORMS & INPUTS 
-------------------------------- */
.cd-form, .boxDescription {
    max-width: 922px;
    margin: 0 auto;
    padding: 10px;
    background: white;
}

.cd-form::after {
    clear: both;
    content: "";
    display: table;
}

.cd-form fieldset {
    margin: 24px 0;
}

.cd-form div {
    position: relative;
    margin: 20px 0;
}

.cd-form .cd-label {
    display: block;
}

.cd-form input, .cd-form textarea, .cd-form select, .cd-form label {
    font-family: "Open Sans", sans-serif;
    font-size: 1.6rem;
    color: #2b3e51;
}

.cd-form input[type="text"],
.cd-form input[type="email"],
.cd-form textarea,
.cd-form select,
.cd-form legend,
h3.titres {
    display: block;
    width: 100%;
    appearance: none;
}

.cd-form input[type="text"],
.cd-form input[type="email"],
.cd-form textarea,
.cd-form select {
    padding: 12px;
    border: 1px solid #cfd9db;
    background-color: #ffffff;
    border-radius: .25em;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
}
.cd-form input[type="text"]:focus,
.cd-form input[type="email"]:focus,
.cd-form textarea:focus,
.cd-form select:focus {
    outline: none;
    border-color: #2c97de;
    box-shadow: 0 0 5px rgba(44, 151, 222, 0.2);
}

.cd-form .cd-select {
    position: relative;
}
.cd-form .cd-select::after {
    content: '';
    position: absolute;
    z-index: 1;
    right: 16px;
    top: 50%;
    margin-top: -8px;
    display: block;
    width: 16px;
    height: 16px;
    background: url("../img/cd-icon-arrow.svg") no-repeat center center;
    pointer-events: none;
}

.cd-form select {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}
.cd-form select::-ms-expand {
    display: none;
}

.cd-form textarea {
    min-height: 200px;
    resize: vertical;
    overflow: auto;
}

.cd-form input[type="submit"] {
    border: none;
    background: #dc0d15;
    border-radius: .25em;
    padding: 16px 20px;
    color: #ffffff;
    font-weight: bold;
    float: none;
    cursor: pointer;
    appearance: none;
    margin: 0 auto;
    width: 240px;
    display: block;
}
.cd-form input[type="submit"]:focus {
    outline: none;
    background: #2b3e51;
}
.cd-form input[type="submit"]:active {
    transform: scale(0.9);
}

.cd-form [required] {
    background: url("../img/cd-required.svg") no-repeat top right;
}

.editable {
    display: inline-block;
    padding: 5px;
    border: 1px dashed #ced4da;
    border-radius: 4px;
    cursor: pointer;
}
.editable:hover {
    background-color: #e9ecef;
}

.champFichier {
    padding: 3px;
    font-size: 14px !important;
}

.custom-file-input {
    display: none;
}

.custom-file-label {
    display: inline-block;
    background-color: #fff;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 5px;
}
.custom-file-label::after,
.custom-file-input::file-selector-button {
    content: "Choisir un fichier";
}

/* --------------------------------
   13) CHECKBOXES & RADIOS 
-------------------------------- */
.dropdown-item,
.custom-select-sm,
.form-control {
  font-size: 16px;
}
.cd-form .cd-form-list {
    margin-top: 16px;
}
.cd-form .cd-form-list::after {
    clear: both;
    content: "";
    display: table;
}
.cd-form .cd-form-list li {
    display: inline-block;
    position: relative;
    user-select: none;
    margin: 0 26px 16px 0;
    width: 95%;
}
.cd-form .cd-form-list li.newsletterBlock.rgpdBlock {
    display: block;
    position: relative;
    user-select: none;
    margin: 0 auto 16px 0;
    width: 100%;
    float: none;
    text-align: left;
}

.cd-form input[type=radio],
.cd-form input[type=checkbox] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    opacity: 0;
    z-index: 2;
}

.cd-form input[type="radio"] + label,
.cd-form input[type="checkbox"] + label {
    padding-left: 24px;
}

.cd-form input[type="checkbox"] + label span {
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
}

/* base pour radio/checkbox "custom" */
.cd-form input[type="radio"] + label::before,
.cd-form input[type="checkbox"] + label::before {
    content: '';
    border: 1px solid #cfd9db;
    background: #ffffff;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -8px;
    width: 16px;
    height: 16px;
}
.cd-form input[type="radio"] + label::after,
.cd-form input[type="checkbox"] + label::after {
    content: '';
    display: none;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -8px;
    background-color: #2c97de;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 0 5px rgba(44, 151, 222, 0.4);
}

/* radio rond vs checkbox carré */
.cd-form input[type="radio"] + label::before,
.cd-form input[type="radio"] + label::after {
    border-radius: 50%;
    background-image: url("../img/cd-icon-radio.svg");
}
.cd-form input[type="checkbox"] + label::before,
.cd-form input[type="checkbox"] + label::after {
    border-radius: .25em;
    background-image: url("../img/cd-icon-check.svg");
}

.cd-form input[type="radio"]:focus + label::before,
.cd-form input[type="checkbox"]:focus + label::before {
    box-shadow: 0 0 5px rgba(44, 151, 222, 0.6);
}

.cd-form input[type="radio"]:checked + label::after,
.cd-form input[type="checkbox"]:checked + label::after {
    display: block;
}
.cd-form input[type="radio"]:checked + label::before,
.cd-form input[type="radio"]:checked + label::after,
.cd-form input[type="checkbox"]:checked + label::before,
.cd-form input[type="checkbox"]:checked + label::after {
    animation: cd-bounce 0.3s;
}

/* --------------------------------
   14) SWITCH ITEM & CUSTOM CONTROLS 
-------------------------------- */
.switch-item {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #f0f0f0;
}
.switch-item:hover {
    background-color: #f8f9fa;
}

.custom-switch {
    display: flex;
    align-items: center;
}
.custom-control-label {
    padding-right: 30px;
    font-weight: 500;
}
.custom-switch .custom-control-label {
    padding-left: 20px;
    line-height: 24px;
}
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #28a745;
    border-color: #28a745;
}
.info-icon {
    color: #17a2b8;
    cursor: pointer;
    margin-left: 8px;
    transition: transform 0.2s;
    font-size: 16px;
}
.info-icon:hover {
    transform: scale(1.2);
}

.custom-switch .custom-control-label::before {
  width: 36px;
  border-radius: 20px;
}
.custom-control-label::before {
  height: 18px;;
}
.custom-switch .custom-control-input:checked~.custom-control-label::after {
  -webkit-transform: translateX(18px);
  transform: translateX(18px);
}

.custom-switch .custom-control-label::after {
  width: calc(18px - 4px);
  height: calc(18px - 4px);
  border-radius: 30px;
}
.switch-item .custom-control-label {
  padding-left: 30px;
}
/* --------------------------------
   15) ALERTS & NOTIFICATIONS 
-------------------------------- */
.alert {
    text-align: center;
    font-size: 20px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
.alert.fade-out {
    opacity: 0;
}
.badge {
    font-size: 90%;
}
.notification-item {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 2px 8px;
    border-radius: 12px;
    background-color: #e9ecef;
    font-size: 85%;
}
.cd-form .error-message p {
    background: #e94b35;
    color: #ffffff;
    font-size: 1.4rem;
    text-align: center;
    border-radius: .25em;
    padding: 16px;
}
.cd-form .error {
    border-color: #e94b35 !important;
}

/* --------------------------------
   16) INFO ITEMS & CONTENT BLOCKS 
-------------------------------- */
.info-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
}
.info-item:last-child {
    border-bottom: none;
}
.info-content h5 {
    margin-bottom: 5px;
}
.info-content p {
    margin-bottom: 0;
    color: #6c757d;
}

.infos {
    padding: 30px;
    max-width: 1200px;
    margin: auto;
}
.infos h4 {
    font-size: 20px;
    font-weight: 500;
    margin: 20px auto;
}
.infos a {
    display: block;
    margin: 20px auto;
    text-align: center;
    background: #dd1119;
    color: white;
    max-width: 160px;
    font-size: 16px;
    padding: 8px 12px;
}
.infos-banner img {
    max-width: 100%;
}
.desc {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 !important;
}
.boxDescription {
    padding-top: 40px;
    text-align: justify;
}

/* --------------------------------
   17) LOADERS & OVERLAYS 
-------------------------------- */
.loader {
    width: 100%;
    height: 100%;
    z-index: 10;
    position: fixed;
    background: white;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: stretch;
}
.loader span {
    width: 100%;
    text-align: center;
    margin: 0 auto auto;
}
.loader img {
    margin: auto auto 30px;
    max-width: 100%;
    height: 30px;
}
.loading-indicator {
    text-align: center;
    margin-top: 10px;
}
.loading-indicator i {
    font-size: 24px;
    color: #14387F;
}

/* --------------------------------
   18) DEBUG PANEL 
-------------------------------- */
.debug-panel {
    display: none;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
}
.debug-panel h4 {
    color: #dc3545;
    margin-bottom: 10px;
}
.debug-info {
    font-family: monospace;
    font-size: 12px;
    white-space: pre-wrap;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* --------------------------------
   19) MODALS & POPOVERS 
-------------------------------- */
.modal-content {
    background-color: white;
}
.modal-dialog {
    max-width: 50%;
    margin: 30vh auto;
}
.modal-footer .btn {
    font-size: 16px !important;
}
.modal-title {
    font-size: 20px;
    font-weight: 700;
}
.modal-header .close > span {
    font-size: 32px;
}
.modal-body, .modal-body strong {
    line-height: 30px;
    font-size: 18px;
    text-align: center;
}
.modal-body span {
    display: block;
    font-weight: 700;
    margin-top: 10px;
    font-size: 20px;
}
.dropdown-menu {
    min-width: 200px;
}
.popover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: none;
    border-radius: 10px;
}
.popover-header {
    background-color: #17a2b8;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: 500;
}
.popover-header,
.popover-body {
  font-size: 16px;
}  
.popover-body {
    padding: 12px;
    line-height: 1.5;
}
.tooltip {
    position: relative;
}
.tooltip::after {
    content: attr(data-title);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.tooltip:hover::after {
    visibility: visible;
    opacity: 1;
}

/* --------------------------------
   20) AUTOCOMPLETE & jQuery UI 
-------------------------------- */
.ui-autocomplete {
    position: absolute;
    z-index: 1000;
    cursor: default;
    padding: 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc; 
    border-radius: 5px;
    max-width: 465px;
    max-height: 300px;
    overflow: auto;
}
.ui-autocomplete > li {
    padding: 3px 10px;
}
.ui-menu .ui-menu-item {
    border-bottom: 1px solid #c5c5c5;
}
.ui-autocomplete > li.ui-state-focus {
    background-color: #DDD;
}
.ui-helper-hidden-accessible {
    display: none;
}
.ui-widget.ui-widget-content {
    padding: 3px;
}

/* --------------------------------
   21) FOOTER 
-------------------------------- */
.footer {
    font-size: 14px;
    padding: 40px !important;
}
.footer .text-white {
    line-height: 30px;
}
.footer .text-white a {
    color: white;
}
.footerBackTop {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #1e1c20;
    width: 100%;
    height: 34px;
    font-size: 12px;
    text-align: center;
    padding: 6px 0 0;
    margin: 0;
}
.footerBackTop a {
    color: #b6b6b6;
}
.footerLink {
    position: absolute;
    bottom: 4px;
    right: 15px;
    line-height: 24px;
}
.footerLink i {
    float: left;
    padding-right: 5px;
}

/* --------------------------------
   22) ANIMATION & EFFECTS 
-------------------------------- */
@keyframes cd-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.8);
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(23, 162, 184, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(23, 162, 184, 0); }
    100% { box-shadow: 0 0 0 0 rgba(23, 162, 184, 0); }
}

.pulse {
    animation: pulse 1.5s infinite;
    border-radius: 50%;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s;
}

/* --------------------------------
   23) RESPONSIVE MEDIA QUERIES 
-------------------------------- */
@media only screen and (min-width: 800px) {
    .cd-form div {
        margin: 32px 0;
    }
    .cd-form legend + div {
        margin-top: 20px;
    }
    .js .floating-labels legend + div {
        margin-top: 16px;
    }
    .js .floating-labels .cd-label {
        top: 20px;
    }
    .section1 {
        height: 550px;
    }
}

@media (min-width: 992px) {
    .mobile-only {
        display: none;
    }
    .desktop-only, .navbar > .container-fluid .cols.desktop-only {
        display: block;
    }
    .navbar-expand-lg .navbar-nav {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 1048px) {
    .navbar > .container-fluid .cols .btn-primary {
        font-size: 16px !important;
    }
}

@media (max-width: 1000px) {
    .section1, .section3 {
        background-size: 100%;
        width: 100%;
    }
    .section1 {
        padding-bottom: 60%;
        height: 100%;
    }
    .section2 {
        width: 100%;
        background-size: 100%;
    }
    .section3 {
        padding-bottom: 40%;
        height: auto;
    }
    #bloc1 {
        padding-right: 30px;
        max-width: 100%;
    }
    .descBloc {
        background: rgba(183,20,63,0.7);
        padding: 10px;
        color: white;
        border-radius: 4px;
    }
    .descBloc a {
        color: white;
    }
    .cd-form, .boxDescription {
        margin: -5px 3.9% 0;
    }
    .cd-form legend, h3 {
        font-size: 23px;
    }
    .cd-form input[type="checkbox"] + label span {
        display: inline-block;
    }
    .cd-form input[type="radio"] + label, .cd-form input[type="checkbox"] + label {
        display: inline-block;
    }
    .cd-form h4, .cd-form .cd-label {
        font-size: 16px;
        line-height: 20px;
        font-weight: 700;
    }
    /* Tableaux responsifs */
    table:before {
        content: ">> glissez horizontalement pour voir la suite";
        height: 14px;
        width: 100%;
        display: block;
        font-size: 11px;
        margin-top: -30px;
        margin-bottom: 10px;
        font-family: Arial, sans-serif;
    }
    table, .tableScroll {
        display: block !important;
        padding: 45px 0 20px 0;
        overflow: scroll;
        overflow-y: scroll;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        -webkit-overflow-scrolling: touch;
        max-width: 100% !important;
    }
    table tbody, table thead, table tfoot {
        display: table;
    }
}

@media (max-width: 991px) {
    .mobile-only {
        display: block;
    }
    .desktop-only, .navbar > .container-fluid .cols.desktop-only {
        display: none;
    }
    .navbar > .container-fluid .cols.col-lg-5 .nav-link {
        text-align: center;
        margin: 10px 6px;
    }
    .navbar > .container-fluid .cols.col-lg-4 {
        text-align: center !important;
        flex-wrap: wrap;
    }
    .navbar > .container-fluid .col-lg-4.text-right span {
        width: 100%;
        display: block;
        margin: 8px auto;
    }
    .navbar .row.w-100 {
        margin: auto;
    }
    .modal-dialog {
        max-width: 90%;
        margin: 20vh auto;
    }
}

@media (max-width: 840px) {
    .sections {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .navbar-light .navbar-brand img {
        max-width: 160px;
    }
}

@media (max-width: 750px) {
    .liste {
        background-size: 100%;
        width: 100%;
        height: auto;
        padding-bottom: 262%;
    }
    .floatLeft {
        width: 100%;
    }
    .cd-form, .boxDescription {
        padding: 10px 5px;
    }
    .utilisateurForm .floatLeft {
        flex-wrap: wrap;
    }
    .utilisateurForm .floatLeft .icon {
        margin: 5px !important;
        width: 100%;
    }
}

@media (max-width: 440px) {
    .footerLink {
        display: none;
    }
    .cd-form legend, h3, .boxDescription h3.titres {
        font-size: 17px;
    }
    #bloc1 {
        padding-left: 10px;
        padding-right: 10px;
    }
    .section1 {
        padding-bottom: 60%;
    }
    .infosJeu > h5 > a > span {
        font-size: 14px;
    }
    .reglement span br {
        display: none;
    }
    .cd-form, .boxDescription {
        margin: -5px 0 0;
    }
    #recherche-termes {
        min-width: 100%;
        border-radius: 30px;
        padding: 20px;
    }
    .recherche {
        padding: 20px 5px !important;
    }
    #rechercheForm .btn-primary {
        width: 100%;
        margin: auto;
        border-radius: 30px;
    }
    #rechercheForm .form-group.mb-2 {
        width: 100%;
        margin: auto;
    }
    .recherche h3 {
        font-size: 18px;
    }
    .banner {
        background-position-x: -120px;
        background-size: auto;
    }
    .banner-title h1, .banner-title h2 {
        font-size: 24px;
    }
}

@media (max-width: 320px) {
    .cd-form legend, h3, .boxDescription h3.titres {
        font-size: 20px;
    }
    .confirmation {
        padding: 0 5px;
    }
    .confirmation.liste {
        padding-bottom: 262%;
    }
    .cd-form fieldset > h4 {
        font-size: 15px;
    }
}

/* ==========================================================================
   24) ADMIN.CSS SPÉCIFIQUE (ajouté après les styles "front")
   - Ici figurent les règles distinctes ou en conflit provenant d'admin.css.
   - Les doublons identiques ont été supprimés ci-dessus.
   - Les éventuels conflits (même sélecteur) sont listés pour ne rien perdre.
   ========================================================================= */

/* -- Conflit : body. On le place ici pour qu’il surcharge si nécessaire l’admin -- */
body {
    line-height: 1;
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
}

/* .toolbar h2 figure déjà fusionnée dans h2 => On ajoute seulement "font-size:20px; margin-bottom:8px;" si nécessaire */
.toolbar h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

/* .card-header.bg-info plus spécifique pour l'admin */
.card-header.bg-info {
    background-color: #14387F !important;
}

/* .btn-primary + .btn-danger => déjà présents, on garde le .btn-save */
.btn-save {
    background-color: #28a745;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: 500;
}
.btn-save:hover {
    background-color: #218838;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.btn-save .fa-save {
    margin-right: 10px;
}

/* .bulk-actions, .select-all-container : pour l'admin */
.bulk-actions {
    display: none;
    margin-bottom: 20px;
}
.bulk-actions .btn {
  margin-right: 5px;
}
.select-all-container {
    margin-bottom: 10px;
}
label.form-check-label[for="select-all"] {
  line-height: 20px;
  padding-left: 6px;
  font-weight: 600;
}
/* Surcouverture du .info-icon dans admin */
.info-icon {
    color: #14387F;
}