.card-jugador-dark {
        background-color: #003554; /* Azul Racing Nocturno */
        border: none;
        border-radius: 15px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        overflow: hidden;
        height: 100%;
    }

    .card-jugador-dark:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    }

    .img-wrapper {
        height: 220px;
        overflow: hidden;
        background-color: #1a1a1a;
    }

    .img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

    .nombre-jugador {
        color: #ffffff !important;
        font-weight: 800;
        font-size: 1.1rem;
        text-transform: uppercase;
        margin-bottom: 8px;
    }

    .fecha-jugador {
        color: #00d4ff !important; /* Celeste Cian Brillante */
        font-weight: 600;
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .btn-ver-ficha {
        background-color: #ffffff;
        color: #003554 !important;
        font-weight: 700;
        border-radius: 25px;
        border: none;
        transition: all 0.2s;
    }

    .btn-ver-ficha:hover {
        background-color: #00aae4;
        color: white !important;
    }

    /* Ajuste para el buscador */
    .search-container {
        background: white;
        border-radius: 30px;
        padding: 5px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
  .custom-card {
    background-color: #E4E6E7;
    border: none;
    width: auto; /* Ajusta el ancho de la imagen según tus necesidades */
    height: auto; 
    max-width: 100%; /* Establece un ancho máximo para la imagen */
    max-height: 133.33%; /* Establece una altura máxima para la imagen */
    min-width: 75%; /* Establece un ancho mínimo para la imagen */
    min-height: 100%; 

  }
  
  .custom-card img {
    width: auto; /* Ajusta el ancho de la imagen según tus necesidades */
    height: auto; /* La altura se ajustará automáticamente proporcionalmente */
    max-width: 100%; /* Establece un ancho máximo para la imagen */
    max-height: 133.33%; /* Establece una altura máxima para la imagen */
    min-width: 75%; /* Establece un ancho mínimo para la imagen */
    min-height: 100%; /* Establece una altura mínima para la imagen */
   /* min-height: 300px; */
  }

  .custom-card .card-body {
    position: absolute; /* Establece la posición absoluta para el cuerpo de la tarjeta */
    bottom: 0;/* Alinea el cuerpo de la tarjeta en la parte inferior */
/* Centra el cuerpo de la tarjeta horizontalmente */
    /* transform: translateX(-50%);  */
    /* background-color: rgba(176, 220, 238, 0.4); */
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px #000000;

    /* border-bottom: 0;
    padding-bottom: 0; */
    /* display: inline-flex; */
    /* padding:1rem; */
  }
  .custom-card .card-body .d-grid .btn{
    border: 0.2px solid rgb(255, 255, 255);


  }

  .h5, h5 {
        font-size: 1rem; 
}

  