/* Consolidated modal styles for all modals */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 1000; } .modal.show { display: flex; justify-content: center; align-items: center; } .modal-content { background-color: #2a2a2a; padding: 20px; border-radius: 10px; width: 90%; max-width: 500px; position: relative; } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .close-button { font-size: 24px; cursor: pointer; color: #888; background: none; border: none; } .close-button:hover { color: white; } .modal-body { margin-bottom: 20px; } .modal-footer { display: flex; justify-content: flex-end; gap: 10px; } .modal-button { padding: 8px 16px; border: none; border-radius: 5px; cursor: pointer; font-size: 16px; } .modal-button.cancel { background-color: #444; color: white; } .modal-button.confirm { background-color: #e74c3c; color: white; } .modal-button:hover { opacity: 0.9; }