/* modal.css */ .box { width: 300px; height: 300px; display: flex; flex-wrap: wrap; margin: auto; background: black; border-radius: 30px; cursor: pointer; } #input-1, #input-2, #input-3 { width: 100%; margin: 0; } #input-1{ border-radius: 10px; border: none; background: #F1F3F4; height: 30px; } #input-1:focus { outline: none; border: 1px solid #9c9c9c; } .background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; } .background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; z-index: 999; } .background.show { opacity: 1; } .modal { display: flex; flex-wrap: wrap; width: 300px; height: 300px; background: white; padding: 30px; border-radius: 25px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); position: relative; transform: translateY(-30px); transition: transform 0.3s ease; border: 2px solid; } .modal.show { transform: translateY(0); } .closeButton { position: absolute; bottom: 10px; right: 10px; padding: 10px; border-radius: 10px; border: none; cursor: pointer; } .context-menu { position: absolute; background-color: #ecf0f1; border: 1px solid #bdc3c7; border-radius: 3px; box-shadow: 2px 2px 5px rgba(0,0,0,0.2); z-index: 1000; width: 150px; display: none; /* Oculto por defecto */ } .context-menu.show { display: block; } .context-menu-item { padding: 10px; cursor: pointer; } .context-menu-item:hover { background-color: #bdc3c7; }