.modal { 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; z-index: 9999; } .modal-content { background-color: white; padding: 20px; border-radius: 4px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); max-width: 400px; width: 100%; text-align: center; position: relative; } .success-icon { font-size: 80px; color: #006400; margin-right: 1em; } .modal-content p { margin-bottom: 20px; } .modal-content button { background-color: #2196f3; color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; } .modal-content button:hover { background-color: #0c7cd5; }