/*elaborado por:Edison Tene*/

:root {

    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-card: rgba(255, 255, 255, 0.7); /*aquí controlas TODO */
    --blur-card: blur(6px);

    --color-primary: #000000;     
    --color-secondary: #0a3d91;   
    --color-accent: #ffffff;      
    --color-success :#5178b7;

    --color-sidebar: linear-gradient(180deg, #000000, #0a3d91);
    --color-header: #000000;

    --color-border: #dcdcdc;

    /*informacion*/
    --color-datospersonales: #03428a70;
    /*informacion deportiva*/
    --color-datosdeportivos: #08701970;
    /*informacion medica rosado*/
    --color-datosmedicos: #920a807a;
    /*datos psicologicos*/
    --color-datospsicologicos: #1191a87a;

    --morado-oscuro: var(--color-primary);
    --morado-principal: var(--color-secondary);
    --morado-claro: var(--color-secondary);
}



[data-theme="alterno"] {

    --color-bg: #fff0f6;
    --color-text: #1a1a1a;
    --color-card: rgba(255, 255, 255, 0.85); /*aquí controlas TODO */
    --blur-card: blur(10px);

    --color-primary: #000000;   
    --color-secondary: #ff2d95; 
    --color-accent: #2c003e;   
      --color-success :#5178b7;

    --color-sidebar: linear-gradient(180deg, #2c003e, #ff2d95);
    --color-header: #2c003e;

    --color-border: #f8bbd0;


     /*informacion*/
    --color-datospersonales: #03428a70;
    /*informacion deportiva*/
    --color-datosdeportivos: #08701970;
    /*informacion medica rosado*/
    --color-datosmedicos: #920a807a;
    /*datos psicologicos*/
    --color-datospsicologicos: #1191a87a;

    --morado-oscuro: var(--color-primary);
    --morado-principal: var(--color-secondary);
    --morado-claro: var(--color-secondary);
}



[data-theme="dark"] {

    --color-bg: #ffffff;
    --color-text: #f5f5f5;
    --color-card: rgba(255, 255, 255, 0.85); /*aquí controlas TODO */
    --blur-card: blur(10px);

    --color-primary: #000000; 
    --color-secondary: #6a00f4; 
    --color-accent: #ff2d95;   
  --color-success :#5178b7;

    --color-sidebar: linear-gradient(180deg, #000000, #6a00f4);
    --color-header: #000000;

    --color-border: #2a2a2a;

     /*informacion*/
    --color-datospersonales: #03428a70;
    /*informacion deportiva*/
    --color-datosdeportivos: #08701970;
    /*informacion medica rosado*/
    --color-datosmedicos: #920a807a;
    /*datos psicologicos*/
    --color-datospsicologicos: #1191a87a;

    --morado-oscuro: var(--color-primary);
    --morado-principal: var(--color-secondary);
    --morado-claro: var(--color-secondary);
}


/*colores para el segundo tema del sistemas*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}
html, body {
    width: 100%;
    height: 100%;
}
/*contenedor de la pantalla*/
.contenedor {
    width: 100%;
    min-height: 90vh;
    border-radius: 18px;
    margin: 0 auto;
    padding:  0px;
    
}

.login-icon{
    text-align:center;
    margin-bottom:15px;
}

.login-icon img{
    width:70px;
}

.separador-login{
    display:flex;
    align-items:center;
    margin:12px 0;
}

.separador-login::before,
.separador-login::after{
    content:"";
    flex:1;
    height:1px;
    background:#d9d9d9;
}

.separador-login span{
    padding:0 12px;
    color:#777;
    font-size:13px;
    text-transform:uppercase;
}
/*titulo del formulario*/
.titulo {
    background: linear-gradient(90deg, var(--morado-oscuro), var(--morado-oscuro));
    border-radius: 0; 
    margin: 0; 
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px;

    box-shadow: none;
}

.logo {
    height: 48px;
    width: auto;
    position: absolute;
 
}

.titulo h1 {
    color: white;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 6px;

    flex: 1;
    text-align: center;
    margin: 0;
}

/* GRID DE BOTONES */
.grid-botones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.btn-logout {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-logout:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* BOTONES */
.btn {
    min-height: 160px;
    padding: 18px 10px 20px;
    gap: 16px;
    background: #ffffff;
    border: 2px var(--morado-oscuro);
    border-radius: 14px;
    color: #3a3a55;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    border-left: 6px solid var(--morado-oscuro);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.btnMenu {
    width: 220px;         
    height: 140px;         
    border: 3px solid var(--morado-claro);
    border-radius: 20px;
    background: white;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: normal;    
    word-wrap: break-word; 
    overflow-wrap: break-word;

    transition: 0.3s ease;
}

/* ICONOS */
.icono {
    width: 50px;
    height: auto;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.btnMenu:hover .icono {
    transform: scale(1.12) rotate(-4deg);
    filter: brightness(0) invert(1);
}

.btnMenu span {
    transition: letter-spacing 0.3s ease, transform 0.3s ease;
}

.btnMenu:hover span {
    letter-spacing: 1px;
    transform: translateY(2px);
}


.btnMenu:active {
    transform: scale(0.97);
    box-shadow: 0 8px 18px rgba(56, 8, 157, 0.4);
}

/*cambio de color del icono*/
.btnMenu:active .icono,
.btnMenu.activo .icono {
    filter: brightness(0) invert(1);
    background: transparent;
}
/*cambio de diseño*/
.btnMenu:hover {
    background: linear-gradient(135deg, var(--morado-claro));
    color: #ffffff;
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 18px 40px var(--morado-oscuro),
        inset 0 0 0 1px rgba(255,255,255,0.15);
    border-left-color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .grid-botones {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo {
        height: 38px;
        left: 5px;
    }

    .titulo h1 {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }
}

@media (max-width: 480px) {
    .grid-botones {
        grid-template-columns: 1fr;
    }


}

/* FONDO */
.login-body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /*background: linear-gradient(180deg, #ffffff, #181818);*/
  font-family: 'Segoe UI', sans-serif;
  background-image: 
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url("../img/fondo2.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height:100vh;
}

.login-card {
  width: 850px;
  min-height: 460px;
  height: auto;

  display: flex;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);

  box-shadow: 0 20px 45px rgba(0,0,0,.35);

  overflow: hidden;
}


.login-card h1 {
    color: var(--morado-oscuro);
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.login-card p {
    margin-bottom: 25px;
    color: #666;
}

/* INPUTS */
.login-card input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 2px solid #ddd;
    font-size: 16px;
}

.login-card input:focus {
    outline: none;
    border-color: var(--morado-oscuro);
}

/* BOTÓN */
.login-card button {
    width: 100%;
    padding: 14px;
    background: var(--morado-oscuro);
    border: none;
    color: white;
    font-size: 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.login-card button:hover {
    background: var(--morado-oscuro);
}

/*tarjeta para los formularios*/
.card {

    
    background: var(--color-card) !important;
    backdrop-filter: var(--blur-card);
    -webkit-backdrop-filter: var(--blur-card);

    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.2);

    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    max-width: 1200px;
    margin: auto;
    margin-bottom: 30px; /* separación del footer */

}

.card-body {
    padding: 30px 25px 50px 25px; /* más espacio abajo */
}

/* ERROR */
#error {
    color: red;
    font-size: 14px;
    margin-top: 10px;
    display: block;
}
/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);

  justify-content: center;
  align-items: center;
}

.modal-content {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 16px;
  text-align: center;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    color: var(--morado-oscuro);
    margin-bottom: 15px;
}

.modal-content p {
    color: #555;
    font-size: 15px;
    margin-bottom: 25px;
}

.modal-content button {
    padding: 12px 30px;
    background: var(--morado-oscuro);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.modal-acciones {
    display: flex;
    justify-content: center;
    gap: 15px;
}


.modal-general {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;
}

.modal-general.show {
    display: flex;
}


/* header */
.modal-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.modal-confirmacion{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:99999;

    justify-content:center;
    align-items:center;
}

.modal-confirmacion-box{

    background:#fff;
    width:420px;
    max-width:90%;
    border-radius:12px;
    padding:25px;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

    animation:modalZoom .25s;
}

.modal-confirmacion-actions{

    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:25px;
}


@keyframes modalZoom{

    from{
        transform:scale(.9);
        opacity:0;
    }

    to{
        transform:scale(1);
        opacity:1;
    }

}

/* body con scroll */
.modal-body {
    flex: 1;
    overflow-y: auto;
    margin: 15px 0;
}



.btn-secundario {
    background: #e0e0e0;
    color: #333;
}

.btn-secundario:hover {
    opacity: 0.85;
}


/*para tablas */
.btn-ptabla {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 7px 14px;

    border: none;
    border-radius: 9px;

    background: linear-gradient(
        135deg,
        var(--morado-principal),
        var(--morado-oscuro)
    );

    color: #fff;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 4px 10px rgba(0,0,0,.15);

    transition: all .25s ease;
}

.btn-ptabla i {
    font-size: 15px;
}

.btn-ptabla:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 16px rgba(0,0,0,.22);

    filter: brightness(1.08);
}

.btn-ptabla:active {
    transform: scale(.96);
}


/*para  secundario tablas */
.btn-stabla {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 7px 14px;

    border: none;
    border-radius: 9px;

    background: #e0e0e0;
    color: #333;


    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 4px 10px rgba(0,0,0,.15);

    transition: all .25s ease;
}

.btn-stabla i {
    font-size: 15px;
}

.btn-stabla:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 16px rgba(0,0,0,.22);

    filter: brightness(1.08);
}

.btn-stabla:active {
    transform: scale(.96);
}

/* Botón desbloquear */
.btn-atabla {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 7px 14px;

    border: none;
    border-radius: 9px;

    background: linear-gradient(
        135deg,
        #f5b301,
        #d68910
    );

    color: #fff;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 4px 10px rgba(0,0,0,.15);

    transition: all .25s ease;
}

.btn-atabla i {
    font-size: 15px;
}

.btn-atabla:hover {

    transform: translateY(-2px);

    box-shadow:
        0 7px 16px rgba(0,0,0,.22);

    filter: brightness(1.08);
}

.btn-atabla:active {

    transform: scale(.96);

}


.tabla-scroll{

    overflow:auto;

    width:100%;

    border-radius:12px;

    border:1px solid #ddd;

    cursor:grab;

    user-select:none;

}

.tabla-scroll:active{

    cursor:grabbing;

}

#tablaUsuarios{

    min-width:1600px;

}

