@import url("assets/_last_matches.css");

:root{
    --primary-dark: #112129;
    --primary: #162D36;
    --color: whitesmoke;
    --secondary: #D2F347;
    --accent: #112129;
    --accent-lines: #D2F347;
    --accent-highlight-line: darkorange;
    --player-color-1: #59E279;
    --player-color-2: #87B2FF;

    --width-navbar: 250px;
    --margin-body: 0rem;
}

body{
  background-color: var(--primary-dark) !important;
  color: var(--color) !important;
  padding: 0 0 0 var(--width-navbar); /* LOS MISMOS PX QUE EN EL NAV */
  font-family: 'Plus Jakarta Sans','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  margin: var(--margin-body);
}

.color-secondary{
    color: var(--secondary) !important;
}

.bg-primary-dark{
    background-color: var(--primary-dark) !important;
    color: var(--color);
}
.bg-primary{
    background-color: var(--primary) !important;
    color: var(--color);
}
.bg-secondary{
    background-color: var(--secondary) !important;
}

.h-100-calc{
    height: calc(100vh - calc(var(--margin-body) * 2)) !important;
}

.modal-backdrop.show{
  z-index: 1118;
}


.btn2{
  background-color: var(--primary);
  color: var(--secondary);
  border: none;            /* Elimina el borde */
  border-radius: 0.5rem !important;
  padding: 0.5rem 5rem;    /* Elimina el relleno */
  width: auto;
  margin: 0;               /* Elimina los márgenes */
  font-family: inherit;    /* Hereda la fuente del elemento padre */
  font-size: inherit;      /* Hereda el tamaño de la fuente del elemento padre */
  line-height: inherit;    /* Hereda el alto de línea del elemento padre */
  cursor: pointer;         /* Mantiene el cursor como puntero para indicar que es clickeable */
  outline: none;  
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn2:hover{
  outline: 1px solid var(--secondary) !important;
  transition: 0.3s ease;
}

.btn2.active{
  background-color: var(--secondary);
  color: var(--primary);
  outline: 1px solid var(--secondary) !important;
}


.modal{
  z-index: 1300;
}
.modal-content{
  background-color: var(--primary) !important;
  height: 95%;
}

.modal-dialog-scrollable .modal-content{
  height: 100%;
}

.modal-dialog{
  transition: 1s all !important;
}

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
  height: 7px;
  width: 7px;
}
*::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: var(--primary-dark);
}

*::-webkit-scrollbar-track:hover {
  background-color: var(--primary-dark);
}

*::-webkit-scrollbar-track:active {
  background-color: var(--primary-dark);
}

*::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: var(--secondary);
}

*::-webkit-scrollbar-thumb:hover {
  background-color: var(--secondary);
}

*::-webkit-scrollbar-thumb:active {
  background-color: var(--secondary);
}



.formField {
  margin: 10px;
  position: relative;
}

.formField input {
  padding: 20px 15px 10px 15px;
  outline: none;
  border: none;
  border-radius: 5px;
  background-color: #f1f1f1;
  color: #333;
  font-size: 16px;
  font-weight: 550;
  transition: 0.3s ease-in-out;
  box-shadow: 0 0 0 5px transparent;
}

.formField input:hover,
.formField input:focus {
  box-shadow: 0 0 0 2px #333;
}

.formField span {
  position: absolute;
  left: 0;
  top: 0;
  padding: 13px 15px;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  text-shadow: -1px -1px 0 #f1f1f1, 1px -1px 0 #f1f1f1, -1px 1px 0 #f1f1f1,
    1px 1px 0 #f1f1f1;
  transition: 0.3s ease-in-out;
  pointer-events: none;
}

.formField input:focus + span,
.formField input:valid + span {
  transform: translateY(-12px) translateX(-5px) scale(0.95);
  transition: 0.3s ease-in-out;
}



.container-loader {
  position: relative;
  height: 100%; /* Altura completa de la ventana gráfica */
  width: 100%;
}

.center-div{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.loader {
  position: absolute;
  /* top: 50%;
  left: 30%; */
  width: 100px;
  height: 100px;
  border: 3px dotted #fff;
  border-style: solid solid dotted dotted;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 2s linear infinite;
}
.loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px dotted var(--secondary);
  border-style: solid solid dotted;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  animation: rotationBack 1s linear infinite;
  transform-origin: center center;
}

a{
  color: var(--secondary);
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}


.ten-calendario{
  gap: 2rem;
}

.card2{
  background-color: var(--primary);
  border-radius: 1rem;

  display: flex;
  flex-direction: column;
  
}
.card2 .card2-header{
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 2rem;
  border-bottom: 2px solid var(--primary-dark);

  border-radius: inherit;
  background: inherit;
  position: sticky;
  top: 0;
  z-index: 10;
  transition: 0.15s all;
}

/* styles for when the header is in sticky mode */
.card2-header.is-pinned {
  font-size: 0.75rem;
  padding: 1rem 2rem;
} 

.card2 .card2-body{
  padding: 1rem 2rem;
  overflow-y: auto; /* Habilita el desplazamiento vertical si el contenido es más grande que el contenedor */
  flex-grow: 1; /* Esto permite que .card2-body crezca para ocupar todo el espacio disponible en .card2 */
}

