.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.182); display: flex; justify-content: center; align-items: center; } .modal-contenido { background: #343d46; width: 200px; height: 100px; padding: 20px; border-radius: 10px; text-align: center; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } modal-contenido p{ color: black; } .btn-modal { padding: 10px 20px; background: #1c1b2b; color: white; border: none; cursor: pointer; border-radius: 5px; } .btn-modal:hover { background: #0056b3; }