*{
    padding: 0;
    margin: 0;
}

.model{
    opacity: 0;
    pointer-events: none;
}
.model.active{
    opacity: 1;
    pointer-events: auto;
}

.tit{
    text-align: center;
    padding: 10px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: rgb(192, 32, 139);
}
.content-principal{
    background-color: rgb(43, 40, 40);
    width: 500px;
   height: 300px; 
   border-radius: 20px;
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 20px;
   


   

}
.principal{
    display: flex;
   flex-direction: column;
   align-items: center;
   gap: 15px;
    
}
.botones{
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.entrada{
    border: none;
    border-bottom: 2px solid #ffffff;
    width: 250px;
    height: 20px;
}
.entrada:hover{
    transform: scale(1.1);
}
.entrada:focus {
    outline: none;
    border-bottom: 2px solid #007bff;
    transition: 0.3s;
}
.btn{
    transition: all 0.3s ease;
    cursor: pointer;
    height: 35px;
    width: 115px;
    background-color: rgb(182, 63, 103);
    border-radius: 15px;
    border: none;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.borrar{
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    height: 35px;
    width: 115px;
    background-color: rgb(182, 63, 103);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border-radius: 15px;
}
.btn:hover{
    background-color: rgb(179, 37, 120);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgb(207, 5, 180);

    
    

}
.borrar:hover{
    background-color: rgb(179, 37, 120);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgb(207, 5, 180);
    

}
.T{
    background-color: rgb(43, 40, 40);
    height: 100px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    

}
.contador{
   color: #ffffff;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.mover{
    display: flex;
    justify-content: end;
    align-items: flex-start;
    margin: 20px;
    
    
    
}
.c{
    display: flex;
    justify-content: space-around;
    
}

.modoCambio{
    display: flex;
    

}
.h{
    
    
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.g{
    cursor: pointer;
    background-color: #007bff;
     font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    width: 150px;
    height: 40px;
    border-radius: 20px;
    border: none;
    transition: all 0.3s ease;
    
}
.g:hover{
    background-color: blue;
    box-shadow: 0 0 15px rgb(19, 54, 209);
    transform: translateY(-3px);
}
.mdoOne{
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.listas{
    flex-direction: column;
    
    display: flex;
    list-style: none;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    flex-wrap: wrap;
    height: 370px;
    gap: 15px;
}
.orden{
    margin: 30px;
}
.btn-eli{
    border: none;
    
    
}
.listas li {
    display: flex;
    justify-content: space-between; /* espacio ordenado */
    align-items: center;           
    background-color: white;      /* fondo asi tipo tarjeta */
    padding: 10px 15px;
    border-radius: 8px;
    min-width: 200px;              
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);/*sombra de para el fondo */
    cursor: pointer; 
    transition: 0.3s;/*ek color verde cambia mas fluido  */
}
.btn-eli {
    background: #463838;
    color: rgb(8, 8, 8);
    border: none;
    border-radius: 50%; /* boton redondo */
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
  /*  margin-left: 20px; texto separado  solo funciona conn dos obejtos tres rompe la alineacion */
    transition: 0.3s;
}

.btn-eli:hover {
    background: red;
    transform: scale(1.2);
}

.contenedorBtn{
    display: flex;
    gap: 10px;
}
.btn-edit{
    background: #463838;
    color: rgb(8, 8, 8);
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
  /*  margin-left: 20px; texto separado  solo funciona conn dos obejtos tres rompe la alineacion */
    transition: 0.3s;

}
.btn-edit:hover{
    background-color: greenyellow;
    transform: scale(1.2);
}
.model{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
    background-color: rgba(0, 0, 0, 0.4); 
    
    /* EL TRUCO: Difumina lo que está atrás */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    
   
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;




}
.model.active {
    opacity: 1;
    pointer-events: auto;
}
.model-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.model.active .model-content {
    transform: translateY(0);
}


.text-model {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box; /* para que no se vea feo  */
}

.text-model:focus {
    border-color: rgb(192, 32, 139);
}
.btn-modal-save {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    margin-right: 10px;
}

.btn-modal-salir {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
}

.btn-modal-save:hover, .btn-modal-salir:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}