#tablaUsuarios thead th{

    position:sticky;

    top:0;

    background:white;

    z-index:100;

    box-shadow:0 2px 6px rgba(0,0,0,.08);

}
#tablaUsuarios tbody tr{

    transition:.2s;

}

#tablaUsuarios tbody tr:hover{

    background:#f5f3ff;

    transform:scale(1.002);

}
.badge-estado{

    padding:6px 12px;

    border-radius:50px;

    font-size:12px;

    font-weight:700;

}

.badge-ok{

    background:#e8f8ef;

    color:#0f9d58;

}

.badge-no{

    background:#fdecec;

    color:#d93025;

}

.badge-lock{

    background:#fff4db;

    color:#e37400;

}


.acciones{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    gap:8px;
    flex-wrap:nowrap;
}
.buscar{

    width:320px;

    border-radius:30px;

    padding:10px 18px;

    border:1px solid #ddd;

    transition:.3s;

}

.buscar:focus{

    border-color:var(--morado-principal);

    box-shadow:0 0 0 4px rgba(94,44,165,.15);

}


.btn-success {
    background: var(--color-success);
    color: #333;
}

.btn-success:hover {
    opacity: 0.85;
}


.btn-microsoft{
    display:block;
    width:100%;
    background:#0078D4;
    color:#fff;
    text-decoration:none;
    padding:14px;
    border-radius:8px;
    text-align:center;
    font-weight:bold;
    margin-top:20px;
}

.btn-microsoft:hover{
    background:#106EBE;
}


/*.btn-accion {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
}

.btn-accion i{
    font-size: 14px;
}*/

.btn-buscar{
    background: var(--morado-oscuro);
    color:#fff;
    border:none;
    padding:0 16px;
    border-radius:0 10px 10px 0;
    cursor:pointer;
    font-size:18px;
    transition:0.2s;
}

.btn-buscar:hover{
    background: var(--morado-principal);
}



