.modalOverlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; z-index: 1000; backdrop-filter: blur(5px); } .modalContent { background-color: white; padding: 20px; border-radius: 12px; width: 400px; max-width: 90%; box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2); text-align: center; animation: fadeIn 0.3s ease-out; } .mapImage { width: 100%; height: auto; border-radius: 8px; margin-bottom: 15px; } .title { font-size: 1.5rem; color: #333; margin-bottom: 10px; text-transform: uppercase; } p { margin: 5px 0; font-size: 0.9rem; color: #555; } a { color: #1e90ff; text-decoration: none; font-weight: bold; } a:hover { text-decoration: underline; } .buttonContainer { display: flex; justify-content: space-between; margin-top: 20px; gap: 10px; } button { padding: 10px 15px; font-size: 0.9rem; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s, transform 0.2s; } button:active { transform: scale(0.95); } button:disabled { background-color: #d3d3d3; color: #888; cursor: not-allowed; } .viewButton { background-color: #1e90ff; color: white; } .viewButton:hover { background-color: #155a8a; } button:disabled.viewButton { background-color: #d3d3d3; color: #888; } .editButton { background-color: #ffa500; color: white; } .editButton:hover { background-color: #cc8400; } button:disabled.editButton { background-color: #d3d3d3; color: #888; } .deleteButton { background-color: #ff4c4c; color: white; } .deleteButton:hover { background-color: #cc0000; } .closeButton { margin-top: 20px; padding: 10px 15px; background-color: #f5f5f5; color: #333; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } .closeButton:hover { background-color: #e0e0e0; } @keyframes fadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } } .editPopupOverlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; z-index: 1100; backdrop-filter: blur(5px); } .editPopupContent { background-color: white; padding: 20px; border-radius: 12px; width: 400px; max-width: 90%; box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2); text-align: center; animation: fadeIn 0.3s ease-out; } .editField { margin: 15px 0; text-align: left; } .editField label { display: block; margin-bottom: 5px; font-size: 0.9rem; color: #555; } .editField input { width: 100%; padding: 10px; font-size: 0.9rem; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box; } .editPopupButtons { display: flex; justify-content: space-between; margin-top: 20px; gap: 10px; } .submitButton { background-color: #4caf50; color: white; padding: 10px 15px; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } .submitButton:hover { background-color: #45a049; } .cancelButton { background-color: #f44336; color: white; padding: 10px 15px; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } .cancelButton:hover { background-color: #d32f2f; } .editIcon { width: 20px; height: 20px; margin-left: 10px; cursor: pointer; transition: transform 0.2s ease; } .editIcon:hover { transform: scale(1.1); }