/* BOTÓN */
.btn-info {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 12px;
    min-height:34px;
    font-size:0.8rem;
    font-weight:bold;
    line-height:1;
    text-decoration:none;
    background:var(--dorado);
    color:#000;
    border:1px solid transparent;
    border-radius:5px;
    box-sizing:border-box;
    cursor:pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-info:hover {
    background: #000;
    color: var(--dorado);
    border-color: var(--dorado); /* <- Solo pintamos el borde que ya existía */
}


/* FONDO DEL MODAL */
.modal{
    display: none;
    position: fixed;
    inset: 0; /* top,right,bottom,left = 0 */
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,.75);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* CAJA DEL MODAL */
.modal-contenido{
    width: min(90%, 700px);
    max-height: 85vh;
    overflow-y: auto;
    background: #121212;
    color: white;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid var(--dorado);
    box-shadow: 0 0 25px rgba(0,0,0,0.8); 
}

/* BOTÓN CERRAR */
.cerrar{
    float:right;
    font-size:28px;
    cursor:pointer;
    color:var(--dorado);
}

.modal-contenido button{
    margin-top:15px;
    padding:10px 20px;
    background:var(--dorado);
    border:none;
    border-radius:5px;
    cursor:pointer;
    font-weight:bold;
}

.modal-contenido ol{
    text-align: justify;
    padding-left: 25px;
}

.modal-contenido li{
    margin-bottom: 12px;
    line-height: 1.6;
}

.encabezado_menu{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.btn-info{
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 5px;
}

.cerrar{
    position: absolute;
    top: 10px;
    right: 15px; 

    font-size: 30px;
    font-weight: bold;

    color: #ff3333;

    cursor: pointer;

    transition: 0.3s;
}

.cerrar:hover{
    color: #ff6666;
    transform: scale(1.2);
}

.modal-contenido{
    position: relative;
}