body img {
    object-fit: contain;
}

.logomenu {
    width: 75px;
    height:75px;
    margin-top: -50px;
}

.fondocancha {
    background-image: url('../img/bgit.png');
    background-size: cover;
}

.form-group {
    margin-bottom: 1rem;
}
.btn-toolbar {
    border: 1px solid #ccc;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-toolbar .btn{
    margin: 2px;
}

.borde-contenido {
    border: 1px solid #ccc;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 40px !important;
}

.botonlista{
    font-size: x-small;
}

/*Quita el margen de los input para que no ocupen tanto espacio */
.restarmargen{
   margin-top: -5px;
}

/*Texto de una sola linea*/
.single_line_text{
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: pre;
}

@media only screen and (max-width: 768px) {
    .border-warning {
      border: 0.5px solid white !important;
    }
  }


  .contmodalidades{
    margin-bottom: 10px;
  }

.container{
    margin-top: 20px;
    padding: 10px;
    background-color: #f9f9f9 !important;
}

.padre{
    display: flex;
    align-items: end;
}

.caja {
    border: 0;
    border-top: 0;
    border-color: #bfbfbf;
    background-color: #fff;    
    border-radius: 10px;
    box-shadow: 0px 0px 8px -4px #00000069;    
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;    
}


body {
    padding: 10px;
    padding-bottom: 40px;
}


/*Contenedor tipo globo*/
.globobtn {
    font-size: xx-small;
}

.delbotonteam{
    font-size: xx-small;
}

.d-ruby{
   display: ruby;
}

.globo {
    width: fit-content;
}

/*
ELEMENTO CHECKBOX
*/
input[type="checkbox"] {
    width: 55px;
    height: 25px;
    appearance: none;
    border: 0;
    border-radius: 30px;
    position: relative;
    transform: translateY(6px);
    margin-right: 10px;
}

input[type="checkbox"]:disabled {
    opacity: 0.5;
}

input[type="checkbox"]::before,
input[type="checkbox"]::after {
    content: '';
    cursor: pointer;
    border-radius: 30px;
    transition: .3s;
    position: absolute;
    left: 0;
    top: 0;
}


input[type="checkbox"]:disabled::before,
input[type="checkbox"]:disabled::after {
    cursor: not-allowed;
}

input[type="checkbox"]::before {
    width: 55px;
    display: block;
    height: 25px;
    background-color: #9a9a9a;
}

input[type="checkbox"]:checked::before {
    background-color: #1998ff;
}

input[type="checkbox"]::after {
    position: absolute;
    width: 20px;
    height: 19px;
    background-color: #fff;
    top: 3px;
    left: 3px;
}

input[type="checkbox"]:checked::after {
    transform: translateX(29px);
}

/*Para el contendor del mapa*/
#mapahijo {
    /* configure the size of the map */
    width: 100%;
    height: 100%;
  }    

.map {
    /* configure the size of the map */    
    height: 200px;
  } 
.pictureThumbnail{
    width: 50px;
}

.modal{
    z-index: 9998 !important;
}

.swal2-container {
    z-index: 9999 !important; /* Un valor mayor al del modal de Bootstrap */
}

.evalGrabar{
    background-color: #ffc107;
    color: white;
}

td button.enlace{
    margin-bottom: 10px;
    min-width: 220px;
}

.memo {
    height: 200px; /* Fixed height for the memo */
    overflow-y: auto; /* Scrollable if content exceeds height */
    border: 1px solid #ccc; /* Border for the memo */
    padding: 10px; /* Padding inside the memo */
    background-color: #f9f9f9; /* Light background color */
}
.memo li {
    height: 20px; /* Simulates space for each item */
    border-bottom: 1px dashed #ddd; /* Dashed line for separation */
 }



.borde-contenido {
  padding: 20px;
}

.search-wrapper {
  display: flex;
  justify-content: center;
}

.input-group {
  position: relative;  
  width: 100%;
}

.search-input {  
  transition: width 0.3s ease;
  padding-right: 2.5rem;
}



.input-group .fa-search {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
  z-index: 20;
}

.suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  padding: 10px;
}

/* Estilo general para cada item tipo botón */
li[data-id] {
  display: block;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Estilo general tipo botón */
li[data-id] {
  display: block;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Zebra alternado */
li[data-id]:nth-child(even) {
  background-color: #f8f9fa;
}
li[data-id]:nth-child(odd) {
  background-color: #e9ecef;
}

/* Hover tipo botón */
li[data-id]:hover {
  background-color: #dbeafe;
}

/* Nombre ocupa toda la línea */
.nombrejugador {
  font-size: 1rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

/* Documento y año en una sola línea */
.datosjugador {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

/* Representante en bloque separado */
.representantejugador {
  font-size: 0.85rem;
  font-style: italic;
  color: #495057;
  border-top: 1px solid #dee2e6;
  padding-top: 0.5rem;
}