/* MODAL SOLO PARA CERRAR SESIÓN */
.modal-salir {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Caja pequeña SOLO para salir */
.modal-content-salir {
    width: 340px;
    max-width: 50%;
    padding: 25px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
}



/* CARD HORIZONTAL */
.login-card-horizontal {
    display: flex;
    width: 700px;
    max-width: 95%;
    padding: 0;
    overflow: hidden;
}

/* LOGO IZQUIERDA */
.login-logo {
  width: 40%;
  background: linear-gradient(160deg, var(--morado-oscuro), #15183a);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: white;
}

.login-logo img {
  width: 140px;
  margin-bottom: 15px;
}

.login-logo span {
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0.9;
}


.login-form {
  width: 60%;
  padding: 25px 35px;
}



.login-form h1 {
 text-align: center;
  margin: 0;
  letter-spacing: 4px;
  color: var(--morado-oscuro);
}

.login-form p {
    text-align: center;
  margin-bottom: 30px;
  color: #555;
}

.login-form input {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: rgba(255, 255, 255, 0.85);
  font-size: 15px;
   transition:0.2s;
}

.login-form input:focus {
  outline: none;
  border-color: 2px solid var(--morado-oscuro);
  background:#fff;
}
#btnLogin {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;

  background: var(--morado-oscuro);
  color: white;
  font-size: 16px;

  cursor: pointer;
  transition: 0.3s ease;
}

#btnLogin:hover {
  background: var(--morado-oscuro);
  box-shadow: 0 10px 25px rgba(114, 9, 183, 0.4);
}
/*boton de descargar*/
.btn-logs {
    background: var(--morado-oscuro);
    color: #fff;
    border: none;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
}

.btn-logs:hover {
    opacity: 0.85;
}


/* contenedor password */
.password-container{
    position: relative;
    width: 100%;
}

/* espacio para el icono */
.password-container input{
    padding-right: 45px;
}

/* icono ojo */
.toggle-password{

    position:absolute;
    right:14px;
    top:40%;
    transform:translateY(-55%);
    height:100%;
    display:flex;
    align-items:center;
    cursor:pointer;
    opacity:0.65;
    transition:0.2s;
}

.toggle-password svg{

    pointer-events:none;

}

.toggle-password:hover{
    opacity:1;
    transform:translateY(-50%) scale(1.08);
}

/*ventana modal para el password*/
/*.modal-general {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}*/

.modal-box {
  background: #fff;
  width: 650px;
  max-width: 90%;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,.3);
}

.modal-jugadores-box{
    width: 95%;
    max-width: 800px;
    min-height: 600px;
    padding: 40px;
}
.btn-ficha{
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1;
   border: none;
    color: #fff;
    background: var(--morado-claro);
    border-radius: 5px;
    transition: .2s;
}

.btn-ficha:hover{
    background: var(--morado-oscuro);
}


.modal-box h2 {
  color: var(--morado-oscuro);
  margin-bottom: 10px;
}

.modal-box p.error-password {
  color: #d32f2f !important;
  font-size: 14px;
  margin-top: -10px;
  margin-bottom: 20px;
  display: none;
}

