html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* ============================================================
   PAKIS 55
   ============================================================ */

body {
    background: #111;
    color: #f5f5f5;
}


.registro-container {
    max-width: 720px;
    margin: 20px auto;
    padding: 20px;
}


.registro-header {
    text-align: center;
    margin-bottom: 30px;
}


    .registro-header h1 {
        font-size: 3rem;
        font-weight: 900;
    }


    .registro-header h2 {
        font-size: 1.6rem;
    }


.mascara-obligatoria {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}


.seccion-formulario {
    background: #1c1c1c;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 14px;
}


    .seccion-formulario h3 {
        margin-bottom: 20px;
    }


.campo {
    margin-bottom: 18px;
}


    .campo label {
        display: block;
        margin-bottom: 5px;
        font-weight: 600;
    }


.bandos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}


.bando {
    cursor: pointer;
}


    .bando input {
        display: none;
    }


    .bando span {
        display: block;
        text-align: center;
        padding: 18px;
        border: 2px solid #777;
        border-radius: 10px;
        font-size: 1.3rem;
        font-weight: bold;
    }


    .bando input:checked + span {
        border: 4px solid white;
        transform: scale(1.03);
    }


.check-grande {
    margin-bottom: 15px;
    font-size: 1.1rem;
}


.btn-confirmar {
    width: 100%;
    padding: 18px;
    border: 0;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
}


.credencial {
    max-width: 550px;
    margin: 40px auto;
    padding: 30px;
    text-align: center;
    background: #1c1c1c;
    border-radius: 18px;
}


    .credencial h1 {
        margin-bottom: 25px;
    }


    .credencial h2 {
        font-size: 2.4rem;
    }


.nombre-real {
    font-size: 1.2rem;
}


.dato-destacado {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 20px 0;
}


@media (max-width: 600px) {

    .registro-header h1 {
        font-size: 2.2rem;
    }

    .bandos {
        grid-template-columns: 1fr;
    }

    .registro-container {
        padding: 10px;
    }
}
.contador-texto {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #aaa;
    text-align: right;
}

/* ============================================================
   LOGIN ADMINISTRATIVO
   ============================================================ */

.admin-login {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #1c1c1c;
    padding: 35px;
    border-radius: 18px;
}

.login-logo {
    text-align: center;
    font-size: 4rem;
}

.login-card h1 {
    text-align: center;
    font-weight: 900;
}

.login-card h2 {
    text-align: center;
    margin-bottom: 30px;
}


/* ============================================================
   ADMINISTRACIÓN
   ============================================================ */

.admin-container {
    max-width: 1400px;
    margin: auto;
    padding: 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

    .admin-header h1 {
        font-weight: 900;
        margin-bottom: 0;
    }

    .admin-header p {
        color: #aaa;
    }


/* ============================================================
   DASHBOARD
   ============================================================ */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: #1c1c1c;
    border-radius: 15px;
    text-align: center;
    padding: 25px 10px;
}

.dashboard-numero {
    font-size: 3rem;
    font-weight: 900;
}

.dashboard-titulo {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #bbb;
}

.tecnico-card {
    border-bottom: 5px solid #0d6efd;
}

.rudo-card {
    border-bottom: 5px solid #dc3545;
}


/* ============================================================
   TABLA ADMINISTRATIVA
   ============================================================ */

.tabla-admin {
    background: #1c1c1c;
    padding: 15px;
    border-radius: 15px;
}

.dato-secundario {
    color: #999;
    font-size: 0.85rem;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 700px) {

    .admin-header {
        display: block;
    }

        .admin-header form {
            margin-top: 15px;
        }

    .dashboard-numero {
        font-size: 2.3rem;
    }
}

/* ============================================================
   PÁGINA PRINCIPAL - INVITACIÓN
   ============================================================ */

.pagina-invitacion {
    max-width: 650px;
    margin: 0 auto;
    padding: 20px 15px 50px 15px;
}


.portada-titulo {
    text-align: center;
    margin-bottom: 20px;
}


    .portada-titulo h1 {
        margin: 0;
        font-size: 3rem;
        font-weight: 900;
        letter-spacing: 2px;
    }


    .portada-titulo p {
        margin-top: 5px;
        font-size: 1.3rem;
        font-weight: 700;
        color: #ffc107;
        letter-spacing: 3px;
    }


/* ============================================================
   IMAGEN OFICIAL
   ============================================================ */

.invitacion-oficial {
    overflow: hidden;
    border: 3px solid #c91c1c;
    border-radius: 18px;
    background: #000;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.25);
}


.imagen-invitacion {
    display: block;
    width: 100%;
    height: auto;
}


/* ============================================================
   BLOQUE CONFIRMACIÓN
   ============================================================ */

