.modalOverlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; animation: fadeIn 0.3s ease-out; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .modalContent { background: white; padding: 30px; border-radius: 12px; width: 450px; max-width: 90%; box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease; animation: scaleUp 0.3s ease-out; } @keyframes scaleUp { from { transform: scale(0.9); } to { transform: scale(1); } } h2 { font-size: 1.75rem; margin-bottom: 20px; color: #333; } ul { padding-left: 0; list-style: none; margin-bottom: 20px; } li { margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; } li button { background-color: #ff4d4d; color: white; border: none; padding: 8px 12px; border-radius: 8px; cursor: pointer; transition: background-color 0.3s ease; } li button:hover { background-color: #cc0000; } .modalActions { display: flex; justify-content: center; } .modalActions button { padding: 10px 20px; font-size: 1rem; border: none; border-radius: 8px; cursor: pointer; transition: background-color 0.3s ease; } .modalActions button:hover { background-color: #f5f5f5; }