.input-modal {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 30px;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-principal {
  background: var(--morado-claro);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 12px;
  cursor: pointer;
}
.table-responsive {
    cursor: grab;
    user-select: none;
    overflow-x: auto;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.table-responsive:active {
    cursor: grabbing;
}
.btn-principal:hover {
    background: var(--morado-oscuro);
}

.btn-secundario {
  background: #e0e0e0;
  border: none;
  padding: 12px 30px;
  border-radius: 12px;
  cursor: pointer;
}

.error-password {
  color: #d32f2f;
  font-size: 14px;
  margin-top: -10px;
  margin-bottom: 20px;
  display: none;
}

.input-error {
  border: 2px solid #d32f2f !important;
}

/*boton para flechas*/
.btn-toggle-menu{
    border: 1px solid #dee2e6;
    background: var(--morado-claro);
    border-radius: 4px;
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-toggle-menu:hover{
    background: var(--morado-oscuro);
}

.btn-toggle-menu i{
    font-size: 10px;
}



/* pestañas superiores */
.tabs-container {
    width: 90%;
    margin: 40px auto;
    flex:1;
    
}

/* TAB SUPERIORES */
.tabs-menu {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 10px;
    backdrop-filter: blur(8px);
}

.tab-btn {
    position: relative;
    background: transparent;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    color: var(--morado-oscuro);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn:hover {
    transform: translateY(-3px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--morado-principal), #38089d);
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Línea indicadora */
.tab-indicator {
    position: absolute;
    bottom: 0;
    height: 4px;
    width: 0;
    /*background: #38089d;*/
    border-radius: 10px;
    transition: 0.4s ease;
}

/* ===== CONTENIDO ===== */

.tabs-content {
    
    /*background: rgba(255,255,255,0.95);
    backdrop-filter: blur(6px);*/
    display: none;

    background: var(--color-card) !important;
    backdrop-filter: var(--blur-card);
    -webkit-backdrop-filter: var(--blur-card);


    border-radius: 20px;
    padding: 40px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    margin-top: 20px;
}

.tabs-content.mostrar {
    display: block;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}


.btn-eliminar {
    background-color: #dc3545;
    color: #fff;
    border: 1px solid #dc3545;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.2;
    font-weight: 400;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

.btn-eliminar:hover {
    background-color: #bb2d3b;
    border-color: #b02a37;
}

.btn-eliminar:focus {
    outline: none;
}

/* BOTONES HORIZONTALES */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin: auto;
}


/* Scroll bonito */
.btn-row::-webkit-scrollbar {
    height: 6px;
}
.btn-row::-webkit-scrollbar-thumb {
    background: var(--morado-oscuro);
    border-radius: 10px;
}

.loading-global {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.85);
    z-index: 9999;
}


/*  Caja de texto */
.loading-box {
    text-align: center;
    padding: 40px 60px;
    border-radius: 20px;
}


/* contenedor del balon */
.ball-container {
    width: 160px;
    height: 90px;
    margin: 0 auto 15px;
    position: relative;
}


/* balon */
.spinner-global {
    width: 70px;
    height: 70px;

    background-image: url("../img/balon.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;

    margin: 0 auto 10px auto; /* centra horizontal */

    animation: bounceBall 1s ease-in-out infinite;

    box-shadow:
        0 0 20px rgba(111, 66, 193, 0.6),
        0 8px 15px rgba(0,0,0,0.25);
}


/* sombra del balon */
.spinner-global::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 10px;
    background: rgba(0,0,0,0.25);
    border-radius: 50%;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(3px);
}


/* texto */
.loading-box p {
    color: #444;
    font-size: 17px;
    font-weight: 600;
}

/*diseño para pestañas*/
.sub-tabs-menu {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.sub-tab-btn {
    padding: 8px 15px;
    border: none;
    background: #eee;
    cursor: pointer;
    border-radius: 5px;
    background: var(--morado-oscuro);
}

.sub-tab-btn.active {
    background: var(--morado-claro);
    color: #fff;
}

.sub-tab-content {
    display: none;
}

.sub-tab-content.active {
    display: block;
}

.tituloF{
    /*background: #cbcccd; */
    background: var(--color-datospersonales);
    color: var(--morado-oscuro);

    font-weight: 600;
    font-size: 18px;

    

    padding: 12px 18px;

    border-left: 6px solid var(--morado-oscuro);

    border-radius: 10px;

    margin-bottom: 15px;
}

.tituloD{
    /*background: #cbcccd; */
    background: var(--color-datosdeportivos);
    color: var(--morado-oscuro);

    font-weight: 600;
    font-size: 18px;

    

    padding: 12px 18px;

    border-left: 6px solid var(--morado-oscuro);

    border-radius: 10px;

    margin-bottom: 15px;
}


.tituloM{
    /*background: #cbcccd; */
    background: var(--color-datosmedicos);
    color: var(--morado-oscuro);

    font-weight: 600;
    font-size: 18px;

    

    padding: 12px 18px;

    border-left: 6px solid var(--morado-oscuro);

    border-radius: 10px;

    margin-bottom: 15px;
}


.tituloPS{
    /*background: #cbcccd; */
    background: var(--color-datospsicologicos);
    color: var(--morado-oscuro);

    font-weight: 600;
    font-size: 18px;

    

    padding: 12px 18px;

    border-left: 6px solid var(--morado-oscuro);

    border-radius: 10px;

    margin-bottom: 15px;
}



.titulo{
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:relative;
}

.titulo-texto{
    text-align:center;
    flex:1;
}

.usuario-info{
    font-size:13px;
    margin-top:2px;
    color:#ddd;
}

.acciones-header{
    display:flex;
    gap:10px;
}



/*MENU*/
.layout {
    display: flex;
    gap: 0;
}



/* SIDEBAR */
.sidebar {
    width: 275px;
    background: linear-gradient(180deg, var(--morado-oscuro), var(--morado-principal));
    color: white;
    padding: 20px 10px;
    transition: 0.3s;

    height: 100vh;
    overflow-y: auto;
}

/* scroll bonito */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.6);
}


/* colapsado */
.sidebar.collapsed {
    width: 70px;
}

/* LOGO */
.logo-side {
    width: 100%;
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
    position: relative;
}



.logo-side img {
    width: 50px;
}

/* BOTONES */
.side-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.side-btn:hover {
    background: var(--morado-oscuro);
}

.side-btn.active {
    background: white;
    color: #1e0033;
}

/* ocultar texto */
.sidebar.collapsed span {
    display: none;
}

/* CONTENIDO DERECHO */
.main {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    flex: 1;

    background-image: url("../img/fondo.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.contenido-scroll {
    flex: 1;
    overflow-y: auto;

    padding: 25px 30px 80px 30px;
}



.footer-idv {
    
    bottom: 0;
    left: 0;
    width: 100%;
     text-align:center;
    padding:15px 10px;
    font-size:20px;
    color:  var(--color-bg);

    background: linear-gradient(880deg, transparent, rgba(78,0,125,0.05));
}

.is-invalid {
    border: 2px solid red !important;
}


/* BOTON TOGGLE */
.btn-toggle {
    background: var(--morado-oscuro);
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 18px;
    cursor: pointer;
     color: white;
    transition: 0.2s;
}

.btn-toggle:hover {
    background: var(--morado-oscuro);
}
.logo-side {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid white;
}

/*menu y sub menu*/
.menu-group {
    width: 100%;
}

/* submenú oculto */
.submenu {
    display: none;
    flex-direction: column;
    padding-left: 20px;
}

/* cuando se abre */
.submenu.open {
    display: block;
}


/* botones hijos */
.sub-btn {
    background: transparent;
    border: none;
    color: #ccc;
    text-align: left;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
    
}

/* hover bonito */
.sub-btn:hover {
    color: #fff;
    padding-left: 15px;
}

/* flecha */
.flecha {
    margin-left: auto;
    transition: 0.3s;
}

.side-btn.active,
.sub-btn.active {
    background: #ffffff;
    color: #000000;
}


.foto-upload {
    position: relative;
    display: inline-block;
}

.foto-upload img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;

    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);

    transition: 0.3s;
}

.foto-upload img:hover {
    transform: scale(1.05);
}

.btn-subir {
    display: inline-block;
    margin-top: 10px;

    background: linear-gradient(135deg, var(--morado-claro));
    color: #fff;

    padding: 8px 14px;
    border-radius: 20px;

    font-size: 13px;
    cursor: pointer;

    transition: 0.3s;
}

.btn-subir:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--morado-oscuro);
}

/*diseño menu*/
/* BASE GENERAL */
.side-btn,
.sub-btn{
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
    color: #eaeaea;
}


.side-btn {
    font-size: 12.5px;
    font-weight: 600;
}


.sub-btn {
     font-size: 11.5px;
}


.side-btn,
.sub-btn{
    display: flex;
    align-items: center;
    gap: 10px;
}

.side-btn .flecha {
    margin-left: auto;
}

.side-btn i,
.sub-btn i{
    font-size: 16px;
    min-width: 18px;
    text-align: center;
}

.submenu .sub-btn{
    padding-left: 15px;
}

/*separacion del submenu al submenu*/
.submenu.nested .sub-btn {
    padding-left: 5px;
}


.menu-pendiente{

    background: #dc3545 !important;
    color: white !important;

}

.menu-completo{

    background: #198754 !important;
    color: white !important;

}   

#tablaJugadores{
    width: 100%;
}

/* HEADERS */

#tablaJugadores thead th{
    font-size: 12px;
    padding: 10px 8px;
    white-space: nowrap;
}

/* CELDAS */

#tablaJugadores tbody td{
    font-size: 12px;
    padding: 10px 8px;
    vertical-align: middle;
}

/* NOMBRE */

.nombre-jugador{
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    color: #000000;
}

/* BADGES */

#tablaJugadores .badge{
    font-size: 10px;
    padding: 5px 7px;
}

/* OBSERVACION */

#tablaJugadores td:nth-child(7){
    max-width: 160px;
    white-space: normal;
    line-height: 1.3;
}
.form-check-input{
    width: 20px !important;
    height: 20px !important;
    cursor: pointer;
    border: 2px solid #6c757d;
}

.form-check{
    display: flex;
    justify-content: center;
    align-items: center;
}

td .form-check-input{
    margin-top: 0;
}

.form-check-input:checked{
    background-color: #198754;
    border-color: #198754;
}

.form-check-input:disabled{
    opacity: .5;
    cursor: not-allowed;
}



/* animaciones */
@keyframes bounceBall {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}


@keyframes aparecer{
    from{
        opacity:0;
        transform:translateY(15px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
/* RESPONSIVE */
@media (max-width: 900px) {

  .login-card {
    width: 90%;
    height: auto;
    flex-direction: column;
  }

  .login-logo {
    width: 100%;
    padding: 30px 20px;
  }

  .login-logo img {
    width: 100px;
  }

  .login-form {
    width: 100%;
    padding: 35px 30px;
  }

   .sidebar{
        width:70px;
        padding:20px 5px;
    }

    .sidebar span{
        display:none;
    }

    .side-btn{
        justify-content:center;
        gap:0;
    }

    .logo-side img{
        width:40px;
    }

    .main{
        margin-left:0;
    }



}



/* CELULARES */
@media (max-width: 480px) {

  .login-form {
    padding: 30px 20px;
  }

  .login-form h1 {
    font-size: 22px;
  }

  .login-form p {
    font-size: 14px;
  }

  #btnLogin {
    padding: 12px;
    font-size: 15px;
  }
}
.login-form select {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;

  border-radius: 10px;
  border: 1px solid #ccc;

  background: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  color: #555;

  appearance: none;
  cursor: pointer;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23999' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
}

.login-form select:focus {
  outline: none;
  border-color: var(--morado-oscuro);
}

/*SUBMENU CUANDO SIDEBAR ESTA COLAPSADO*/

/* contenedor padre */
.sidebar.collapsed .menu-group{
    position: relative;
}

/* submenu flotante */
.sidebar.collapsed .submenu{

    position: absolute;

    left: 70px; /* sale al costado del icono */

    top: 0;

    min-width: 200px;

    background: linear-gradient(
        180deg,
        var(--morado-oscuro),
        var(--morado-principal)
    );

    border-radius: 12px;

    padding: 10px;

    display: none;

    flex-direction: column;

    z-index: 9999;

    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* mostrar al pasar el mouse */
.sidebar.collapsed .menu-group:hover .submenu{

    display: flex;
}

/* botones hijos */
.sidebar.collapsed .sub-btn{

    white-space: nowrap;

    padding: 10px;

    border-radius: 8px;
}

/* hover */
.sidebar.collapsed .sub-btn:hover{

    background: rgba(255,255,255,0.1);
}

/* flecha oculta cuando esta colapsado */
.sidebar.collapsed .flecha{

    display:none;
}

.sub-btn span{
    transition: opacity 0.3s;
}

/* cuando el sidebar esta cerrado */
.sidebar.collapsed .sub-btn span{
    display:none;
}

/* POWER BI */

.powerbi-container{
    width:100%;
    height:calc(100vh - 70px);
    padding:10px;
}

.powerbi-container iframe{
    width:100%;
    height:100%;
    border:none;
    border-radius:12px;
    background:#fff;
}


.resumen-analitica-custom{
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.25);
    margin-bottom:25px;
}

.resumen-analitica-contenido{
    background:linear-gradient(135deg,var(--morado-principal));
    padding:32px;
}

.resumen-analitica-contenido h3,
.resumen-analitica-contenido p,
.resumen-analitica-contenido strong{
    color:#fff !important;
}

.icono-resumen-analitica{
    font-size:80px;
    opacity:.15;
    color:#fff;
}

/* =========================================
   HERO PREMIUM IDV
========================================= */

.hero-idv{
    position: relative;
    width: 100%;
    height: 72vh;

    min-height: 520px;

    overflow: hidden;
    border-radius: 26px;

    margin-bottom: 25px;

    box-shadow:
    0 20px 60px rgba(0,0,0,.45);
}

/* SLIDES */

.hero-slide{
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    opacity: 0;
    transform: scale(1.06);

    transition:
    opacity 1.2s ease,
    transform 7s ease;

    display: flex;
    align-items: center;
}

.hero-slide.active{
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* OVERLAY */

.hero-overlay{
    position: absolute;
    inset: 0;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.88) 0%,
        rgba(0,15,50,.72) 35%,
        rgba(0,0,0,.30) 100%
    );
}

/* CONTENIDO */

.hero-content{
    position: relative;
    z-index: 5;

    width: 100%;
    max-width: 780px;

    padding-left: 90px;
    padding-right: 40px;

    animation: fadeUp 1s ease;
}

/* TAG */

.hero-tag{
    display: inline-flex;
    align-items: center;

    padding: 10px 20px;

    border-radius: 999px;

    background: rgba(255,255,255,.10);

    border: 1px solid rgba(255,255,255,.12);

    color: #fff;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;

    backdrop-filter: blur(12px);

    margin-bottom: 24px;
}

/* TITULO */

.hero-content h1{
    color: #fff;

    font-size: 68px;
    line-height: 1;

    font-weight: 900;

    margin-bottom: 24px;

    text-shadow:
    0 5px 20px rgba(0,0,0,.5);
}

/* TEXTO */

.hero-content p{
    color: rgba(255,255,255,.82);

    font-size: 19px;
    line-height: 1.8;

    max-width: 650px;

    margin-bottom: 38px;
}

/* BOXES */

.hero-buttons{
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-box{
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px 24px;

    border-radius: 18px;

    background:
    linear-gradient(
        135deg,
        rgba(24,43,110,.65),
        rgba(0,0,0,.35)
    );

    border: 1px solid rgba(255,255,255,.08);

    color: #fff;

    backdrop-filter: blur(16px);

    transition: .35s ease;

    cursor: pointer;
}

.hero-box:hover{
    transform: translateY(-6px);

    background:
    linear-gradient(
        135deg,
        rgba(33,72,180,.85),
        rgba(0,0,0,.45)
    );

    box-shadow:
    0 15px 35px rgba(0,0,0,.35);
}

.hero-box i{
    font-size: 22px;
}

/* DOTS */

.hero-dots{
    position: absolute;

    bottom: 28px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    gap: 10px;

    z-index: 20;
}

.dot{
    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: rgba(255,255,255,.35);

    transition: .3s;
}

.dot.active{
    background: white;
    transform: scale(1.2);
}

.hero-idv{
    transition: all .45s ease;
}

.form-check{
    padding:8px 12px;
    border-radius:8px;
    transition:.2s;
}

.form-check:hover{
    background:#f4f7fb;
}

.form-check-input{
    cursor:pointer;
}

.form-check-label{
    cursor:pointer;
    font-weight:500;
}

.card-categorias{
    background:#fafafa;
}

.titulo-rangos-psicologia {
    background: linear-gradient(135deg, var(--morado-claro));
    color: white !important;
    border-radius: 18px 18px 0 0;
    padding: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-vald {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 7px 14px;

    border: none;
    border-radius: 9px;

    background: linear-gradient(
        135deg,
        var(--morado-principal),
        var(--morado-oscuro)
    );

    color: #fff;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 4px 10px rgba(0,0,0,.15);

    transition: all .25s ease;
}

.btn-vald i {
    font-size: 15px;
}

.btn-vald:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 16px rgba(0,0,0,.22);

    filter: brightness(1.08);
}

.btn-vald:active {
    transform: scale(.96);
}


/* ENCABEZADO DE LAS PRUEBAS */

.card-prueba .titulo-prueba {
    padding: 12px 16px;
    font-weight: 700;
}


/* RESPONSIVE */

@media (max-width: 768px) {

    .btn-vald {
        padding: 6px 10px;
        font-size: 11px;
    }

}

/* 
   MODAL VALD / FORCEDECKS
   DISEÑO EXCLUSIVO
   NO AFECTA OTRAS MODALES
 */

#modalForceDecks .modal-box {

    width: min(1100px, 94vw);
    max-width: 1100px;

    max-height: 88vh;

    padding: 0;

    display: flex;
    flex-direction: column;

    text-align: left;

    background: var(--color-card);

    backdrop-filter: var(--blur-card);
    -webkit-backdrop-filter: var(--blur-card);

    border: 1px solid var(--color-border);

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 20px 50px rgba(0,0,0,.25);
}


/*  HEADER VALD */

#modalForceDecks .modal-header {

    display: flex;
    align-items: center;

    padding: 18px 22px;

    margin: 0;

    border-bottom: 1px solid var(--color-border);

    background:
        linear-gradient(
            135deg,
            var(--morado-oscuro),
            var(--morado-principal)
        );

}


/* ICONO */

#modalForceDecks .modal-header::before {

    content: "\f4e5";

    font-family: "bootstrap-icons";

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 14px;

    border-radius: 12px;

    background: rgba(255,255,255,.15);

    color: white;

    font-size: 21px;

    flex-shrink: 0;
}


/* TITULO */

#modalForceDecks .modal-header h2 {

    margin: 0;

    color: white;

    font-size: 20px;

    font-weight: 700;
}


/* BODY VALD */

#modalForceDecks .modal-body {

    padding: 18px 22px;

    margin: 0;

    overflow-y: auto;

    flex: 1;
}


/* FILTROS */

#modalForceDecks .row.g-3 {

    background: rgba(255,255,255,.45);

    border: 1px solid var(--color-border);

    border-radius: 14px;

    padding: 16px;

    margin: 0 0 18px 0;
}


/* INPUTS */

#modalForceDecks .form-control,
#modalForceDecks .form-select {

    height: 42px;

    border-radius: 9px;

    border: 1px solid var(--color-border);

    background: rgba(255,255,255,.9);

    font-size: 13px;

    transition: .2s;
}


#modalForceDecks .form-control:focus,
#modalForceDecks .form-select:focus {

    border-color: var(--morado-principal);

    box-shadow:
        0 0 0 3px rgba(10,61,145,.12);
}


/*  TABLA */

#modalForceDecks .table-responsive {

    max-height: 390px !important;

    border: 1px solid var(--color-border);

    border-radius: 14px;

    overflow: auto;

    background: rgba(255,255,255,.55);
}


#modalForceDecks table {

    margin-bottom: 0;

    font-size: 13px;
}


/* HEADER TABLA */

#modalForceDecks thead {

    position: sticky;

    top: 0;

    z-index: 5;
}


#modalForceDecks thead th {

    background:
        linear-gradient(
            135deg,
            var(--morado-oscuro),
            var(--morado-principal)
        );

    color: white;

    border: none;

    padding: 11px 13px;

    font-size: 11px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .3px;

    white-space: nowrap;
}


/* CELDAS */

#modalForceDecks tbody td {

    padding: 11px 13px;

    vertical-align: middle;

    border-bottom: 1px solid var(--color-border);

    color: var(--color-text);
}


/* HOVER */

#modalForceDecks tbody tr {

    transition: .18s;
}


#modalForceDecks tbody tr:hover {

    background: rgba(10,61,145,.06);
}


/* FOOTER */

#modalForceDecks .modal-actions {

    padding: 13px 22px;

    margin: 0;

    display: flex;

    justify-content: flex-end;

    border-top: 1px solid var(--color-border);

    background: rgba(255,255,255,.35);
}


/* BOTON CERRAR */

#modalForceDecks .btn-secundario {

    padding: 9px 20px;

    border-radius: 9px;

    border: 1px solid var(--color-border);

    background: #e9ecef;

    color: #333;

    font-size: 13px;

    font-weight: 600;

    transition: .2s;
}


#modalForceDecks .btn-secundario:hover {

    background: var(--morado-principal);

    color: white;

    border-color: var(--morado-principal);
}


/*SPINNER */

#modalForceDecks #spinnerForceDecks {

    min-height: 380px;

    align-items: center;

    justify-content: center;

}