.bloque-confirmacion {
    margin-top: 25px;
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient( 145deg, #181818, #080808 );
    border-radius: 18px;
    border: 1px solid #3a3a3a;
}


    .bloque-confirmacion h2 {
        font-size: 1.7rem;
        font-weight: 900;
        margin-bottom: 10px;
    }


    .bloque-confirmacion p {
        color: #ccc;
        margin-bottom: 25px;
    }


.btn-entrar-arena {
    display: inline-block;
    width: 100%;
    padding: 18px 25px;
    text-decoration: none;
    color: white;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 1px;
    border-radius: 12px;
    background: linear-gradient( 90deg, #8c0000, #e21818, #8c0000 );
    border: 2px solid #ff4040;
    transition: transform 0.2s ease;
}


    .btn-entrar-arena:hover {
        color: white;
        transform: scale(1.02);
    }


.aviso-mascara {
    margin-top: 18px;
    color: #ffc107;
    font-weight: 800;
    letter-spacing: 1px;
}


/* ============================================================
   PÁGINA DEL PASE
   ============================================================ */

.pagina-pase {
    max-width: 760px;
    margin: 0 auto;
    padding: 25px 15px 60px 15px;
}


.pase-mensaje {
    text-align: center;
    margin-bottom: 25px;
}


.pase-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #198754;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}


.pase-mensaje h1 {
    font-weight: 900;
    font-size: 2.2rem;
    margin-bottom: 5px;
}


.pase-mensaje p {
    color: #bbb;
}


/* ============================================================
   BLOQUE QUE SE DESCARGA
   ============================================================ */

.pase-descargable {
    width: 100%;
    background: #000;
    overflow: hidden;
    border-radius: 20px;
    border: 4px solid #b81919;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.25);
}


/* ============================================================
   IMAGEN
   ============================================================ */

.pase-imagen-contenedor {
    background: #000;
}


.pase-imagen {
    display: block;
    width: 100%;
    height: auto;
}


/* ============================================================
   PANEL DE DATOS PERSONALIZADOS
   ============================================================ */

.pase-datos {
    padding: 26px;
    background: linear-gradient( 145deg, #161616, #050505 );
    border-top: 5px solid #c91c1c;
}


/* ============================================================
   ENCABEZADO DEL PASE
   ============================================================ */

.pase-datos-encabezado {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 12px;
    border-bottom: 2px solid #333;
}


.mascara-pase {
    font-size: 3rem;
}


.pase-titulo {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: 2px;
}


.pase-subtitulo {
    color: #ffc107;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 3px;
}


/* ============================================================
   FILAS DEL PASE
   ============================================================ */

.pase-fila {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 15px;
    align-items: center;
    min-height: 55px;
    border-bottom: 1px solid #333;
}


.pase-etiqueta {
    color: #ff3b3b;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 1px;
}


.pase-valor {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    word-break: break-word;
}


/* ============================================================
   BANDOS
   ============================================================ */

.bando-pase {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 7px;
    font-size: 1rem;
    font-weight: 900;
}


.tecnico-pase {
    background: #0d6efd;
    color: white;
}


.rudo-pase {
    background: #c82333;
    color: white;
}


/* ============================================================
   ACCESOS
   ============================================================ */

.pase-accesos {
    color: #ffc107;
    font-size: 1.3rem;
    font-weight: 900;
}


/* ============================================================
   PAREJA
   ============================================================ */

.pase-pareja {
    margin-top: 20px;
    padding: 18px;
    border-radius: 12px;
    background: #111;
    border: 1px solid #444;
}


.pase-pareja-titulo {
    color: #ff3b3b;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 6px;
}


.pase-pareja-nombre {
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
}


.pase-pareja-luchador {
    color: #bbb;
    margin-top: 4px;
}


/* ============================================================
   ACCESO CONFIRMADO
   ============================================================ */

.pase-confirmado {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    padding: 18px;
    border-radius: 12px;
    border: 2px solid #ffc107;
    background: #0a0a0a;
    color: #ffc107;
}


.pase-confirmado-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffc107;
    color: #000;
    font-size: 1.8rem;
    font-weight: 900;
}


.pase-confirmado strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 1px;
}


.pase-confirmado span {
    display: block;
    color: white;
    font-size: 0.85rem;
    margin-top: 2px;
}


/* ============================================================
   BOTONES
   ============================================================ */

.pase-botones {
    margin-top: 25px;
    display: grid;
    gap: 12px;
}


.btn-descargar-pase {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 18px;
    background: linear-gradient( 90deg, #b40808, #e32020, #b40808 );
    color: white;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
}


    .btn-descargar-pase:hover {
        filter: brightness(1.12);
    }


    .btn-descargar-pase:disabled {
        opacity: 0.6;
        cursor: wait;
    }


.btn-volver-inicio {
    display: block;
    text-align: center;
    color: #bbb;
    text-decoration: none;
    padding: 12px;
}


    .btn-volver-inicio:hover {
        color: white;
    }


/* ============================================================
   CELULAR
   ============================================================ */

@media (max-width: 600px) {

    .pagina-invitacion,
    .pagina-pase {
        padding-left: 8px;
        padding-right: 8px;
    }


    .portada-titulo h1 {
        font-size: 2rem;
    }


    .portada-titulo p {
        font-size: 1rem;
    }


    .pase-mensaje h1 {
        font-size: 1.7rem;
    }


    .pase-datos {
        padding: 18px;
    }


    .pase-datos-encabezado {
        gap: 10px;
    }


    .mascara-pase {
        font-size: 2.2rem;
    }


    .pase-titulo {
        font-size: 1.25rem;
    }


    .pase-subtitulo {
        font-size: 0.9rem;
    }


    .pase-fila {
        grid-template-columns: 105px 1fr;
        gap: 8px;
    }


    .pase-etiqueta {
        font-size: 0.75rem;
    }


    .pase-valor {
        font-size: 1rem;
    }


    .pase-confirmado {
        padding: 14px;
    }
}

.pase-qr {
    margin-top: 25px;
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
}

    .pase-qr img {
        width: 180px;
        max-width: 100%;
        height: auto;
    }

    .pase-qr div {
        margin-top: 8px;
        color: black;
        font-weight: 900;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }