*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{

    font-family: Arial, Helvetica, sans-serif;

    background: #f5f5f5;

    color: #222;

    padding-top: 120px;
}


/* NAVBAR */

.navbar{

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 110px;

    background: rgba(91, 15, 26, 0.97);

    backdrop-filter: blur(8px);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 1000;

    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.container{

    width: 100%;
    max-width: 1400px;

    margin: auto;

    padding: 0 30px 40px 30px;
}

.nav-left{

    width: 100%;
    max-width: 1400px;

    display: flex;
    align-items: center;

    padding: 0 40px;
}

.logo{
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.nav-links{
    display: flex;
    gap: 35px;

    margin-left: 30px;
}

.nav-links a{
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.nav-links a:hover{
    opacity: 0.7;
}


/* TITULOS */

h1{
    margin-bottom: 30px;
    font-size: 42px;
    color: #5b0f1a;
}

h2{
    margin-top: 40px;
    margin-bottom: 20px;
    color: #5b0f1a;
}


/* INPUTS */

input{
    padding: 12px;
    border-radius: 10px;
    border: none;
    width: 250px;
    margin-right: 10px;
    font-size: 15px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}


/* BOTONES */

button{
    background: #5b0f1a;
    color: white;

    border: none;
    padding: 12px 20px;

    border-radius: 10px;

    cursor: pointer;

    transition: 0.2s;

    font-weight: bold;
}

button:hover{
    background: #7a1625;
}


/* LISTAS */

#lista,
.lista-reportes{
    margin-top: 30px;
}


/* PERSONAS */

.persona{
    background: white;

    padding: 18px 20px;

    border-radius: 12px;

    margin-bottom: 15px;

    cursor: pointer;

    transition: 0.2s;

    box-shadow: 0 3px 10px rgba(0,0,0,0.06);

    font-size: 18px;
}

.persona:hover{
    transform: translateY(-2px);
    background: #fdf2f4;
}


/* SELECCIONADOS */

.asistio{
    background: #8d1c31 !important;
    color: white;
}


/* CONTENEDORES */

.card{

    background: white;

    border-radius: 25px;

    padding: 40px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* ELIMINAR */

.persona-item{

    background: white;

    padding: 18px 20px;

    border-radius: 15px;

    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.persona-nombre{
    font-size: 20px;
}

.btn-eliminar{

    background: #c62828;
}

.btn-eliminar:hover{

    background: #e53935;
}

.btn-descargar{

    display: inline-block;

    margin-top: 20px;

    background: #5b0f1a;

    color: white;

    padding: 12px 20px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.2s;
}

.btn-descargar:hover{

    background: #7a1625;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 900px){

    @media(max-width: 900px){

    .navbar{

        height: auto;

        padding: 15px 20px;
    }

    .nav-left{

        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 15px;

        padding: 0;
    }

    .nav-links{

        width: 100%;

        display: flex;

        justify-content: center;

        align-items: center;

        flex-wrap: wrap;

        gap: 25px;

        margin-left: 0;
    }

    body{

        padding-top: 170px;
    }

    h1{

        font-size: 32px;
    }

    .card{

        padding: 25px;
    }

    input{

        width: 100%;

        margin-bottom: 15px;
    }

    button{

        width: 100%;
    }

    .persona-item{

        flex-direction: column;

        align-items: center;

        justify-content: center;

        text-align: center;

        gap: 20px;
    }

    .btn-eliminar{

        width: 180px;

        margin: auto;
    }   

    .persona-nombre{

        width: 100%;

        text-align: center;
    }

    form{

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 15px;
    }

    form input{

        width: 100%;

        max-width: 500px;
    }


@media(max-width: 600px){

    body{

        padding-top: 170px;
    }

    .container{

        padding: 0 15px 30px 15px;
    }

    h1{

        font-size: 28px;
    }

    h2{

        font-size: 22px;
    }

    .persona,
    .persona-item{

        font-size: 16px;

        padding: 15px;
    }

    .logo{

        width: 50px;
        height: 50px;
    }

    .nav-links a{

        font-size: 15px;
    }}}}