#modalForceDecks #spinnerForceDecks .spinner-border {

    width: 45px;

    height: 45px;

    color: var(--morado-principal) !important;
}


#modalForceDecks #spinnerForceDecks p {

    margin-top: 12px;

    color: var(--color-text);

    font-size: 14px;

    font-weight: 600;
}


/* SCROLL */

#modalForceDecks .modal-body::-webkit-scrollbar,
#modalForceDecks .table-responsive::-webkit-scrollbar {

    width: 7px;
    height: 7px;
}


#modalForceDecks .modal-body::-webkit-scrollbar-thumb,
#modalForceDecks .table-responsive::-webkit-scrollbar-thumb {

    background: var(--morado-principal);

    border-radius: 10px;
}

#modalForceDecks .modal-box {
    transform: translateX(80px);
}

/*estilo para las observaciones*/
/* =========================================================
   CHECK + OBSERVACIÓN
========================================================= */

.estadoCheck{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    min-width: 42px;
    height: 38px;

    padding: 6px 10px;

    border-radius: 10px;

    font-size: 18px;

    transition: all .25s ease;
}


/* APROBADO */

.estadoCheck.check-ok{

    background: rgba(25,135,84,.10);

    color: #198754;

    border: 1px solid rgba(25,135,84,.20);
}


/* NO APROBADO */

.estadoCheck.check-no{

    background: rgba(220,53,69,.10);

    color: #dc3545;

    border: 1px solid rgba(220,53,69,.20);
}


/* HOVER */

.estadoCheck:hover{

    transform: translateY(-2px);

    box-shadow:
        0 5px 12px rgba(0,0,0,.10);
}


/* CONTENEDOR DE LA OBSERVACIÓN */

.observacionRevision{

    display: block;

    width: 100%;
    max-width: 190px;

    margin: 7px auto 0;

    padding: 7px 9px;

    background: rgba(108,117,125,.07);

    border: 1px solid rgba(108,117,125,.15);

    border-radius: 8px;

    color: #5f6368;

    font-size: 11px;

    line-height: 1.4;

    text-align: left;

    white-space: normal;

    overflow-wrap: anywhere;

    word-break: break-word;

}


/* CUANDO NO HAY OBSERVACIÓN */

.observacionRevision:empty{

    display:none;

}


/* CELDA DEL CHECK */

#tablaJugadores td.check-revision{

    min-width: 170px;

    vertical-align: middle;

    text-align: center;

    padding: 10px 8px;
}


/* CONTENEDOR COMPLETO */

.check-contenedor{

    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}

/* =========================================================
   REVISION DE JUGADORES - DISEÑO PRO
   Prefijo exclusivo: preRevisionPro-
   ========================================================= */


/* CONTENEDOR GENERAL */

.preRevisionPro-wrapper {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
}


/* CONTENEDOR SCROLL */

.preRevisionPro-tableScroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}


/* BARRA DE SCROLL */

.preRevisionPro-tableScroll::-webkit-scrollbar {
    height: 8px;
}

.preRevisionPro-tableScroll::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.preRevisionPro-tableScroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 20px;
}

.preRevisionPro-tableScroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* TABLA */

.preRevisionPro-table {
    width: 100%;
    min-width: 1250px;

    border-collapse: separate;
    border-spacing: 0;

    margin: 0;

    background: #ffffff;

    font-size: 14px;
}


/* HEADER */

.preRevisionPro-table thead th {

    background: #111827;

    color: #ffffff;

    padding: 15px 14px;

    border: none;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .3px;

    text-transform: uppercase;

    white-space: nowrap;

    vertical-align: middle;
}


/* PRIMER HEADER */

.preRevisionPro-table thead th:first-child {
    padding-left: 20px;
}


/* CELDAS */

.preRevisionPro-table tbody td {

    padding: 13px 14px;

    border-bottom: 1px solid #eef0f3;

    background: #ffffff;

    vertical-align: middle;

    white-space: nowrap;
}


/* HOVER FILA */

.preRevisionPro-table tbody tr {

    transition:
        background .2s ease,
        transform .2s ease;
}

.preRevisionPro-table tbody tr:hover td {
    background: #f8fafc;
}


/* ÚLTIMA FILA */

.preRevisionPro-table tbody tr:last-child td {
    border-bottom: none;
}


/* JUGADOR */

.preRevisionPro-colJugador {
    min-width: 270px;
}


/* AREAS */

.preRevisionPro-colArea {
    min-width: 180px;
    width: 180px;
    text-align: center;
}


/* =========================================================
   JUGADOR
   ========================================================= */

.preRevisionPro-player {

    display: flex;

    align-items: center;

    gap: 12px;
}


.preRevisionPro-photo {

    width: 46px;
    height: 46px;

    min-width: 46px;

    border-radius: 12px;

    object-fit: cover;

    border: 2px solid #e5e7eb;

    background: #f1f5f9;

    box-shadow:
        0 2px 5px rgba(0, 0, 0, .08);
}


.preRevisionPro-playerInfo {
    display: flex;
    flex-direction: column;
    gap: 3px;
}


.preRevisionPro-playerName {

    font-size: 10px;

    font-weight: 700;

    color: #111827;
}


.preRevisionPro-playerId {

    font-size: 9px;

    color: #94a3b8;

    font-weight: 500;
}


/* =========================================================
   CATEGORIA
   ========================================================= */

.preRevisionPro-category {

    display: inline-flex;

    align-items: center;

    padding: 6px 10px;

    border-radius: 8px;

    background: #f1f5f9;

    color: #475569;

    font-size: 12px;

    font-weight: 600;
}


/* =========================================================
   CHECK DE REVISION
   ========================================================= */

.preRevisionPro-review {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-width: 150px;
}


/* ESTADO */

.preRevisionPro-status {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-width: 105px;

    padding: 7px 12px;

    border-radius: 10px;

    font-size: 12px;

    font-weight: 700;

    line-height: 1;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.preRevisionPro-status:hover {

    transform: translateY(-1px);

}


/* APROBADO */

.preRevisionPro-approved {

    background: #ecfdf3;

    color: #15803d;

    border: 1px solid #bbf7d0;
}


.preRevisionPro-approved i {

    font-size: 15px;

}


/* PENDIENTE */

.preRevisionPro-pending {

    background: #fff1f2;

    color: #dc2626;

    border: 1px solid #fecdd3;
}


.preRevisionPro-pending i {

    font-size: 15px;

}


/* =========================================================
   OBSERVACION
   ========================================================= */

.preRevisionPro-observation {

    width: 100%;

    max-width: 160px;

    padding: 7px 9px;

    border-radius: 8px;

    background: #f8fafc;

    border: 1px solid #e5e7eb;

    color: #64748b;

    font-size: 10px;

    line-height: 1.35;

    text-align: left;

    white-space: normal;

    word-break: break-word;
}


/* ICONO OBSERVACION */

.preRevisionPro-observation::before {

    content: "Observación";

    display: block;

    margin-bottom: 2px;

    color: #475569;

    font-size: 9px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .3px;
}


/* =========================================================
   SIN RESULTADOS
   ========================================================= */

.preRevisionPro-empty {

    padding: 40px !important;

    text-align: center;

    color: #94a3b8;

    background: #ffffff !important;
}


.preRevisionPro-empty i {

    display: block;

    margin-bottom: 10px;

    font-size: 30px;

    color: #cbd5e1;
}

/* =========================================================
   SCROLL HORIZONTAL CON ARRASTRE DEL MOUSE
   ========================================================= */

.preRevisionPro-tableScroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    cursor: grab;

    user-select: none;

    scrollbar-width: thin;
}

/* Mientras se está arrastrando */
.preRevisionPro-tableScroll.preRevisionPro-dragging {
    cursor: grabbing;
}

/* Scrollbar */
.preRevisionPro-tableScroll::-webkit-scrollbar {
    height: 8px;
}

.preRevisionPro-tableScroll::-webkit-scrollbar-track {
    background: #eef1f5;
    border-radius: 20px;
}

.preRevisionPro-tableScroll::-webkit-scrollbar-thumb {
    background: #b9c0ca;
    border-radius: 20px;
}

.preRevisionPro-tableScroll::-webkit-scrollbar-thumb:hover {
    background: #929aa6;
}


/* =========================================
   ESTADOS DE REVISIÓN
========================================= */

.preRevisionPro-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 12px;

    border-radius: 20px;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}


/* APROBADO - VERDE */

.preRevisionPro-approved {
    color: #16803c;
    background: #e8f7ee;
    border: 1px solid #b8e5c8;
}

.preRevisionPro-approved i {
    color: #20a653;
}


/* PENDIENTE - AMARILLO */

.preRevisionPro-pending {
    color: #946200;
    background: #fff7d6;
    border: 1px solid #f1d879;
}

.preRevisionPro-pending i {
    color: #e5ad00;
}


/* NO INCORPORADO - ROJO */

.preRevisionPro-rejected {
    color: #b42318;
    background: #fdecec;
    border: 1px solid #f2b8b5;
}

.preRevisionPro-rejected i {
    color: #dc3545;
}


/* =========================================================
   BOTONES REPORTES - REVISIÓN DE JUGADORES
   ========================================================= */

.btn-reporte-pre,
.btn-reporte-inc,
.btn-reporte-no {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 600;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    cursor: pointer;
    white-space: nowrap;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* PREINCORPORADOS */
.btn-reporte-pre {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}

.btn-reporte-pre:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}


/* INCORPORADOS */
.btn-reporte-inc {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}

.btn-reporte-inc:hover {
    background: #dcfce7;
    border-color: #86efac;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(22, 101, 52, 0.10);
}


/* NO INCORPORADOS */
.btn-reporte-no {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.btn-reporte-no:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(185, 28, 28, 0.10);
}


/* ICONOS */
.btn-reporte-pre i,
.btn-reporte-inc i,
.btn-reporte-no i {
    font-size: 13px;
}


/* CLICK */
.btn-reporte-pre:active,
.btn-reporte-inc:active,
.btn-reporte-no:active {
    transform: translateY(0);
    box-shadow: none;
}


/* RESPONSIVE */
@media (max-width: 768px) {

    .btn-reporte-pre,
    .btn-reporte-inc,
    .btn-reporte-no {
        padding: 6px 9px;
        font-size: 11px;
    }

}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .preRevisionPro-wrapper {
        border-radius: 12px;
    }

    .preRevisionPro-table {
        min-width: 1100px;
    }

    .preRevisionPro-table thead th {
        padding: 12px 10px;
        font-size: 11px;
    }

    .preRevisionPro-table tbody td {
        padding: 10px;
    }

    .preRevisionPro-photo {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

}




/* RESPONSIVE */

@media(max-width:768px){

    #tablaJugadores td.check-revision{

        min-width: 145px;

        padding: 8px 6px;
    }

    .estadoCheck{

        min-width: 38px;

        height: 34px;

        padding: 5px 9px;

        font-size: 16px;
    }

    .observacionRevision{

        max-width: 135px;

        font-size: 10px;

        padding: 6px 7px;
    }

}


/* CELULARES PEQUEÑOS */

@media(max-width:480px){

    #tablaJugadores td.check-revision{

        min-width: 130px;
    }

    .estadoCheck{

        height: 32px;

        font-size: 15px;
    }

    .observacionRevision{

        max-width: 120px;

        font-size: 10px;

        line-height: 1.3;
    }

}

/* RESPONSIVE */
@media (max-width: 768px) {

    #modalForceDecks .modal-box {

        width: 96vw;

        max-height: 92vh;

        border-radius: 14px;
    }

    #modalForceDecks .modal-header {

        padding: 15px;
    }

    #modalForceDecks .modal-header h2 {

        font-size: 17px;
    }

    #modalForceDecks .modal-body {

        padding: 14px;
    }

    #modalForceDecks .modal-actions {

        padding: 11px 14px;
    }

    #modalForceDecks .table-responsive {

        max-height: 350px !important;
    }

}


/* ANIMACION */

@keyframes fadeUp{

    from{
        opacity: 0;
        transform: translateY(35px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }

}

/* RESPONSIVE */

@media(max-width: 900px){

    .hero-content{
        padding: 40px;
    }

    .hero-content h1{
        font-size: 48px;
    }

    .hero-content p{
        font-size: 16px;
    }

}

@media(max-width: 600px){

    .hero-idv{
        height: 82vh;
    }

    .hero-content{
        padding: 30px;
    }

    .hero-content h1{
        font-size: 36px;
    }

    .hero-buttons{
        flex-direction: column;
    }

}