body{

    margin:0;

    background:#0B1220;

    color:white;

    font-family:Arial,Helvetica,sans-serif;

}

.layout{

    display:flex;

    min-height:100vh;

}

.dashboard{

    width:70%;

    padding:40px;

}

.details{

    width:30%;

    background:#111827;

    border-left:2px solid #D4AF37;

    padding:30px;

}

.header{

    text-align:center;

    margin-bottom:40px;

}

.header h1{

    color:#D4AF37;

    margin:0;

}

.header p{

    color:#d7c38b;

}

.section{

    margin-bottom:45px;

    border-bottom:1px solid #2c3d63;

    padding-bottom:35px;

}

.section h2{

    color:#D4AF37;

}

.metrics{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.metric-card{

    width:140px;

    border:1px solid #D4AF37;

    border-radius:12px;

    text-align:center;

    padding:18px;

    cursor:pointer;

    transition:.25s;

}

.metric-card:hover{

    transform:translateY(-4px);

    background:#172238;

    box-shadow:0 0 20px rgba(212,175,55,.25);

}

.number{

    font-size:42px;

    color:#D4AF37;

    font-weight:bold;

}

.label{

    margin-top:10px;

    color:white;

}


/* ===========================
   BUSCADOR
=========================== */

.search-container{
    margin:15px 0;
}

#searchInput{
    width:100%;
    padding:12px 14px;
    border-radius:10px;
    border:1px solid #3a3a3a;
    background:#1e1e1e;
    color:#fff;
    font-size:15px;
    outline:none;
    transition:.2s;
    box-sizing:border-box;
}

#searchInput::placeholder{
    color:#999;
}

#searchInput:focus{
    border-color:#d4af37;
    box-shadow:0 0 8px rgba(212,175,55,.35);
}
/* =========================
   CONTROL DE ACCESO - MESAS
========================= */

.mesas-acceso {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.mesa-button {
    width: 125px;
    min-height: 105px;

    background: transparent;
    border: 1px solid #d4af37;
    border-radius: 10px;

    color: white;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 12px;
    transition: 0.2s;
}

.mesa-button strong {
    color: #f1c40f;
    font-size: 22px;
    margin-bottom: 10px;
}

.mesa-button span {
    display: block;
    font-size: 11px;
    line-height: 1.5;
}

.mesa-button:hover {
    transform: translateY(-2px);
    border-color: #f1c40f;
}
/* NOMBRE DE FAMILIA / INVITACIÓN */

.access-family-title {
    margin-top: 18px;
    margin-bottom: 7px;
}

.access-family-title strong {
    color: #f1c40f;
    font-size: 15px;
    font-weight: 800;
}

.access-family:first-child .access-family-title {
    margin-top: 8px;
}

/* NOMBRES INDIVIDUALES */

.access-person {
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    padding: 3px 0 3px 10px;
}
/* =========================
   CONTROL DE ACCESO - DETALLE
========================= */

.access-family {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2c3d63;
}

.access-family-title {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #f1c40f;
    font-size: 15px;
    font-weight: 800;

    margin-bottom: 10px;
}

.access-family-title input {
    transform: scale(1.15);
}

.access-family-members {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.access-person {
    display: flex;
    align-items: center;
    gap: 8px;

    padding-left: 18px;

    font-size: 14px;
    color: white;
}

.access-person input {
    transform: scale(1.15);
}

.access-arrived {
    display: inline-block;
    margin-left: 6px;

    color: #d4af37;
    font-size: 12px;
    font-weight: 700;
}

.access-infantil {
    display: inline-block;
    margin-left: 6px;

    color: #d4af37;
    font-size: 11px;
    font-weight: 700;
}

.confirm-access-button {
    width: 100%;

    margin-top: 20px;
    padding: 13px 16px;

    border: 1px solid #d4af37;
    border-radius: 10px;

    background: #d4af37;
    color: #0B1220;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.confirm-access-button:hover {
    opacity: .9;
}
.access-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;

    margin-bottom: 24px;
}

.access-summary div {
    text-align: center;

    border: 1px solid #d4af37;
    border-radius: 8px;

    padding: 10px 5px;
}

.access-summary strong {
    display: block;

    color: #d4af37;
    font-size: 20px;
}

.access-summary span {
    display: block;

    margin-top: 4px;

    color: white;
    font-size: 10px;
}
/* =========================
   RESPONSIVE - CELULAR
========================= */

@media (max-width: 768px) {

    .layout {
        display: block;
        min-height: auto;
    }

    .dashboard {
        width: 100%;
        padding: 20px 14px;
    }

    .details {
        width: 100%;
        border-left: none;
        border-top: 2px solid #D4AF37;
        padding: 22px 16px;
    }

    .metrics {
        gap: 12px;
    }

    .metric-card {
        width: calc(50% - 6px);
        box-sizing: border-box;
    }

    .mesas-acceso {
        gap: 12px;
    }

    .mesa-button {
        width: calc(50% - 6px);
        min-height: 95px;
    }

    .access-summary {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .access-person {
        padding-left: 12px;
        font-size: 15px;
    }

    .access-arrived {
        display: block;
        margin-left: 0;
        margin-top: 3px;
    }

    .confirm-access-button {
        width: 100%;
    }

}
.logout-button {
    margin-top: 8px;
    padding: 6px 12px;

    background: transparent;
    color: #d4af37;

    border: 1px solid #d4af37;
    border-radius: 6px;

    font-size: 11px;
    cursor: pointer;
}

.logout-button:hover {
    background: #d4af37;
    color: #0b1220;
}
/* =========================
   BOTÓN LISTA DE ACCESO
========================= */

.print-access-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0 0 18px 0;
    padding: 10px 16px;

    background: transparent;
    color: #d4af37;

    border: 1px solid #d4af37;
    border-radius: 8px;

    text-decoration: none;

    font-size: 13px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.2s;
}

.print-access-button:hover {
    background: #d4af37;
    color: #0b1220;
}