.card3{
  background-color: var(--primary-dark);
  border-radius: 1rem;
  padding: 0.75rem;
}

.card3 .card3-header{
  font-size: 18px;
  text-transform: capitalize;
  padding: 0.5rem 0rem 1rem 1.25rem;
  border-bottom: 1px solid var(--secondary);
  line-height: calc(100% + 2px);
}
.card3 .card3-header .title{
  font-weight: 500;
  color: var(--secondary);
}
.card3 .card3-header .subtitle{
  font-weight: 300;
  font-size: 17px;
}
.card3 .card3-body{
  padding: 0.5rem 0rem 1rem 1.25rem;
}

.listItem{
  display: flex;
  flex-direction: column;
}
.item{
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  font-size: 14px;
  background-color: var(--primary-dark);
  text-transform: uppercase;
  overflow: hidden; /* Asegura que cualquier contenido que desborde sea ocultado */
  white-space: nowrap; /* Mantiene el contenido en una sola línea */
  text-overflow: ellipsis; /* Añade puntos suspensivos al final si el contenido desborda */

}
.item:nth-child(2n){
  background-color: var(--primary);
}

.playerImg{
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 100%;
  object-fit: cover;
}



.color-change-2x {
	-webkit-animation: color-change-2x 1s ease-in-out 4 alternate both;
	        animation: color-change-2x 1s ease-in-out 4 alternate both;
}
/* ----------------------------------------------
 * Generated by Animista on 2024-3-22 9:28:19
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation color-change-2x
 * ----------------------------------------
 */
/* ----------------------------------------------
 * Generated by Animista on 2024-3-22 9:29:36
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation color-change-2x
 * ----------------------------------------
 */

@keyframes color-change-2x {
  0% {
    background: var(--primary-dark);
  }
  100% {
    background: var(--accent-highlight-line);
  }
}



/***** TABULATOR CSS *****/
.tabulator-header{
  border-bottom-color: var(--secondary) !important;
}

.tabulator .tabulator-header .tabulator-col input:focus, .tabulator .tabulator-header .tabulator-col select:focus {
  border-color: var(--secondary) !important;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {
  border-bottom: none;
  border-top: 6px solid var(--secondary) !important;
  color: var(--secondary) !important;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {
  border-bottom: 6px solid var(--secondary) !important;
}

.tabulator .tabulator-header .tabulator-header-contents {
  background: var(--primary) !important;
}

.tabulator-row {
  background-color: var(--primary-dark) !important;
}
.tabulator-row:hover {
  border-bottom: 1px solid var(--secondary);
}

.tabulator-row.tabulator-row-even {
  background-color: var(--primary) !important;
}

.tabulator .tabulator-header .tabulator-col {
  background-color: var(--primary) !important;
  border-right-color: var(--secondary) !important;
}

.tabulator .tabulator-header .tabulator-col input, .tabulator .tabulator-header .tabulator-col select {
  background: var(--primary-dark) !important;
}




.modal-dialog {
  position: relative;
}

.svg-back {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1; /* Asegúrate de que el SVG esté detrás del contenido */
}

.svg-back .p1{
  fill: color-mix(in sRGB, var(--primary-dark) 100%, var(--secondary));
}
.svg-back .p2{
  fill: color-mix(in sRGB, var(--primary-dark) 95%, var(--secondary));
}
.svg-back .p3{
  fill: color-mix(in sRGB, var(--primary-dark) 85%, var(--secondary));
}
.svg-back .p4{
  fill: color-mix(in sRGB, var(--primary-dark) 80%, var(--secondary));
}
.svg-back .p5{
  fill: color-mix(in sRGB, var(--primary-dark) 75%, var(--secondary));
}

.modal-content {
  position: relative;
  z-index: 1; /* Asegura que el contenido esté por encima del fondo SVG */
  background: rgba(255, 255, 255, 0.9); /* Opcional: fondo semitransparente para ver el SVG */
}

.tooltip {
  z-index: 35000 !important; /* Valor por encima del z-index del modal de Bootstrap */
}

.pulsate-bck {
	-webkit-animation: pulsate-bck 2s ease-in-out infinite both;
	        animation: pulsate-bck 2s ease-in-out infinite both;
}


.pulsate-bck:before {
    font-family: "Font Awesome 6 Free";
    content: "\f14a";
    position: absolute;
    font-size: 2rem;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    width: 100%;
    border-radius: 5px;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
    opacity: 0.9;
    transition: all 0.5s ease;
}


.jornada-square{
  color: var(--secondary);
  padding: 1rem;
  border: 1px solid var(--secondary);
}

/* ----------------------------------------------
 * Generated by Animista on 2024-4-17 19:36:38
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation pulsate-bck
 * ----------------------------------------
 */
 @-webkit-keyframes pulsate-bck {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes pulsate-bck {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}



#particles-js {
  position: absolute;
  height: 100%;
  background-color: var(--primary-dark);
  background-image: url("../assets/logo/padelarena.png");
  background-repeat: no-repeat;
  background-size: 20%;
  background-position: 50% 50%;
} /* ---- stats.js ---- */



.footerColaboradores{
  border-top: 1px solid rgba(217, 217, 217, 0.5);
}