:root {
    --primary-color: #1f2937; /* gris foncé */
    --secondary-color: #e5e7eb; /* gris clair */
    --accent-color: #d4ee1b; /* vert moderne */
    --text-color: #111827; /* gris foncé pour le texte */
    --border-color: #d1d5db; /* gris clair pour les bordures */
}
select, input[type="date"],
input[type="datetime-local"],
input[type="time"] {
  -webkit-appearance: none;
}
a{
    text-decoration: none;
    color: inherit;
    height: fit-content;
}
.push-message {
  position: fixed;
  top: 5rem; /* juste sous ta navbar */
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 600px;
  background-color: #1f2937; /* gris foncé */
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  animation: slideDown 0.4s ease forwards;
  transition: opacity 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.push-message.hide {
  opacity: 0;
  transform: translate(-50%, -20px);
}

    .choix-paris {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    }
    .card_container{
        display: grid;
        align-items: center;
        justify-content: center;
        margin-top: 1rem;
    }
.parie_card {
    position: relative;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 90svw;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    border: 1.5px solid #000;
    box-shadow: 2.5px 3px 0 #000;
}
.choix-cadre {
    position: relative;
    cursor: pointer;
    border: 1px solid #0000001b;
    border-radius: 12px;
    padding: 12px 15px; /* Réduire le padding pour plus d'espace pour le texte */
    background-color: #fff;
    color: black;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s;
    text-align: center;
    flex: 1 1 40%;
    min-width: 100px;
    max-width: 100%; /* Assurez-vous que la largeur maximale est respectée */
    box-sizing: border-box; /* Inclut le padding et la bordure dans la largeur totale */
    word-wrap: break-word; /* Casse les mots longs */
    overflow-wrap: break-word; /* Alternative pour casser les mots */
}
.choix-cadre span {
    display: block; /* Assurez-vous que le span est un bloc pour appliquer le texte ellipsis */
    overflow: hidden; /* Cache le texte qui dépasse */
    text-overflow: ellipsis; /* Ajoute des points de suspension pour le texte qui dépasse */
    white-space: nowrap; /* Empêche le texte de passer à la ligne suivante */
    max-width: 100%; /* Assurez-vous que le texte ne dépasse pas */
}
    .max_btn{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: .5rem;
    }
    .choix-cadre:has(input[type="radio"]:checked) {
      background-color: var(--accent-color);
      box-shadow: 2.5px 3px 0 #000;
    border: 1.5px solid #000;
    }
    .choix-cadre:hover{
      background-color: var(--accent-color);
      box-shadow: 2.5px 3px 0 #000;
    border: 1.5px solid #000;
    }
    .choix-cadre input[type="radio"] {
    display: none;
    }
    .btn {
        padding: 10px 15px;
        box-sizing: border-box;
        background-color: white;
        border: 1.5px solid #000;
        border-radius: 0.5rem;
        box-shadow: 2.5px 3px 0 #000;
        outline: none;
    }
    body {
    background-color: #f9fafb; /* gris très clair */
    color: #222;
    font-family: 'Inter', sans-serif;
    }
.blur-background {
  filter: blur(4px);
  transition: filter 0.3s ease;
}

    nav {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb; /* gris clair */
    color: #333;
    z-index: 10 !important;
    }

    nav a, nav div {
    color: #4b5563; /* gris moyen */
    }

    nav a:hover {
    color: inherit; /* bleu clair */
    text-decoration: none;
    }
    .navbar.top{
        background: none;
        box-shadow: none;
        position: fixed;
        box-sizing: border-box;
        border: none;
        padding: 1rem 2rem;
        top:10px;
        width: 80svw;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 10;
    }
    .solde{
        border-radius: 70px;
        padding: 5px 15px;
        border: 1px solid #00000020;
        background-color: white;
    }
    .black_round{
        width: 30px;
        height: 30px;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #00000020;
        background-color: white;
    }
    .bottom_footer{
        max-width: 80svw;
        width: 400px;
        background-color: #000 !important;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
        border-radius: 40px;
        padding-left: .2rem;
        padding-right: .2rem;
    }
    .actual{
        background-color: #d4ee1b;
    }
    .circle_nav{
        padding: .8rem;
        border-radius: 40px;
    }
    input, textarea {
    background-color: #fff;
    border: 1px solid #d1d5db; /* gris clair */
    color: #111827; /* gris foncé */
    font-size: 1rem;
    transition: border-color 0.2s ease;
    }

    input[type=number]::-webkit-inner-spin-button, 
    input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    }

    .bg-gray-800 {
    background-color: #e5e7eb !important; /* on override pour clair */
    color: #1f2937 !important;
    }

    .bg-gray-700 {
    background-color: #f3f4f6 !important; /* gris clair encore plus doux */
    color: #374151 !important;
    }

    .text-gray-400 {
    color: #6b7280 !important;
    }

    .text-green-400 {
    color: #10b981 !important; /* vert moderne */
    }

    .bg-green-700 {
    background-color: #059669 !important;
    color: white;
    }

    .bg-red-700 {
    background-color: #dc2626 !important;
    color: white;
    }

    .btn.rounded.black {
        padding: 10px 26px;
        box-sizing: border-box;
        background-color: white;
        border: 1.5px solid #000;
        border-radius: 0.5rem;
        box-shadow: 2.5px 3px 0 #000;
        color: black;
    }

    /* Footer nav clair */
    nav.fixed.bottom-0 {
    background-color: #fff;
    border-top: 1px solid #e5e7eb;
    }

    nav.fixed.bottom-0 a {
    color: #4b5563;
    }

    /* Modal clair */
    #createBetModal > div {
    background-color: #fff;
    color: #111827;
    z-index: 1000;
    }
    form label, form button {
    font-weight: 500;
    }

    /* Scrollbar clair si besoin */
    ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    }

    ::-webkit-scrollbar-track {
    background: transparent;
    }
    .option-tag {
  user-select: none;
}
.option-tag button {
  background: transparent;
  border: none;
  cursor: pointer;
}

.input {
  z-index: 30;
  height: 40px;
  padding: 0.875rem;
  font-size: 1rem;
  border: 1.5px solid #000;
  border-radius: 0.5rem;
  box-shadow: 2.5px 3px 0 #000;
  outline: none;
  transition: ease 0.25s;
  outline: none;
}

.input:focus {
  box-shadow: 5.5px 7px 0 black;
}
@media screen and (max-width:700px){
    .navbar.top{
        width: 100svw;
    }
}
.btn-like {
    background: none;
    color: black;
    border: none;
    cursor: pointer;
}
.hidden {
  display: none !important;
}
.opacity{
  opacity: 0.5;
  pointer-events: none;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.search-animate {
  animation: slideIn 0.3s ease forwards;
  display: block !important;
}
